Class TdApi.SetInactiveSessionTtl

  • Enclosing class:
    TdApi

    public static class TdApi.SetInactiveSessionTtl
    extends TdApi.Function
    Changes the period of inactivity after which sessions will automatically be terminated.

    Returns Ok

    • Field Detail

      • inactiveSessionTtlDays

        public int inactiveSessionTtlDays
        New number of days of inactivity before sessions will be automatically terminated; 1-366 days.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SetInactiveSessionTtl

        public SetInactiveSessionTtl()
        Default constructor for a function, which changes the period of inactivity after which sessions will automatically be terminated.

        Returns Ok

      • SetInactiveSessionTtl

        public SetInactiveSessionTtl​(int inactiveSessionTtlDays)
        Creates a function, which changes the period of inactivity after which sessions will automatically be terminated.

        Returns Ok

        Parameters:
        inactiveSessionTtlDays - New number of days of inactivity before sessions will be automatically terminated; 1-366 days.