Interface SetChatDraftMessage

Changes the draft message in a chat. Request type for Tdjson#setChatDraftMessage.

interface SetChatDraftMessage {
    @type: "setChatDraftMessage";
    chat_id: number;
    draft_message: DraftMessage;
    message_thread_id: number;
}

Properties

@type: "setChatDraftMessage"
chat_id: number

Chat identifier.

draft_message: DraftMessage

New draft message; pass null to remove the draft. All files in draft message content must be of the type inputFileLocal. Media thumbnails and captions are ignored.

message_thread_id: number

If not 0, the message thread identifier in which the draft was changed.