# .NET MAUI Chat Methods

The Telerik UI for .NET MAUI Chat exposes methods that let you interact with the input area from code.

## Focus the Input

Use the `FocusEntry()` method to move keyboard focus to the Chat input entry.

The method returns `true` when the focus change succeeds and `false` when the call does not focus the input element.

```C#
bool isFocused = this.chat.FocusEntry();
```

## Stop Speech-to-Text Recognition

Use the `StopSpeechToTextRecognition()` method to stop the active speech-to-text recognition session.

If the speech recognizer is currently listening, the method stops the recognition process. If the recognizer is not active, the call has no effect.

```C#
await this.chat.StopSpeechToTextRecognition();
```

## See Also

* [Scrolling](https://www.telerik.com/maui-ui/documentation/controls/chat/scrolling)
* [Buttons Styling](https://www.telerik.com/maui-ui/documentation/controls/chat/styling/buttons)
