ChatProps
Name | Type | Default | Description |
---|---|---|---|
attachmentTemplate? |
|
A React functional or class component which is used as an attachment template (see example). The corresponding | |
className? |
|
Sets a class of the Chat DOM element. | |
dir? |
|
Sets the direction of the Chat component. | |
message? |
|
Represents the ChatMessage component. | |
messageBox? |
|
Enables the customization or the override of the default message box item in the Conversational UI (see example). | |
messages |
|
Sets the messages of the Chat. | |
messageTemplate? |
|
A React functional or class component which is used as a message template. The corresponding | |
onActionExecute? |
|
Fires when the user clicks a quick action button. The Chat internally handles the | |
onMessageSend? |
|
Fires when the user types a message and clicks the Send button or presses Enter. Emits the
| |
onToolbarActionExecute? |
|
Fires when the user clicks the button to show or hide the toolbar. | |
placeholder? |
|
The text which is visible inside the new message input when the message input is empty. | |
showToolbar? |
|
Determines if the toolbar will be rendered. | |
toolbar? |
|
Renders a toolbar inside the Chat. | |
user |
|
Sets the | |
width? |
|
Sets the width of the Chat. |