Skip to main content
Triggered for custom events such as button clicks within the chat. This event provides a generic pattern for handling custom interactions.

Event properties

string
required
Always 'customEvent'.
string
required
The name of the custom event, for example. 'buttonItemClicked'.
object
required
The message item that triggered the event.
object
required
The complete message containing the item.

Custom event names

  • buttonItemClicked
    Triggered when a button in a response is clicked.

Example

Do you need practical examples?

Learn how to apply the features available for embedded chat into your implementation with guidance and examples.