telegramx.js

InputPollOption

interface

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

Declaration

interface InputPollOption 

Properties

mediaproperty#

Optional. Media added to the poll option

text_entities?: MessageEntity[];

Optional. A JSON-serialized list of special entities that appear in the poll option text. It can be specified instead of text_parse_mode.

text_parse_mode?: string;

Optional. Mode for parsing entities in the text. See formatting options for more details. Currently, only custom emoji entities are allowed.

textproperty#
text: string;

Option text, 1-100 characters