Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.
Sahri Riza Umami edited this page Jun 6, 2018 · 2 revisions

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.

logOut()

Example

  • Closes the TDLib instance after a proper logout.

    logOut()

    Response:

    {
      ["@type"] = "ok"
    }

Frequently Asked Questions
The Functions

Clone this wiki locally