Class TdApi.CheckAuthenticationPassword
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.CheckAuthenticationPassword
- Enclosing class:
- TdApi
Checks the 2-step verification password for correctness. Works only when the current authorization state is authorizationStateWaitPassword.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The 2-step verification password to check. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which checks the 2-step verification password for correctness.CheckAuthenticationPassword
(String password) Creates a function, which checks the 2-step verification password for correctness. -
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
-
password
The 2-step verification password to check. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CheckAuthenticationPassword
public CheckAuthenticationPassword()Default constructor for a function, which checks the 2-step verification password for correctness. Works only when the current authorization state is authorizationStateWaitPassword.Returns
Ok
-
CheckAuthenticationPassword
Creates a function, which checks the 2-step verification password for correctness. Works only when the current authorization state is authorizationStateWaitPassword.Returns
Ok
- Parameters:
password
- The 2-step verification password 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
-