3min
Custom buttons and Deep linking
We have exposed a few functions that can be used directly by the customers on their websites to stimulate some actions.
- window.EngtChat.open() → Open the bot
- window.EngtChat.close() → Minimize the bot
- window.EngtChat.sendQuery('any string here') → Open the chat widget and trigger a path when a user clicks a specific button on the website.