telegram api method · layer 229 · #df77f3bc

account.resetAuthorization

usable by users

Log out an active authorized session by its hash

definition

account.resetAuthorization#df77f3bc hash:long = Bool;

parameters

nametypedescription
hashlongSession hash

returns

Bool

errors (3)

codeerrordescription
400HASH_INVALIDThe provided hash is invalid.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
406FRESH_RESET_AUTHORISATION_FORBIDDENYou can't logout other sessions if less than 24 hours have passed since you logged on the current session.

history

present in layers 46–229

idlayers
#df77f3bc46–229