get_active_sessions()¶
- Client.get_active_sessions()¶
Returns all active sessions of the current user.
Usable by Users Bots
- Returns:¶
ActiveSessions– On success, all the active sessions of the current user is returned.- Raises:¶
RPCError – In case of a Telegram RPC error.