Class TdApi.ResendPhoneNumberCode
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.AuthenticationCodeInfo>
dev.voroby.springframework.telegram.client.TdApi.ResendPhoneNumberCode
- Enclosing class:
- TdApi
public static class TdApi.ResendPhoneNumberCode
extends TdApi.Function<TdApi.AuthenticationCodeInfo>
Resends the authentication code sent to a phone number. Works only if the previously received authenticationCodeInfo nextCodeType was not null and the server-specified timeout has passed.
Returns AuthenticationCodeInfo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Reason of code resending; pass null if unknown. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which resends the authentication code sent to a phone number.Creates a function, which resends the authentication code sent to a phone number. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
reason
Reason of code resending; pass null if unknown. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ResendPhoneNumberCode
public ResendPhoneNumberCode()Default constructor for a function, which resends the authentication code sent to a phone number. Works only if the previously received authenticationCodeInfo nextCodeType was not null and the server-specified timeout has passed.Returns
AuthenticationCodeInfo
-
ResendPhoneNumberCode
Creates a function, which resends the authentication code sent to a phone number. Works only if the previously received authenticationCodeInfo nextCodeType was not null and the server-specified timeout has passed.Returns
AuthenticationCodeInfo
- Parameters:
reason
- Reason of code resending; pass null if unknown.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-