public static class TdApi.TemporaryPasswordState extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
hasPassword
True, if a temporary password is available.
|
int |
validFor
Time left before the temporary password expires, in seconds.
|
Constructor and Description |
---|
TemporaryPasswordState()
Returns information about the availability of a temporary password, which can be used for payments.
|
TemporaryPasswordState(boolean hasPassword,
int validFor)
Returns information about the availability of a temporary password, which can be used for payments.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public boolean hasPassword
public int validFor
public static final int CONSTRUCTOR
public TemporaryPasswordState()
public TemporaryPasswordState(boolean hasPassword, int validFor)
hasPassword
- True, if a temporary password is available.validFor
- Time left before the temporary password expires, in seconds.public int getConstructor()
getConstructor
in class TdApi.Object