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
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 can be re-sent, in seconds.
|
TdApi.AuthenticationCodeType |
type
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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String phoneNumber
public TdApi.AuthenticationCodeType type
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 - 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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object