View Source ExTDLib.Method.SetInactiveSessionTtl (ExTDLib v0.0.4)

Changes the period of inactivity after which sessions will automatically be terminated. Returns object_ptr<Ok>.

NameTypeDescription
inactive_session_ttl_daysnumberNew number of days of inactivity before sessions will be automatically terminated; 1-366 days.

More details on telegram's documentation.