Package org.drinkless.tdlib
Class TdApi.CreateTemporaryPassword
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.CreateTemporaryPassword
-
- Enclosing class:
- TdApi
public static class TdApi.CreateTemporaryPassword extends TdApi.Function
Creates a new temporary password for processing payments.Returns
TemporaryPasswordState
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringpasswordPersistent user password.intvalidForTime during which the temporary password will be valid, in seconds; must be between 60 and 86400.
-
Constructor Summary
Constructors Constructor Description CreateTemporaryPassword()Default constructor for a function, which creates a new temporary password for processing payments.CreateTemporaryPassword(String password, int validFor)Creates a function, which creates a new temporary password for processing payments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
password
public String password
Persistent user password.
-
validFor
public int validFor
Time during which the temporary password will be valid, in seconds; must be between 60 and 86400.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CreateTemporaryPassword
public CreateTemporaryPassword()
Default constructor for a function, which creates a new temporary password for processing payments.Returns
TemporaryPasswordState
-
CreateTemporaryPassword
public CreateTemporaryPassword(String password, int validFor)
Creates a function, which creates a new temporary password for processing payments.Returns
TemporaryPasswordState- Parameters:
password- Persistent user password.validFor- Time during which the temporary password will be valid, in seconds; must be between 60 and 86400.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-