class pyrogram.raw.types.PollAnswerVoters#

A poll answer, and how users voted on it.

Constructor of PollAnswerVoters.

  • Layer: 158

  • ID: 3B6DDAD2

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

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

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

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