Package org.drinkless.tdlib
Class TdApi.AuthenticationCodeInfo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AuthenticationCodeInfo
- Enclosing class:
- TdApi
Information about the authentication code that was sent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The way the next code will be sent to the user; may be null.A phone number that is being authenticated.intTimeout before the code can be re-sent, in seconds.The way the code was sent to the user. -
Constructor Summary
ConstructorsConstructorDescriptionInformation 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
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
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 CONSTRUCTORIdentifier 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-