Interface InputPollOption

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

interface InputPollOption {
    text: string;
    textEntities?: MessageEntity[];
    textParseMode?: string;
}

Properties

text: string

Option text, 1-100 characters

textEntities?: MessageEntity[]

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

textParseMode?: string

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