java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Sessions
- Enclosing class:
- TdApi
Contains a list of sessions.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
Number of days of inactivity before sessions will automatically be terminated; 1-366 days.List of sessions. -
Constructor Summary
ConstructorDescriptionSessions()
Contains a list of sessions.Sessions
(TdApi.Session[] sessions, int inactiveSessionTtlDays) Contains a list of sessions.Contains a list of sessions. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
sessions
List of sessions. -
inactiveSessionTtlDays
public int inactiveSessionTtlDaysNumber of days of inactivity before sessions will automatically be terminated; 1-366 days. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
Sessions
public Sessions()Contains a list of sessions. -
Sessions
Contains a list of sessions.- Parameters:
sessions
- Session[] List of sessions.inactiveSessionTtlDays
- int Number of days of inactivity before sessions will automatically be terminated; 1-366 days.
-
Sessions
Contains a list of sessions.- 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()
-