Call ListMessageGroup to query the message group list for a specified user.
Operation description
QPS limits
The single-user QPS limit for this API is 100 queries per second. If this limit is exceeded, API calls will be throttled, which may affect your business. You can call this API at a reasonable rate. For more information, see QPS limits.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:ListMessageGroup |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
No |
User ID, which is customized by the user and must be unique within an AppId. Different users must use different UserIds. Note
You must correctly fill in this parameter to perform a normal query. |
de1**a0 |
| AppId |
string |
No |
Interactive Messages application ID. Note
You must correctly fill in this parameter to perform a normal query. |
VKL3*** |
| SortType |
integer |
No |
Sorting method. Valid values:
|
1 |
| PageNum |
integer |
Yes |
Page number. Default value: 1. Valid values: 1 to 100000. |
10 |
| PageSize |
integer |
Yes |
Number of message groups to display per page. Default value: 20. Valid values: 1 to 50. |
20 |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Request ID. |
16A96B9A-****-CB92E68F4CD8 |
| Result |
object |
Return result. |
|
| GroupList |
array |
Message group list. |
|
|
object |
Message group details. |
||
| AppId |
string |
Interactive Messages application ID. |
VKL3*** |
| CreateTime |
integer |
UTC timestamp when the message group was created. |
1502280113 |
| CreatorId |
string |
Creator ID. |
as****hs |
| Extension |
object |
Extension field. |
|
|
string |
Extension field. |
test001 |
|
| GroupId |
string |
Message group ID. |
AE35-****-T95F |
| Status |
integer |
Message group status. The default value is 1, indicating that the message group status is normal. |
1 |
| HasMore |
boolean |
Indicates whether there is a next page. Valid values:
|
false |
| Total |
integer |
Total number of message groups. |
5 |
Examples
Success response
JSON format
{
"RequestId": "16A96B9A-****-CB92E68F4CD8",
"Result": {
"GroupList": [
{
"AppId": "VKL3***",
"CreateTime": 1502280113,
"CreatorId": "as****hs",
"Extension": {
"key": "test001"
},
"GroupId": "AE35-****-T95F",
"Status": 1
}
],
"HasMore": false,
"Total": 5
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.