Class TdApi.Sessions

  • Enclosing class:
    TdApi

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

      • 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.