account.setAuthorizationTTL #

Set time-to-live of current session

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.setAuthorizationTTL#bf899aa0 authorization_ttl_days:int = Bool;

Parameters #

NameTypeDescription
authorization_ttl_daysintTime-to-live of current session in days

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
406FRESH_RESET_AUTHORISATION_FORBIDDENYou can't logout other sessions if less than 24 hours have passed since you logged on the current session.
400TTL_DAYS_INVALIDThe provided TTL is invalid.