java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.AuthenticationCodeInfo
- Enclosing class:
- TdApi
Information about the authentication
code that was sent.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The way the next code will be sent to the user; may be null.A phone number that is being authenticated.int
Timeout before the code can be re-sent, in seconds.The way the code was sent to the user. -
Constructor Summary
ConstructorDescriptionInformation about the authentication code that was sent.AuthenticationCodeInfo
(DataInput input) Information about the authentication code that was sent.AuthenticationCodeInfo
(String phoneNumber, TdApi.AuthenticationCodeType type, TdApi.AuthenticationCodeType nextType, int timeout) Information about the authentication code that was sent. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
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 timeoutTimeout before the code can be re-sent, in seconds. -
CONSTRUCTOR
public static final int CONSTRUCTOR- 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
- String A phone number that is being authenticated.type
- AuthenticationCodeType The way the code was sent to the user.nextType
- AuthenticationCodeType 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
Information about the authentication code that was sent.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-