PollAnswerVoters#

class pyrogram.raw.types.PollAnswerVoters[source]#

A poll answer, and how users voted on it

Constructor of PollAnswerVoters.

Details:
  • Layer: 224

  • ID: 3645230A

Parameters:
  • option (bytes) – The param that has to be passed to messages.sendVote.

  • chosen (bool, optional) – Whether we have chosen this answer

  • correct (bool, optional) – For quizzes, whether the option we have chosen is correct

  • voters (int 32-bit, optional) – How many users voted for this option

  • recent_voters (List of Peer, optional) – N/A