---
schema_version: "1"
id: ca069106ea6d2713db74118bf62249bf9a91ec5f52d1bdfeb5cb34e066520d82
title: Conversation Custom Event
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lightning-base-components/lightning-design-system/guides/aura/components/lightning/conversationCustomEvent/aura-conversation-custom-event.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/aura-conversation-custom-event.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5920bf73b4baa0d7cb703a410d4bc6b0984ce35063b854fc1aa66bc98891752e
products:
  - Lightning Component Reference
---
# Conversation Custom Event

**`lightning:conversationCustomEvent`**

Indicates receipt of a custom event on a conversation.

**For Use In**

Lightning Experience

::::::tabset{tabs='[ "Develop", "Specifications"]'}

:::::tab

The `lightning:conversationCustomEvent` event is triggered when a custom event occurs during a chat.

For more information, see [Events for Chat](https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_lightning_liveagent_events.htm) in the Salesforce Console Developer Guide.


:::::

:::::tab
## Attributes

| Name       | Description                        | Type   | Default | Required                                     |
| ---------- | ---------------------------------- | ------ | ------- | -------------------------------------------- |
| `data`     | Data attached to the custom event. | string |         |                                              |
| `recordId` | Record ID of the conversation.     | string |         | ![Yes](https://developer.salesforce.com/media/check.png) |
| `type`     | Name of the custom event.          | string |         | ![Yes](https://developer.salesforce.com/media/check.png) |

:::::

::::::
