pub async fn set_chat_draft_message(
chat_id: i64,
message_thread_id: i64,
draft_message: Option<DraftMessage>,
client_id: i32,
) -> Result<(), Error>Expand description
Changes the draft message in a chat
ยงArguments
chat_id- Chat identifiermessage_thread_id- If not 0, the message thread identifier in which the draft was changeddraft_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 ignoredclient_id- The client id to send the request to