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

    Interface SendMessageDraftOptions

    interface SendMessageDraftOptions {
        can_stop?: boolean;
        chat_id: string | number;
        draft_id: number;
        entities?: MessageEntity[];
        keep_on_stop?: boolean;
        message_thread_id?: number;
        parse_mode?: string;
        text?: string;
    }
    Index
    can_stop?: boolean

    Pass True to show the user a button to stop further drafts (Bot API 10.3+).

    chat_id: string | number

    Unique identifier for the target private chat.

    draft_id: number

    Unique identifier of the message draft; must be non-zero.

    entities?: MessageEntity[]

    A list of special entities that appear in message text.

    keep_on_stop?: boolean

    Pass True to keep the draft in the chat when the button is pressed (Bot API 10.3+).

    message_thread_id?: number

    Unique identifier for the target message thread.

    parse_mode?: string

    Mode for parsing entities in the message text.

    text?: string

    Text of the message to be sent, 0-4096 characters. Pass an empty text to show a 'Thinking...' placeholder.