Track Presence • AI Agent SDK
track_presence: Set or update a client's presence status.
track_presence
Async
Method
</div>
This is a method of the PresenceProtocol class in the protocols module.
Set or update a client’s presence status.
Signature
async def track_presence(client_id: str, status: str, metadata: Optional[Dict[str, Any]]) -> NoneParameters
ParamField
strClient identifier
ParamField
strPresence status (“online”, “idle”, “offline”)
ParamField
OptionalOptional client metadata
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 1919