Interface SendRichMessageDraft

Sends a draft for a being generated rich message; for bots only. Request type for Tdjson#sendRichMessageDraft.

interface SendRichMessageDraft {
    @type: "sendRichMessageDraft";
    can_stop?: boolean;
    chat_id: number;
    draft_id: string;
    forum_topic_id: number;
    keep_on_stop?: boolean;
    message: InputRichMessage;
}

Properties

@type: "sendRichMessageDraft"
can_stop?: boolean

Pass true to show the user a button to stop further drafts.

chat_id: number

Chat identifier.

draft_id: string

Unique identifier of the draft.

forum_topic_id: number

The forum topic identifier in which the message will be sent; pass 0 if none.

keep_on_stop?: boolean

Pass true to keep the current draft when the user stops further generation.

Draft of the message; file upload isn't supported.