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>.
| Name | Type | Description |
|---|---|---|
| inactive_session_ttl_days | number | New number of days of inactivity before sessions will be automatically terminated; 1-366 days. |
More details on telegram's documentation.