Conversation Agent Send
lightning:conversationAgentSend
Indicates an agent sent a message.
For Use In
Lightning Experience
The lightning:conversationAgentSend event is triggered when an agent sends a message through the Salesforce console. This event is also triggered when using Enhanced Messaging channels. To work with Enhanced Messaging channels, the session must be active and the Enhanced Conversation Component must be visible on the page.
For more information, see Events for Chat in the Salesforce Console Developer Guide.
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
content | The text of a message in the chat log. | string | ![]() | |
name | The name of the agent who is attempting to send the message as it appears in the chat log. | string | ![]() | |
recordId | Record ID of the conversation. | string | ![]() | |
timestamp | The date and time the agent attempted to send the chat message. | date | ![]() | |
type | The type of message that was received—for example, agent. | string | ![]() |
