Module tdlight.api

Class TdApi.SetInactiveSessionTtl

Enclosing class:
TdApi

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

Returns Ok

  • Field Details

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

    • SetInactiveSessionTtl

      public SetInactiveSessionTtl()
      Changes the period of inactivity after which sessions will automatically be terminated.

      Returns Ok

    • SetInactiveSessionTtl

      public SetInactiveSessionTtl(int inactiveSessionTtlDays)
      Changes the period of inactivity after which sessions will automatically be terminated.

      Returns Ok

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

      public SetInactiveSessionTtl(DataInput input) throws IOException
      Changes the period of inactivity after which sessions will automatically be terminated.

      Returns Ok

      Throws:
      IOException
  • Method Details