public static class TdApi.AuthenticationCodeInfo extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.AuthenticationCodeType |
nextType
Describes the way the next code will be sent to the user; may be null.
|
java.lang.String |
phoneNumber
A phone number that is being authenticated.
|
int |
timeout
Timeout before the code should be re-sent, in seconds.
|
TdApi.AuthenticationCodeType |
type
Describes the way the code was sent to the user.
|
Constructor and Description |
---|
AuthenticationCodeInfo()
Information about the authentication code that was sent.
|
AuthenticationCodeInfo(java.lang.String phoneNumber,
TdApi.AuthenticationCodeType type,
TdApi.AuthenticationCodeType nextType,
int timeout)
Information about the authentication code that was sent.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String phoneNumber
public TdApi.AuthenticationCodeType type
@Nullable public TdApi.AuthenticationCodeType nextType
public int timeout
public static final int CONSTRUCTOR
public AuthenticationCodeInfo()
public AuthenticationCodeInfo(java.lang.String phoneNumber, TdApi.AuthenticationCodeType type, TdApi.AuthenticationCodeType nextType, int timeout)
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
- Timeout before the code should be re-sent, in seconds.public int getConstructor()
getConstructor
in class TdApi.Object