java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.CheckAuthenticationPasswordRecoveryCode
- Enclosing class:
- TdApi
public static final class TdApi.CheckAuthenticationPasswordRecoveryCode
extends TdApi.Function<TdApi.Ok>
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
Modifier and TypeFieldDescriptionstatic final int
Recovery code to check. -
Constructor Summary
ConstructorDescriptionChecks whether a 2-step verification password recovery code sent to an email address is valid.Checks whether a 2-step verification password recovery code sent to an email address is valid.CheckAuthenticationPasswordRecoveryCode
(String recoveryCode) Checks whether a 2-step verification password recovery code sent to an email address is valid. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
recoveryCode
Recovery code to check. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
CheckAuthenticationPasswordRecoveryCode
public CheckAuthenticationPasswordRecoveryCode()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. ReturnsOk
-
CheckAuthenticationPasswordRecoveryCode
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. ReturnsOk
- Parameters:
recoveryCode
- String Recovery code to check.
-
CheckAuthenticationPasswordRecoveryCode
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. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-