lightning:conversationCustomEvent
Event triggered when a custom event occurs during a chat.
| Name | Type | Description |
|---|---|---|
recordId | String | The ID of the work record that’s associated with the current chat. |
type | String | The type of the custom event that was sent to this chat; corresponds to the type argument of the liveagent.chasitor.sendCustomEvent() method used to send this event from the chat window. |
data | String | The data of the custom event that was sent to this chat; corresponds to the data argument of the liveagent.chasitor.sendCustomEvent() method used to send this event from the chat window. |
Component code:
Controller code: