Function set_chat_draft_message

Source
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 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
  • client_id - The client id to send the request to