Presence Info • AI Agent SDK
PresenceInfo: Presence information for a connected client.
PresenceInfo
Defined in the protocols module.
AI Agent
Presence information for a connected client.
Attributes: client_id: Client identifier status: Presence status (“online”, “idle”, “offline”) last_seen: Last heartbeat timestamp metadata: Client-provided metadata (e.g., display name) channels: Channels this client is subscribed to
Properties
ResponseField
strNo description available.
ResponseField
strNo description available.
ResponseField
floatNo description available.
ResponseField
Dict[str, Any]No description available.
ResponseField
List[str]No description available.
Internal & Generic Methods
- from_dict: Create from dictionary.
- to_dict: Convert to dictionary for serialization.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 1791