For the complete documentation index, see llms.txt. This page is also available as Markdown.

Button Event

You can add the following code to the button trigger code on your website to simultaneously open the chat plugin.

let omnichatButton = document.getElementById('easychat-floating-button');
let event = new Event('click');
omnichatButton.dispatchEvent(event);

Last updated