lightning:conversationCustomEvent

Event triggered when a custom event occurs during a chat.

NameTypeDescription
recordIdStringThe ID of the work record that’s associated with the current chat.
typeStringThe 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.
dataStringThe 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: