Function log_out

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

Closes the TDLib instance after a proper logout. Requires an available network connection. All local data will be destroyed. After the logout completes, updateAuthorizationState with authorizationStateClosed will be sent

ยงArguments

  • client_id - The client id to send the request to