Package org.drinkless.tdlib
Class TdApi.CheckAuthenticationPasswordRecoveryCode
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.CheckAuthenticationPasswordRecoveryCode
- Enclosing class:
- TdApi
Checks whether a 2-step verification password recovery code sent to an email address is valid. Works only when the current authorization state is authorizationStateWaitPassword.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Recovery code to check. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which checks whether a 2-step verification password recovery code sent to an email address is valid.CheckAuthenticationPasswordRecoveryCode(String recoveryCode) Creates a function, which checks whether a 2-step verification password recovery code sent to an email address is valid. -
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
-
recoveryCode
Recovery code to check. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CheckAuthenticationPasswordRecoveryCode
public CheckAuthenticationPasswordRecoveryCode()Default constructor for a function, which checks whether a 2-step verification password recovery code sent to an email address is valid. Works only when the current authorization state is authorizationStateWaitPassword.Returns
Ok -
CheckAuthenticationPasswordRecoveryCode
Creates a function, which checks whether a 2-step verification password recovery code sent to an email address is valid. Works only when the current authorization state is authorizationStateWaitPassword.Returns
Ok- Parameters:
recoveryCode- Recovery code 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
-