class documentation
class UserPresence(UserIdentity, Protocol):
Known subclasses: server.protocols.UserProtocol
Tracks whether the user currently has active sessions.
| Async Method | add |
Register an active session for the user. |
| Async Method | remove |
Unregister a previously added active session. |
| Property | present |
Whether the user currently has at least one active session. |
| Property | sessions |
Active sessions (Read-only). |
Inherited from UserIdentity:
| Property | full |
Absolute username. |
| Property | name |
Unique username. |