# Events

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

* [`onSendMessage`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#onSendMessage) - Fires when the user sends a new message through the input field.
* [`onActionExecute`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#onActionExecute) - Fires when the user clicks on a message action button (reply, postBack, openUrl).
* [`onSuggestionClick`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#onSuggestionClick) - Fires when the user clicks on a suggestion button.
* [`onToolbarAction`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#onToolbarAction) - Fires when the user clicks on a toolbar action (edit, delete, reply, react, etc.).
* [`onContextMenuAction`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#onContextMenuAction) - Fires when the user performs a right-click context menu action.
* [`onFileAction`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#onFileAction) - Fires when the user interacts with file attachments (download, preview, remove).
* [`onInputValueChange`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#onInputValueChange) - Fires when the input field value changes, useful for typing indicators.
* [`onUnpin`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#onUnpin) - Fires when the user unpins a previously pinned message.
* [`onDownload`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#onDownload) - Fires when the user downloads an attachment from a message.

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

[Demo Source](https://demos.telerik.com/kendo-react-ui/conversational-ui/chat/events/source.txt)

## Suggested Links

* [Getting Started with the KendoReact Conversational UI Package](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/get-started)
* [API Reference of the KendoReact Chat](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chat)
* [API Reference of the ChatProps](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops)
