Class TdApi.Sessions

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Sessions
Enclosing class:
TdApi

public static 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
      Identifier uniquely determining type of the object.
      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 - List of sessions.
      inactiveSessionTtlDays - Number of days of inactivity before sessions will automatically be terminated; 1-366 days.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR