Send a custom event

Send a custom event to the Bot via the webchat

The event name have to be the same than the one configured on the Clustaar Webchat channel settings of your bot.

window.ClustaarWebchat.sendCustomEvent('EVENT_NAME');