Package it.tdlight.jni
Class TdApi.SetAccountTtl
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SetAccountTtl
- Enclosing class:
- TdApi
public static class TdApi.SetAccountTtl extends TdApi.Function
Changes the period of inactivity after
which the account of the current user
will automatically be deleted.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.AccountTtl
ttl
New account TTL. -
Constructor Summary
Constructors Constructor Description SetAccountTtl()
Changes the period of inactivity after which the account of the current user will automatically be deleted.SetAccountTtl(TdApi.AccountTtl ttl)
Changes the period of inactivity after which the account of the current user will automatically be deleted.SetAccountTtl(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
ttl
New account TTL. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SetAccountTtl
public SetAccountTtl()Changes the period of inactivity after which the account of the current user will automatically be deleted.Returns
Ok
-
SetAccountTtl
Changes the period of inactivity after which the account of the current user will automatically be deleted.Returns
Ok
- Parameters:
ttl
- AccountTtl New account TTL.
-
SetAccountTtl
- 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()
-