terminate_all_other_sessions()#
- Client.terminate_all_other_sessions()#
Terminates all other sessions of the current user.
Usable by ✅ Users ❌ Bots- Returns:
bool
– On success, in case the session is destroyed, True is returned. Otherwise, False is returned.- Raises:
RPCError – In case of a Telegram RPC error.