action.inject
Inject a message into the conversation.
Name | Type | Default | Description |
---|---|---|---|
inject Required | object | - | An object that contains the inject parameters . |
inject Parameters
Name | Type | Default | Description |
---|---|---|---|
message Required | string | - | The message to be injected. |
direction Required | string | local-caller | The direction of the message. Possible Values: "remote-caller" , "local-caller" |
Example
- YAML
- JSON
live_translate:
action:
inject:
message: This is an injected message.
direction: remote-caller
{
"live_translate": {
"action": {
"inject": {
"message": "This is an injected message.",
"direction": "remote-caller"
}
}
}
}