Chatbot Widget
Available SDK methods
Below are the methods that you can use to interact with the Chatling widget.
You must wait for the widget script to load before calling these methods.
Open chatbot
Opens the chatbot, similar to when a user clicks the chat icon.
Hide chatbot
Hides the chatbot, similar to when a user clicks the minimize button.
Pass custom data after launch
You can send custom values to the chatbot at any point after it’s loaded.
The method takes an object containing the variable names and values. You must make sure that the variables have been created in the builder and that the names match exactly.
To pass custom data during launch, read this guide.