Join a message group.
Operation description
The QPS limit for this API is 200 calls per second per user. If this limit is exceeded, API calls will be throttled, which may affect your business. Please use this API responsibly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:JoinMessageGroup |
update |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
Interactive message application ID. |
a494caec-***-695ef345db77 |
| GroupId |
string |
Yes |
The ID of the message group to join. Make sure the GroupId you provide exists. |
AE35-****-T95F |
| UserId |
string |
Yes |
User ID, which is customized by the user and must be unique under the AppId. It can contain lowercase letters, numbers, underscores (_), and periods (.). The maximum length is 32 characters. Different users must use different UserIds. |
de1**a0 |
| BroadCastType |
integer |
No |
System message diffusion type. Valid values:
|
2 |
| BroadCastStatistics |
boolean |
No |
Specifies whether to broadcast statistics messages. When enabled, 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 joining the message group was successful. 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.