NotifyAgent
Broadcasts a custom message.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rtc:NotifyAgent |
none |
*App
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
No |
The application ID. You can create and query application IDs in the console. Only a single ID is supported. |
aec**** |
| ChannelId |
string |
No |
The ID of the channel to join. Only a single ID is supported. |
yourChannelId |
| TaskId |
string |
No |
The task ID. |
yourTaskId |
| Message |
string |
No |
The text content of the message to broadcast. |
Hello, today is April 16, 2025. How can I help you? |
| Priority |
integer |
No |
The priority level for message insertion. Valid values:
|
1 |
| Interruptable |
boolean |
No |
Specifies whether the broadcast message can be interrupted. If set to false, the message cannot be interrupted by voice or button presses. |
true |
| CustomAttribute |
string |
No |
The custom parameters passed through to the client. |
{\"color\":\"blue\"} |
| BackgroundMusic |
object |
No |
The background music. |
|
| format |
string |
No |
The format. Valid values:
Valid values:
|
wav |
| url |
string |
No |
The URL of the resource. |
https://example.com/audio/background.wav |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
760bad53276431c499e30dc36f6b26be |
Examples
Success response
JSON format
{
"RequestId": "760bad53276431c499e30dc36f6b26be"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.