# Speech to Text

The Chat component allows users to input messages using voice commands. This feature enhances accessibility and provides hands-free messaging.

The speech-to-text feature is enabled by default. To customize its behavior, configure the [`speechToTextConfig`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#speechtotextconfig) property. This property accepts either a boolean or a [`SpeechToTextButtonProps`](https://www.telerik.com/kendo-react-ui-develop/components/buttons/api/speechtotextbuttonprops) object for customizing speech recognition, language settings, and event handling. To disable the feature, set `speechToTextConfig` to `false`.

In the following demo, the application language is set to German and the speech-to-text button uses a different color. You can try using German language input during voice recognition to evaluate the functionality.

[Demo Source](https://demos.telerik.com/kendo-react-ui/conversational-ui/chat/file-uploads-and-media/speech-to-text/source.txt)

## Suggested Links

* [File Upload](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/chat/file-uploads-and-media/upload)
* [Message Tools](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/chat/messages/tools)
* [Accessibility](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/chat/accessibility/wai-aria-support)
* [Chat API Reference](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api)
