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

    Interface EditMessageTextOptions

    Options for Bot.editMessageText.

    text and rich_message are mutually exclusive: exactly one of them must be supplied. Provide either chat_id+message_id or inline_message_id.

    interface EditMessageTextOptions {
        business_connection_id?: string;
        chat_id?: string | number;
        entities?: MessageEntity[];
        inline_message_id?: string;
        link_preview_options?: LinkPreviewOptions;
        message_id?: number;
        parse_mode?: ParseMode;
        reply_markup?: InlineKeyboardMarkup;
        rich_message?: InputRichMessage;
        text?: string;
    }
    Index
    business_connection_id?: string

    Unique identifier of the business connection on behalf of which the message to be edited was sent.

    chat_id?: string | number

    Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel.

    entities?: MessageEntity[]

    A list of special entities that appear in message text.

    inline_message_id?: string

    Required if chat_id and message_id are not specified. Identifier of the inline message.

    link_preview_options?: LinkPreviewOptions

    Link preview generation options for the message.

    message_id?: number

    Required if inline_message_id is not specified. Identifier of the message to edit.

    parse_mode?: ParseMode

    Mode for parsing entities in the message text.

    reply_markup?: InlineKeyboardMarkup

    A JSON-serialized object for an inline keyboard.

    rich_message?: InputRichMessage

    New rich content of the message; required if text isn't specified (Bot API 10.1+).

    text?: string

    New text of the message, 1-4096 characters after entities parsing. Required if rich_message isn't specified.