Package org.drinkless.tdlib
Class TdApi.TemporaryPasswordState
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.TemporaryPasswordState
-
- Enclosing class:
- TdApi
public static class TdApi.TemporaryPasswordState extends TdApi.Object
Returns information about the availability of a temporary password, which can be used for payments.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanhasPasswordTrue, if a temporary password is available.intvalidForTime left before the temporary password expires, in seconds.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
hasPassword
public boolean hasPassword
True, if a temporary password is available.
-
validFor
public int validFor
Time left before the temporary password expires, in seconds.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TemporaryPasswordState
public TemporaryPasswordState()
Returns information about the availability of a temporary password, which can be used for payments.
-
TemporaryPasswordState
public TemporaryPasswordState(boolean hasPassword, int validFor)Returns information about the availability of a temporary password, which can be used for payments.- Parameters:
hasPassword- True, if a temporary password is available.validFor- Time left before the temporary password expires, in seconds.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-