public static class TdApi.RecoverAuthenticationPassword extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
newHint
New password hint; may be empty.
|
java.lang.String |
newPassword
New 2-step verification password of the user; may be empty to remove the password.
|
java.lang.String |
recoveryCode
Recovery code to check.
|
| Constructor and Description |
|---|
RecoverAuthenticationPassword()
Default constructor for a function, which recovers the 2-step verification password with a password recovery code sent to an email address that was previously set up.
|
RecoverAuthenticationPassword(java.lang.String recoveryCode,
java.lang.String newPassword,
java.lang.String newHint)
Creates a function, which recovers the 2-step verification password with a password recovery code sent to an email address that was previously set up.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String recoveryCode
public java.lang.String newPassword
public java.lang.String newHint
public static final int CONSTRUCTOR
public RecoverAuthenticationPassword()
Returns Ok
public RecoverAuthenticationPassword(java.lang.String recoveryCode,
java.lang.String newPassword,
java.lang.String newHint)
Returns Ok
recoveryCode - Recovery code to check.newPassword - New 2-step verification password of the user; may be empty to remove the password.newHint - New password hint; may be empty.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object