public static class TdApi.SetInactiveSessionTtl extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
inactiveSessionTtlDays
New number of days of inactivity before sessions will be automatically terminated; 1-366 days.
|
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int inactiveSessionTtlDays
public static final int CONSTRUCTOR
public SetInactiveSessionTtl()
Returns Ok
public SetInactiveSessionTtl(int inactiveSessionTtlDays)
Returns Ok
inactiveSessionTtlDays - New number of days of inactivity before sessions will be automatically terminated; 1-366 days.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object