Class TdApi.CheckPhoneNumberCode
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.CheckPhoneNumberCode
- Enclosing class:
- TdApi
Check the authentication code and completes the request for which the code was sent if appropriate.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionAuthentication code to check.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which check the authentication code and completes the request for which the code was sent if appropriate.CheckPhoneNumberCode
(String code) Creates a function, which check the authentication code and completes the request for which the code was sent if appropriate. -
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
-
code
Authentication code to check. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CheckPhoneNumberCode
public CheckPhoneNumberCode()Default constructor for a function, which check the authentication code and completes the request for which the code was sent if appropriate.Returns
Ok
-
CheckPhoneNumberCode
Creates a function, which check the authentication code and completes the request for which the code was sent if appropriate.Returns
Ok
- Parameters:
code
- Authentication code to check.
-
-
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
-