PollOption#

class pyrogram.types.PollOption#

Contains information about one answer option in a poll.

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

  • text_entities (List of MessageEntity, optional) – Special entities that appear in the option text. Currently, only custom emoji entities are allowed in poll option texts.

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