Presence & Typing Indicators
Subscribe to presence
First, subscribe to the agents you want to track:presence/changed events when those agents connect, disconnect, or change status.
Update your status
online on connect and offline on disconnect. Use presence/update to manually set away.
Send typing indicator
typing/indicator event. Typing indicators are ephemeral, not persisted, and should be cleared after a timeout on the client side.