set_chat_draft_message


Description:

public async Ok set_chat_draft_message (int64 chat_id, int64 message_thread_id, DraftMessage draft_message) throws TDLibError

Changes the draft message in a chat

Parameters:

chat_id

Chat identifier

message_thread_id

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

draft_message

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