The 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.

Props

clientId
string
required
Your bot’s client ID.
storageKey
string
Custom key for Webchat’s local storage (if your bot’s configuration uses local storage)
user
UserCredentials
User to load Webchat with.
conversationId
string
Conversation ID to load Webchat with.
configuration
Configuration
Configuration for Webchat’s appearance and style.