telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface InputPollOption

    Contains information about one answer option in a poll to be sent.

    interface InputPollOption {
        media?: InputMedia;
        text: string;
        text_entities?: MessageEntity[];
        text_parse_mode?: ParseMode;
    }
    Index
    media?: InputMedia

    Media that is shown together with the option.

    text: string

    Option text, 1-100 characters.

    text_entities?: MessageEntity[]

    A list of special entities that appear in the option text.

    text_parse_mode?: ParseMode

    Mode for parsing entities in the text; currently, only custom emoji entities are supported.