- Enclosing class:
- TdApi
Changes the period of inactivity after
which sessions will automatically be terminated.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
New number of days of inactivity before sessions will be automatically terminated; 1-366 days. -
Constructor Summary
ConstructorDescriptionChanges the period of inactivity after which sessions will automatically be terminated.SetInactiveSessionTtl
(int inactiveSessionTtlDays) Changes the period of inactivity after which sessions will automatically be terminated.SetInactiveSessionTtl
(DataInput input) Changes the period of inactivity after which sessions will automatically be terminated. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
inactiveSessionTtlDays
public int inactiveSessionTtlDaysNew number of days of inactivity before sessions will be automatically terminated; 1-366 days. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetInactiveSessionTtl
public SetInactiveSessionTtl()Changes the period of inactivity after which sessions will automatically be terminated.Returns
Ok
-
SetInactiveSessionTtl
public SetInactiveSessionTtl(int inactiveSessionTtlDays) Changes the period of inactivity after which sessions will automatically be terminated.Returns
Ok
- Parameters:
inactiveSessionTtlDays
- int New number of days of inactivity before sessions will be automatically terminated; 1-366 days.
-
SetInactiveSessionTtl
Changes the period of inactivity after which sessions will automatically be terminated.Returns
Ok
- 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()
-