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, optional) – Number of users that voted for this option. Equals to 0 until you vote.

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

  • entities (List of MessageEntity, optional) – Special entities like usernames, URLs, bot commands, etc. that appear in the option text.