java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.TemporaryPasswordState>
it.tdlight.jni.TdApi.CreateTemporaryPassword
- Enclosing class:
- TdApi
public static class TdApi.CreateTemporaryPassword
extends TdApi.Function<TdApi.TemporaryPasswordState>
Creates a new temporary password for processing payments.
Returns TemporaryPasswordState
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Persistent user password.int
Time during which the temporary password will be valid, in seconds; must be between 60 and 86400. -
Constructor Summary
ConstructorDescriptionCreates a new temporary password for processing payments.CreateTemporaryPassword
(DataInput input) CreateTemporaryPassword
(String password, int validFor) Creates a new temporary password for processing payments. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
password
Persistent user password. -
validFor
public int validForTime during which the temporary password will be valid, in seconds; must be between 60 and 86400. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
CreateTemporaryPassword
public CreateTemporaryPassword()Creates a new temporary password for processing payments.Returns
TemporaryPasswordState
-
CreateTemporaryPassword
Creates a new temporary password for processing payments.Returns
TemporaryPasswordState
- Parameters:
password
- String Persistent user password.validFor
- int Time during which the temporary password will be valid, in seconds; must be between 60 and 86400.
-
CreateTemporaryPassword
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-