public static class TdApi.CreateTemporaryPassword extends TdApi.Function
Returns TemporaryPasswordState
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
password
Persistent user password.
|
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() |
toString
public 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
- Persistent user password.validFor
- Time during which the temporary password will be valid, in seconds; must be between 60 and 86400.public int getConstructor()
getConstructor
in class TdApi.Function