public static class TdApi.CreateTemporaryPassword extends TdApi.Function<TdApi.TemporaryPasswordState>
Returns TemporaryPasswordState
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
password
The 2-step verification password of the current user.
|
int |
validFor
Time during which the temporary password will be valid, in seconds; must be between 60 and 86400.
|
| Constructor and Description |
|---|
CreateTemporaryPassword()
Default constructor for a function, which creates a new temporary password for processing payments.
|
CreateTemporaryPassword(java.lang.String password,
int validFor)
Creates a function, which creates a new temporary password for processing payments.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String password
public int validFor
public static final int CONSTRUCTOR
public CreateTemporaryPassword()
Returns TemporaryPasswordState
public CreateTemporaryPassword(java.lang.String password,
int validFor)
Returns TemporaryPasswordState
password - The 2-step verification password of the current user.validFor - Time during which the temporary password will be valid, in seconds; must be between 60 and 86400.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object