public static class TdApi.RecoverPassword extends TdApi.Function
Returns PasswordState
TdApi.Function.Constructors
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 password of the user; may be empty to remove the password.
|
java.lang.String |
recoveryCode
Recovery code to check.
|
Constructor and Description |
---|
RecoverPassword()
Default constructor for a function, which recovers the 2-step verification password using a recovery code sent to an email address that was previously set up.
|
RecoverPassword(java.lang.String recoveryCode,
java.lang.String newPassword,
java.lang.String newHint)
Creates a function, which recovers the 2-step verification password using a recovery code sent to an email address that was previously set up.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String recoveryCode
public java.lang.String newPassword
public java.lang.String newHint
public static final int CONSTRUCTOR
public RecoverPassword()
Returns PasswordState
public RecoverPassword(java.lang.String recoveryCode, java.lang.String newPassword, java.lang.String newHint)
Returns PasswordState
recoveryCode
- Recovery code to check.newPassword
- New password of the user; may be empty to remove the password.newHint
- New password hint; may be empty.public int getConstructor()
getConstructor
in class TdApi.Function