Skip to content

destroy

Sahri Riza Umami edited this page Jun 6, 2018 · 1 revision

Closes the TDLib instance, destroying all local data without a proper logout.
The current user session will remain in the list of all active sessions.
All local data will be destroyed.
After the destruction completes updateAuthorizationState with authorizationStateClosed will be sent.

destroy()

Example

  • Closes the TDLib instance, destroying all local data without a proper logout.

    destroy()

    Response:

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

Frequently Asked Questions
The Functions

Clone this wiki locally