Function close_chat

Source
pub async fn close_chat(chat_id: i64, client_id: i32) -> Result<(), Error>
Expand description

Informs TDLib that the chat is closed by the user. Many useful activities depend on the chat being opened or closed

ยงArguments

  • chat_id - Chat identifier
  • client_id - The client id to send the request to