Package org.drinkless.tdlib
Class TdApi.SetInactiveSessionTtl
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.SetInactiveSessionTtl
-
- Enclosing class:
- TdApi
public static class TdApi.SetInactiveSessionTtl extends TdApi.Function
Changes the period of inactivity after which sessions will automatically be terminated.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.intinactiveSessionTtlDaysNew number of days of inactivity before sessions will be automatically terminated; 1-366 days.
-
Constructor Summary
Constructors Constructor Description SetInactiveSessionTtl()Default constructor for a function, which changes the period of inactivity after which sessions will automatically be terminated.SetInactiveSessionTtl(int inactiveSessionTtlDays)Creates a function, which changes the period of inactivity after which sessions will automatically be terminated.
-
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
-
inactiveSessionTtlDays
public int inactiveSessionTtlDays
New number of days of inactivity before sessions will be automatically terminated; 1-366 days.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SetInactiveSessionTtl
public SetInactiveSessionTtl()
Default constructor for a function, which changes the period of inactivity after which sessions will automatically be terminated.Returns
Ok
-
SetInactiveSessionTtl
public SetInactiveSessionTtl(int inactiveSessionTtlDays)
Creates a function, which changes the period of inactivity after which sessions will automatically be terminated.Returns
Ok- Parameters:
inactiveSessionTtlDays- New number of days of inactivity before sessions will be automatically terminated; 1-366 days.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-