How will i know lastActiveAt of a user from users calls

How will I know when the users were last active?
It is coming in the conversation but I do not see that as in JSON for the get users call.

1 Like

Hi @ksiddharatha,

The lastActiveAt key is set in the user’s object provided the user has logged in at least once using our Client Side SDK.
Suppose a user was created and was never logged in, then lastActiveAt key won’t be set for that user and in the response it won’t be visible since empty values are filtered out by our API.

Hope this helps!

Warm Regards,
CometChat Team


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