Sets a class of the Chat DOM element.
Sets the direction of the Chat component.
A React functional or class component which is used as a message template. The corresponding
message is passed to the component as a property by the name
Sets the messages of the Chat.
onActionExecute? (event: ChatActionExecuteEvent) => void
Fires when the user clicks a quick action button. The Chat internally handles the
call known actions. Emits the
ExecuteActionEvent. The event is preventable. If
preventDefault is called, the built-in action will be suppressed.
onMessageSend? (event: ChatMessageSendEvent) => void
Fires when the user types a message and clicks the Send button or presses Enter. Emits the
The Chat is not automatically updated with the new message.
The text which is visible inside the new message input when the message input is empty.
User instance for the local user. The User ID identifies messages that are authored by the local user.
width? string | number
Sets the width of the Chat.