Class TdApi.CheckAuthenticationCode

Enclosing class:
TdApi

public static 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
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • CheckAuthenticationCode

      public CheckAuthenticationCode()
      Default constructor for a function, which checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode.

      Returns Ok

    • CheckAuthenticationCode

      public CheckAuthenticationCode(String code)
      Creates a function, which checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode.

      Returns Ok

      Parameters:
      code - Authentication code to check.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR