PollOption#

class pyrogram.types.PollOption#

Contains information about one answer option in a poll.

Parameters:
  • text (str) – Option text, 1-100 characters.

  • voter_count (int) – Number of users that voted for this option. Equals to 0 until you vote.

  • data (bytes) – The data this poll option is holding.