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

    Interface SendRichMessageDraftOptions

    Parameters for the sendRichMessageDraft method (Bot API 10.1+).

    interface SendRichMessageDraftOptions {
        can_stop?: boolean;
        chat_id: string | number;
        draft_id: number;
        keep_on_stop?: boolean;
        message_thread_id?: number;
        rich_message: InputRichMessage;
    }
    Index
    can_stop?: boolean

    Pass True to show a stop generation button in the chat (Bot API 10.3+).

    chat_id: string | number

    Unique identifier for the target chat.

    draft_id: number

    Unique identifier of the draft; 1-1000000000.

    keep_on_stop?: boolean

    Pass True to keep the draft message in the chat after stop generation is pressed (Bot API 10.3+).

    message_thread_id?: number

    Unique identifier for the target message thread (topic) of the forum; for forum supergroups only.

    rich_message: InputRichMessage

    Rich message content of the draft.