InputPollOption#

class pyrogram.types.InputPollOption#

This object contains information about one answer option in a poll to send.

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

  • text_parse_mode (ParseMode, optional) – By default, texts are parsed using both Markdown and HTML styles. You can combine both syntaxes together. Currently, only custom emoji entities are allowed.

  • text_entities (List of MessageEntity, optional) – List of special entities that appear in the poll option text, which can be specified instead of text_parse_mode.