How can I know if a user is online or offline?

You can check a user’s current online status easily through the Dashboard. Under the Users tab, each user has an indicator displaying whether they are currently online.

Additionally, it is possible to use the Client SDKs and the Platform API to fetch a user’s online status. See the documentation below: