Control the Webchat widget
The following table shows the Proto script that can be used to control the display of the widget:
Script | Description |
---|---|
| To open the widget |
| To close the widget |
| To hide the bot avatar and widget |
| To show the bot avatar and widget |
| To start the webchat directly |
| To check if the widget is open |
If you want to check if the widget is open or closed, you can also use the following code:
Last updated