lightning:conversationChatEnded
Event triggered when an active chat ends or an agent leaves a chat conference. This event is also triggered when using Enhanced Messaging channels.
| Name | Type | Description |
|---|---|---|
recordId | String | The ID of the work record that’s associated with the current chat. |
Component code:
Controller code: