messages.readPollVotes #
Mark all unread poll votes » in a chat as read¶
Layer 223
Method schema is available as of layer 224. Switch » Parameters #
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| peer | InputPeer | The chat to mark poll votes as read in |
| top_msg_id | flags.0?int | If the chat is a forum, restrict to this topic |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Related pages #
Polls and quizzes #
Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.¶