TDLib v0.0.2 TDLib.Method.Close View Source

Closes the TDLib instance. All databases will be flushed to disk and properly closed. After the close completes, updateAuthorizationState with authorizationStateClosed will be sent. Returns object_ptr.

More details on telegram’s documentation.