Get messages containing polls with unread votes »
Method schema is available as of layer 224. Switch »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| peer | InputPeer | The chat to fetch unread poll votes from |
| top_msg_id | flags.0?int | If the chat is a forum, restrict results to this topic |
| offset_id | int | Offsets for pagination, for more info click here |
| add_offset | int | Offsets for pagination, for more info click here |
| limit | int | Maximum number of results to return, see pagination |
| max_id | int | Only return messages with IDs less than or equal to this value |
| min_id | int | Only return messages with IDs greater than or equal to this value |
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
How to fetch results from large lists of objects.
Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.