TDLib v0.0.2 TDLib.Method.LogOut View Source

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. Returns object_ptr.

More details on telegram’s documentation.