Class TdApi.LogOut

Enclosing class:
TdApi

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