Skip to content

setInactiveSessionTtl

Function · TDLib 1.8.67 · d1085f9c

Changes the period of inactivity after which sessions will automatically be terminated

setInactiveSessionTtl(
  inactive_session_ttl_days: int32
) → Ok

inactive_session_ttl_days

int32

New number of days of inactivity before sessions will be automatically terminated; 1-366 days