ListMessageGroupUserById
Queries user information by using a list of user IDs.
Operation description
QPS limits
The QPS limit per user for this operation is 100 queries per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation as needed. For more information, see QPS limits.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:ListMessageGroupUserById |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the interactive messaging application. |
VKL3*** |
| GroupId |
string |
Yes |
The ID of the message group. |
AE35-****-T95F |
| UserIdList |
array |
Yes |
The list of users. |
|
|
string |
No |
The ID of the user. |
de1**a0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
16A96B9A-****-CB92E68F4CD8 |
| Result |
object |
The returned result. |
|
| HasMore |
boolean |
Indicates whether more pages are available. Valid values:
|
false |
| Total |
integer |
The total number of queried users. |
3 |
| UserList |
array<object> |
The user list information. |
|
|
object |
|||
| IsMute |
boolean |
Indicates whether the user is muted. Valid values:
|
true |
| MuteBy |
array |
The mute type. Valid values:
|
|
|
string |
The mute type. Valid values:
|
user |
|
| UserAvatar |
string |
The URL of the user profile picture. |
"http://www.aliyundoc.com/xxyy.png" |
| UserExtension |
string |
The custom content of the user information. |
12e |
| UserId |
string |
The ID of the user. |
ad*** |
| UserNick |
string |
The nickname of the user. |
xxyy |
Examples
Success response
JSON format
{
"RequestId": "16A96B9A-****-CB92E68F4CD8",
"Result": {
"HasMore": false,
"Total": 3,
"UserList": [
{
"IsMute": true,
"MuteBy": [
"user"
],
"UserAvatar": "\"http://www.aliyundoc.com/xxyy.png\"",
"UserExtension": "12e",
"UserId": "ad***",
"UserNick": "xxyy"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParam | Parameter invalid. | Illegal input parameters |
| 403 | NoAuth | %s. | No permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.