SendMessageToGroup
Sends a message to all members of a message group.
Operation description
QPS limits
The QPS limit for a single user is 100 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable frequency. For more information, see QPS limits.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:SendMessageToGroup |
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 |
| OperatorUserId |
string |
Yes |
The user ID of the operator. |
de1**a0 |
| Type |
integer |
No |
The message type. A value of the type field that is less than or equal to 10000 indicates a system message. A value greater than 10000 indicates a custom message. |
12000 |
| Data |
string |
Yes |
The message body, in JSON string format. |
test |
| SkipAudit |
boolean |
No |
Specifies whether the current message content requires Alibaba Cloud content moderation. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
16A96B9A-****-CB92E68F4CD8 |
| Result |
object |
The returned result. |
|
| MessageId |
string |
The message ID. |
qt*** |
Examples
Success response
JSON format
{
"RequestId": "16A96B9A-****-CB92E68F4CD8",
"Result": {
"MessageId": "qt***"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.