Interface UpdateChatDraftMessage

A chat draft has changed. Be aware that the update may come in the currently opened chat but with old content of the draft. If the user has changed the content of the draft, this update mustn't be applied. Subtype of Update.

interface UpdateChatDraftMessage {
    @type: "updateChatDraftMessage";
    chat_id: number;
    draft_message: DraftMessage;
    positions: ChatPosition[];
}

Properties

@type: "updateChatDraftMessage"
chat_id: number

Chat identifier.

draft_message: DraftMessage

The new draft message; may be null if none.

positions: ChatPosition[]

The new chat positions in the chat lists.