Interface SetDirectMessagesChatTopicDraftMessage

Changes the draft message in the topic in a channel direct messages chat administered by the current user. Request type for Tdjson#setDirectMessagesChatTopicDraftMessage.

interface SetDirectMessagesChatTopicDraftMessage {
    @type: "setDirectMessagesChatTopicDraftMessage";
    chat_id: number;
    draft_message: DraftMessage;
    topic_id: number;
}

Properties

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

topic_id: number

Topic identifier.