Get Last Activity by IDs
Description
Section titled “Description”wss user_last_activity
This request will help you obtain information about the last activity
of other users.
Request Parameters
Section titled “Request Parameters”Name | Type | Description |
---|---|---|
ids | array[string] | User IDs |
Response Fields
Section titled “Response Fields”Name | Type | Description |
---|---|---|
last_activity | object | Newly created user object |
Returns the UID and related last activity.
Example
Section titled “Example”{ "request": { "user_last_activity": { "ids": ["UID1", "UID2", "UID3"] // max 10 UIDs per request }, "id": "RequestId" }}
{ "response": { "id": "RequestId", "last_activity": { "UID1": 1755065166, "UID2": 0, // "online" "UID3": 1755047354 } }}
See Also
Section titled “See Also” SAMA chat server API: Activities I think everyone has had a conversation where your opponent didn’t answer for a long time, and you didn’t know whether they were...