How to get user online availability status?

Hi there,

We are developing a serverless app for freshchat product. We are trying to get the user online status to show their availability. (For Reference - Screenshot by Lightshot)

I thought the particular conversation/user details will be updated whenever user join/leave the chat, so i configured these events (onConversationUpdate, onUserUpdate) in our serverless app. We are receiving payload, but not sure the status key is present in the payload or not.

Can anyone help us how to get the user online status through any events or api.? Or is there any event to find whenever user joining/leaving the chat.?

Thank you.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.