# ConversationDictationProps (@salmonui/chat/conversation)

> The ConversationDictationProps interface of @salmonui/chat/conversation: Conversation.Dictation: a microphone button over the Inputs useSpeechRecognition.

Canonical: https://salmonui.dev/docs/reference/chat/conversation/ConversationDictationProps

```ts
import type { ConversationDictationProps } from '@salmonui/chat/conversation';
```

Entry index: https://salmonui.dev/docs/reference/chat/conversation (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/chat/conversation.md).

## Reference

Kind: interface

```ts
interface ConversationDictationProps {
    readonly lang?: string;
    readonly recognizer?: () => SpeechRecognizer;
    readonly className?: string;
    readonly style?: CSSProperties;
}
```

`Conversation.Dictation`: a microphone button over the Inputs `useSpeechRecognition`.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `lang` | `readonly lang?: string;` | optional | BCP 47 recognition language (default the document language). |
| `recognizer` | `readonly recognizer?: () => SpeechRecognizer;` | optional | Replaces the browser recognizer (the Inputs `SpeechRecognizer` contract). |
| `className` | `readonly className?: string;` | optional |  |
| `style` | `readonly style?: CSSProperties;` | optional |  |
