Class TdApi.AuthenticationCodeInfo

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.AuthenticationCodeInfo
Enclosing class:
TdApi

public static class TdApi.AuthenticationCodeInfo extends TdApi.Object
Information about the authentication code that was sent.
  • Field Details

    • phoneNumber

      public String phoneNumber
      A phone number that is being authenticated.
    • type

      The way the code was sent to the user.
    • nextType

      The way the next code will be sent to the user; may be null.
    • timeout

      public int timeout
      Timeout before the code can be re-sent, in seconds.
    • CONSTRUCTOR

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

    • AuthenticationCodeInfo

      public AuthenticationCodeInfo()
      Information about the authentication code that was sent.
    • AuthenticationCodeInfo

      public AuthenticationCodeInfo(String phoneNumber, TdApi.AuthenticationCodeType type, TdApi.AuthenticationCodeType nextType, int timeout)
      Information about the authentication code that was sent.
      Parameters:
      phoneNumber - A phone number that is being authenticated.
      type - The way the code was sent to the user.
      nextType - The way the next code will be sent to the user; may be null.
      timeout - Timeout before the code can be re-sent, in seconds.
  • 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