Interface SendTextMessageDraft

Sends a draft for a being generated text message; for bots only. Request type for Tdjson#sendTextMessageDraft.

interface SendTextMessageDraft {
    @type: "sendTextMessageDraft";
    chat_id: number;
    draft_id: string;
    forum_topic_id: number;
    text: FormattedText;
}

Properties

@type: "sendTextMessageDraft"
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.

Draft text of the message.