Rank 1: Thread
Hello!
I am trying to determine users who are currently active. Not just logged in, but active and my thought process involves create a server side function that loops through the activity log of the last 30 minutes of each users.
and I have created a collection that will update their status as active or inactive depending on the activity logs length.
Can you please guide me on the Query I need to make?
I have the current time and thiry minutes prev time in milliseconds
const response = users.listLogs(userId, [Query(...)])
Thank you so much