SpeechToText
configurationConfigures speech-to-text functionality in the message input. The button is always visible. When null or not configured, the button is enabled by default. Use { enable: false } to disable it.
speechToText
Boolean|ObjectDefault: true
speechToText.continuous
BooleanEnables continuous speech recognition mode. When true, recognition continues until explicitly stopped.
Default: false
speechToText.enable
BooleanEnables or disables the speech-to-text button.
Default: true
speechToText.fillMode
StringThe fill mode for the button (e.g., "flat", "solid", "outline").
speechToText.icon
StringThe icon name for the speech-to-text button.
Default: "microphone"
speechToText.interimResults
BooleanWhether to return interim (partial) results during speech recognition.
Default: false
speechToText.lang
StringThe language for speech recognition (BCP 47 language tag).
Default: "en-US"
Maximum number of alternative transcriptions to return.
Default: 1
speechToText.rounded
StringThe border radius for the button (e.g., "small", "medium", "large", "full").
speechToText.size
StringThe size of the button (e.g., "small", "medium", "large").
speechToText.themeColor
StringThe theme color for the button (e.g., "base", "primary", "secondary").