Package org.drinkless.tdlib
Class 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
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The 2-step verification password to check. -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-