New to KendoReactStart a free 30-day trial

Events
Premium

The KendoReact Chat emits several events that enable you to control its behavior upon user interaction:

  • onSendMessage - Fires when the user sends a new message through the input field.
  • onActionExecute - Fires when the user clicks on a message action button (reply, postBack, openUrl).
  • onSuggestionClick - Fires when the user clicks on a suggestion button.
  • onToolbarAction - Fires when the user clicks on a toolbar action (edit, delete, reply, react, etc.).
  • onContextMenuAction - Fires when the user performs a right-click context menu action.
  • onFileAction - Fires when the user interacts with file attachments (download, preview, remove).
  • onInputValueChange - Fires when the input field value changes, useful for typing indicators.
  • onUnpin - Fires when the user unpins a previously pinned message.
  • onDownload - Fires when the user downloads an attachment from a message.

The following example demonstrates all the events that the Chat features.

Change Theme
Theme
Loading ...
In this article
Suggested Links
Not finding the help you need?
Contact Support