Skip to main content

action.inject

Inject a message into the conversation.

NameTypeDefaultDescription
inject Requiredobject-An object that contains the inject parameters.

inject Parameters

NameTypeDefaultDescription
message Requiredstring-The message to be injected.
direction Requiredstringlocal-callerThe direction of the message.
Possible Values: "remote-caller", "local-caller"

Example

live_translate:
action:
inject:
message: This is an injected message.
direction: remote-caller