Module tdlight.api

Class TdApi.LogOut

Enclosing class:
TdApi

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

Returns Ok

  • Field Details

  • Constructor Details

    • LogOut

      public LogOut()
      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.

      Returns Ok

    • LogOut

      public LogOut(DataInput input) throws IOException
      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.

      Returns Ok

      Throws:
      IOException
  • Method Details