BotStar is a comprehensive chatbot platform that enables businesses to design, develop, and train chatbots visually for Messenger and websites.
Tool to register a callback when the chat window is closed. use after the widget is initialized. example prompt: "register an onclose handler that logs 'goodbye!' to the console."
Tool to retrieve the botstar application id (`appid`). use when initializing or reinitializing the live chat widget.
Tool to reinitialize the live chat widget with provided data. use after initial load to reset or update widget configuration.
Tool to hide the live chat window. use when the chat widget is configured in livechat or popup mode.
Tool to register a callback when the chat window is opened. use after widget initialization.
Tool to show the live chat window. use after the widget has been bootstrapped with botstarapi('boot') to programmatically open the chat window (mode must be 'livechat' or 'popup').