Function open_chat

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

Informs TDLib that the chat is opened by the user. Many useful activities depend on the chat being opened or closed (e.g., in supergroups and channels all updates are received only for opened chats)

ยงArguments

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