public static class TdApi.SetRecoveryEmailAddress extends TdApi.Function<TdApi.PasswordState>
Returns PasswordState
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
newRecoveryEmailAddress
New recovery email address.
|
java.lang.String |
password
The 2-step verification password of the current user.
|
| Constructor and Description |
|---|
SetRecoveryEmailAddress()
Default constructor for a function, which changes the 2-step verification recovery email address of the user.
|
SetRecoveryEmailAddress(java.lang.String password,
java.lang.String newRecoveryEmailAddress)
Creates a function, which changes the 2-step verification recovery email address of the user.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String password
public java.lang.String newRecoveryEmailAddress
public static final int CONSTRUCTOR
public SetRecoveryEmailAddress()
Returns PasswordState
public SetRecoveryEmailAddress(java.lang.String password,
java.lang.String newRecoveryEmailAddress)
Returns PasswordState
password - The 2-step verification password of the current user.newRecoveryEmailAddress - New recovery email address.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object