Skip to main content

ChatBot Methods

addChatinitializes a new chat within the ChatBot widget
addMessageadds a new message to the active chat UI
appendMessageappends additional text to an existing message in the chat interface
deleteChatremoves a chat session identified by its unique ID
getConfigreturns current configuration of the ChatBot widget
interceptallows interception of specific widget events
onregisters event listeners for chat-related events
provideMessagesprovides updated messages to the chat widget
requestMessagesrequests the messages for a specific chat identified by its unique ID
selectChatselects a specific chat session by its unique identifier and optionally specifies the agent
setConfigdynamically updates the ChatBot widget configuration
typeMessagechanges the typing state for a given message