Class TdApi.CheckAuthenticationEmailCode

Enclosing class:
TdApi

public static class TdApi.CheckAuthenticationEmailCode extends TdApi.Function<TdApi.Ok>
Checks the authentication of an email address. Works only when the current authorization state is authorizationStateWaitEmailCode.

Returns Ok

  • Field Details

  • Constructor Details

    • CheckAuthenticationEmailCode

      public CheckAuthenticationEmailCode()
      Default constructor for a function, which checks the authentication of an email address. Works only when the current authorization state is authorizationStateWaitEmailCode.

      Returns Ok

    • CheckAuthenticationEmailCode

      public CheckAuthenticationEmailCode(TdApi.EmailAddressAuthentication code)
      Creates a function, which checks the authentication of an email address. Works only when the current authorization state is authorizationStateWaitEmailCode.

      Returns Ok

      Parameters:
      code - Email address authentication 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