Open chatbot via Javascript
You can trigger opening of the chatbot on click of a button or an external event. To do so use the following Javascript
window.dispatchEvent(new CustomEvent('dc.bot.show'));
Last updated
Was this helpful?
You can trigger opening of the chatbot on click of a button or an external event. To do so use the following Javascript
window.dispatchEvent(new CustomEvent('dc.bot.show'));
Last updated
Was this helpful?