Get Users by IDs
Description
Section titled “Description”wss get_users_by_ids
The get_users_by_ids
request returns user objects by the requested IDs.
Request Parameters
Section titled “Request Parameters”Name | Type | Description |
---|---|---|
ids | array[string] | Array of UIDs |
Response Fields
Section titled “Response Fields”Name | Type | Description |
---|---|---|
users | array[object] | Array of user objects |
Example
Section titled “Example”{ "request": { "get_users_by_ids": { "ids": ["65fcb3f67dbaace5021595b9", "65fcb3f67dbaace502159222"] }, "id": "4" }}
{ "response": { id: "4", "users": [ { "_id":"65fcb3f67dbaace5021595b9", ... }, {"_id": "65fcb3f67dbaace502159222", ...} ] }}
See Also
Section titled “See Also” SAMA chat server API: Users All messengers and services that use instant messaging require minimal user identification in the system. We have developed a universal API...
DataBase Records Collection of complete objects stored in the database.