Package org.drinkless.tdlib
Class TdApi.Sessions
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Sessions
-
- Enclosing class:
- TdApi
public static class TdApi.Sessions extends TdApi.Object
Contains a list of sessions.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.intinactiveSessionTtlDaysNumber of days of inactivity before sessions will automatically be terminated; 1-366 days.TdApi.Session[]sessionsList of sessions.
-
Constructor Summary
Constructors Constructor Description Sessions()Contains a list of sessions.Sessions(TdApi.Session[] sessions, int inactiveSessionTtlDays)Contains a list of sessions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
sessions
public TdApi.Session[] sessions
List of sessions.
-
inactiveSessionTtlDays
public int inactiveSessionTtlDays
Number of days of inactivity before sessions will automatically be terminated; 1-366 days.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Sessions
public Sessions()
Contains a list of sessions.
-
Sessions
public Sessions(TdApi.Session[] sessions, int inactiveSessionTtlDays)
Contains a list of sessions.- Parameters:
sessions- List of sessions.inactiveSessionTtlDays- Number of days of inactivity before sessions will automatically be terminated; 1-366 days.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-