Class TdApi.AuthenticationCodeInfo

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.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

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

      Describes 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
      See Also:
      Constant Field Values
  • 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 - String A phone number that is being authenticated.
      type - AuthenticationCodeType Describes the way the code was sent to the user.
      nextType - AuthenticationCodeType Describes the way the next code will be sent to the user; may be null.
      timeout - int Timeout before the code can be re-sent, in seconds.
    • AuthenticationCodeInfo

      public AuthenticationCodeInfo​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details