Commands
Here are the commands you can use to trigger your embedded typebot:
UniBot.open(): Open popup or bubbleUniBot.close(): Close popup or bubbleUniBot.toggle(): Toggle the bubble or popup open/close state,UniBot.showPreviewMessage(): Show preview message from the bubble,UniBot.hidePreviewMessage(): Hide preview message from the bubble,UniBot.setPrefilledVariables(...): Set prefilled variables.UniBot.setInputValue(...): Set the value in the currently displayed input.Example:
UniBot.setPrefilledVariables({
Name: "Jhon",
Email: "john@gmail.com",
});For more information, check out the HTML & Javascript additional configurations