VotesList

class pyrogram.raw.types.messages.VotesList

How users voted in a poll.

Constructor type of VotesList.

Details
  • Layer: 126

  • ID: 0x823f649

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

Methods

This object can be returned by 1 method:

messages.GetPollVotes

Get poll results for non-anonymous polls.