terminate_all_other_sessions()#
- Client.terminate_all_other_sessions()[source]#
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 <../../start/errors> – In case of a Telegram RPC error.