messages.getPollVotes
Get poll results for non-anonymous polls
Example
TL schema
Parameters
Name
Type
Description
flags
peer
Chat where the poll was sent
id
Message ID
option
Get only results for the specified poll option
offset
Note: if no more results are available, the method call will return an empty next_offset; thus, avoid providing the next_offset returned in messages.votesList if it is empty, to avoid an infinite loop.| |limit|int|Number of results to return|
Result
Possible errors
Code
Type
Description
403
BROADCAST_FORBIDDEN
400
MSG_ID_INVALID
Invalid message ID provided
403
POLL_VOTE_REQUIRED
Cast a vote in the poll before calling this method
Can bots use this methd ?
yes
Related pages
How users voted in a poll
Last updated