Module tdlight.api

Class TdApi.CheckAuthenticationCode

Enclosing class:
TdApi

public static final class TdApi.CheckAuthenticationCode extends TdApi.Function<TdApi.Ok>
Checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode. Returns Ok
  • Field Details

    • code

      public String code
      Authentication code to check.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • CheckAuthenticationCode

      public CheckAuthenticationCode()
      Checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode. Returns Ok
    • CheckAuthenticationCode

      public CheckAuthenticationCode(String code)
      Checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode. Returns Ok
      Parameters:
      code - String Authentication code to check.
    • CheckAuthenticationCode

      public CheckAuthenticationCode(DataInput input) throws IOException
      Checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode. Returns Ok
      Throws:
      IOException
  • Method Details