Layer 220
AuthResetAuthorizations
Terminates all user's authorized sessions except for the current one.
method
Users
auth.resetAuthorizations#9fab0d1a = Bool;
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 406 | FRESH_RESET_AUTHORISATION_FORBIDDEN | You can't logout other sessions if less than 24 hours have passed since you logged on the current session. |
Gogram Example
// AuthResetAuthorizations - positional arguments result, err := client.AuthResetAuthorizations() if err != nil { // handle error } // result is *tg.Bool