Please be aware that you are viewing our bleeding edge unstable documentation. Unless you wanted to view the bleeding edge (and possibly unstable) documentation, we recommend you use our stable docs.

Go to Ably's stable canonical documentation »

I know what I'm doing, let me see the bleeding edge docs »

You are viewing our bleeding edge unstable documentation. We recommend you use our stable documentation »
Fork me on GitHub

Presence

Ably’s presence feature allows clients or devices to announce their presence on a channel. Other devices or services may then subscribe to these presence events (such as entering, updating their state, or leaving the channel) in real time using our realtime SDKs, or via the Reactor service. You can also request a list of clients or devices that are online/offline on a channel at a particular point in time via the REST API. Presence representation


Furthermore, if persistence is enabled on the presence channel, you can also retrieve presence history for the channel, i.e, static data about historical presence states of your clients/devices. This operation also can be done using both Ably’s Realtime and REST libraries.


Back to top