Class TdApi.Close

Enclosing class:
TdApi

public static class TdApi.Close extends TdApi.Function<TdApi.Ok>
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 Ok

  • Field Details

  • Constructor Details

    • Close

      public Close()
      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 Ok

    • Close

      public Close(DataInput input) throws IOException
      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 Ok

      Throws:
      IOException
  • Method Details