Skip to main content

ChatBot Methods

addChatinitializes a new chat within the ChatBot widget
addMessageadds a new message to the chat UI
appendMessageappends additional text to an existing message in the chat interface
deleteChatremoves a chat session identified by its unique ID
getConfigdynamically updates the ChatBot widget configuration
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
setConfigreturns current configuration of the ChatBot widget
typeMessagechanges the typing state for a given message