Call LeaveMessageGroup to allow users to exit a message group.
Operation description
Usage notes
The QPS limit for this API is 100 calls per second per user. If this limit is exceeded, API calls will be throttled, which may affect your business. You can call this API properly to avoid issues. For more information, see QPS limits.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:LeaveMessageGroup |
update |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
Interactive message application ID. |
VKL3*** |
| GroupId |
string |
Yes |
Message group ID. |
AE35-****-T95F |
| UserId |
string |
Yes |
User ID, which is customized by the user and must be unique under the AppId. |
de1**a0 |
| BroadCastType |
integer |
No |
System message diffusion type. Valid values:
|
2 |
| BroadCastStatistics |
boolean |
No |
Specifies whether to broadcast statistics messages. When enabled, the statistics information of the message group will be broadcast after joining the message group, and the client can receive and process this message. Valid values:
|
true |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Request ID. |
16A96B9A-****-CB92E68F4CD8 |
| Result |
object |
Return result. |
|
| Success |
boolean |
Indicates whether the user successfully left the message group. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "16A96B9A-****-CB92E68F4CD8",
"Result": {
"Success": true
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.