View Source ExTDLib.Method.Close (ExTDLib v0.0.4)
Closes the TDLib instance. All databases will be flushed to disk and properly closed. After the close completes, updateAuthorizationState with authorizationStateClosed will be sent. Can be called before initialization. Returns object_ptr<Ok>.
More details on telegram's documentation.