Class TdApi.InternalLinkTypeAuthenticationCode

Enclosing class:
TdApi

public static class TdApi.InternalLinkTypeAuthenticationCode extends TdApi.InternalLinkType
The link contains an authentication code. Call checkAuthenticationCode with the code if the current authorization state is authorizationStateWaitCode.
  • Field Details

    • code

      public String code
      The authentication code.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • InternalLinkTypeAuthenticationCode

      public InternalLinkTypeAuthenticationCode()
      The link contains an authentication code. Call checkAuthenticationCode with the code if the current authorization state is authorizationStateWaitCode.
    • InternalLinkTypeAuthenticationCode

      public InternalLinkTypeAuthenticationCode(String code)
      The link contains an authentication code. Call checkAuthenticationCode with the code if the current authorization state is authorizationStateWaitCode.
      Parameters:
      code - The authentication code.
  • 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