Module tdlight.api

Class TdApi.Sessions

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Sessions
Enclosing class:
TdApi

public static final class TdApi.Sessions extends TdApi.Object
Contains a list of sessions.
  • Field Details

    • 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
      See Also:
  • Constructor Details

    • Sessions

      public Sessions()
      Contains a list of sessions.
    • Sessions

      public Sessions(TdApi.Session[] sessions, int inactiveSessionTtlDays)
      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

      public Sessions(DataInput input) throws IOException
      Contains a list of sessions.
      Throws:
      IOException
  • Method Details