messages.VotesList#
- class pyrogram.raw.types.messages.VotesList#
How users voted in a poll.
Constructor of
VotesList.- Details:
Layer:
158ID:
823F649
- Parameters:
count (
int32-bit) – Total number of votes for all options (or only for the chosen option, if provided to messages.getPollVotes).votes (List of
MessageUserVote) – Vote info for each user.users (List of
User) – Info about users that voted in the poll.next_offset (
str, optional) – Offset to use with the next messages.getPollVotes request, empty string if no more results are available.
- Functions:
This object can be returned by 1 function.
Get poll results for non-anonymous polls.