Class TdApi.ResendPhoneNumberCode

Enclosing class:
TdApi

public static class TdApi.ResendPhoneNumberCode extends TdApi.Function<TdApi.AuthenticationCodeInfo>
Resends the authentication code sent to a phone number. Works only if the previously received authenticationCodeInfo nextCodeType was not null and the server-specified timeout has passed.

Returns AuthenticationCodeInfo

  • Field Details

    • reason

      public TdApi.ResendCodeReason reason
      Reason of code resending; pass null if unknown.
    • CONSTRUCTOR

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

    • ResendPhoneNumberCode

      public ResendPhoneNumberCode()
      Default constructor for a function, which resends the authentication code sent to a phone number. Works only if the previously received authenticationCodeInfo nextCodeType was not null and the server-specified timeout has passed.

      Returns AuthenticationCodeInfo

    • ResendPhoneNumberCode

      public ResendPhoneNumberCode(TdApi.ResendCodeReason reason)
      Creates a function, which resends the authentication code sent to a phone number. Works only if the previously received authenticationCodeInfo nextCodeType was not null and the server-specified timeout has passed.

      Returns AuthenticationCodeInfo

      Parameters:
      reason - Reason of code resending; pass null if unknown.
  • 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