GetPollVotes

class pyrogram.raw.functions.messages.GetPollVotes

Get poll results for non-anonymous polls.

Details:
  • Layer: 136

  • ID: 0xb86e380e

Parameters
  • peer (InputPeer) – Chat where the poll was sent.

  • id (int 32-bit) – Message ID.

  • limit (int 32-bit) – Number of results to return.

  • option (bytes, optional) – Get only results for the specified poll option.

  • offset (str, optional) – Offset for results, taken from the next_offset field of messages.votesList, initially an empty string. 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.

Returns

messages.VotesList