messages.VotesList

class pyrogram.raw.types.messages.VotesList

How users voted in a poll

Constructor of VotesList.

Details:
  • Layer: 194

  • ID: 4899484E

Parameters:
  • count (int 32-bit) – Total number of votes for all options (or only for the chosen option, if provided to messages.getPollVotes)

  • votes (List of MessagePeerVote) – Vote info for each user

  • chats (List of Chat) – Mentioned chats

  • 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.

messages.GetPollVotes

Get poll results for non-anonymous polls