public static class TdApi.SetPassword 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 |
newRecoveryEmailAddress
New recovery email address; may be empty.
|
java.lang.String |
oldPassword
Previous password of the user.
|
boolean |
setRecoveryEmailAddress
Pass true if the recovery email address should be changed.
|
Constructor and Description |
---|
SetPassword()
Default constructor for a function, which changes the password for the user.
|
SetPassword(java.lang.String oldPassword,
java.lang.String newPassword,
java.lang.String newHint,
boolean setRecoveryEmailAddress,
java.lang.String newRecoveryEmailAddress)
Creates a function, which changes the password for the user.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String oldPassword
public java.lang.String newPassword
public java.lang.String newHint
public boolean setRecoveryEmailAddress
public java.lang.String newRecoveryEmailAddress
public static final int CONSTRUCTOR
public SetPassword()
Returns PasswordState
public SetPassword(java.lang.String oldPassword, java.lang.String newPassword, java.lang.String newHint, boolean setRecoveryEmailAddress, java.lang.String newRecoveryEmailAddress)
Returns PasswordState
oldPassword
- Previous password of the user.newPassword
- New password of the user; may be empty to remove the password.newHint
- New password hint; may be empty.setRecoveryEmailAddress
- Pass true if the recovery email address should be changed.newRecoveryEmailAddress
- New recovery email address; may be empty.public int getConstructor()
getConstructor
in class TdApi.Function