messages.getUnreadPollVotes #

Get messages containing polls with unread votes »

Layer 223

Method schema is available as of layer 224. Switch »

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
peerInputPeerThe chat to fetch unread poll votes from
top_msg_idflags.0?intIf the chat is a forum, restrict results to this topic
offset_idintOffsets for pagination, for more info click here
add_offsetintOffsets for pagination, for more info click here
limitintMaximum number of results to return, see pagination
max_idintOnly return messages with IDs less than or equal to this value
min_idintOnly return messages with IDs greater than or equal to this value

Result #

messages.Messages

Only users can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.

Pagination in the API #

How to fetch results from large lists of objects.

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.