Webchat component is a batteries-included implementation of the Webchat window. It contains most of what you’d expect when injecting Webchat.
The
Webchat component doesn’t use the configuration set in your bot’s Dashboard. Instead, configure it using the configuration prop.The
<Webchat> component is incompatible with the useWebchat hook—using them together will cause issues and unexpected behaviour.If you need to use the hook, make sure you’re manually building Webchat.Props
Custom key for Webchat’s local storage (if your bot’s configuration uses local storage)
User to load Webchat with.
Conversation ID to load Webchat with.