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 after entity parsing.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 to be added and only by Upgraded bots OR Premium users.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.