speechToTextBoolean|Object(default: true)
Configures 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.
Example
<div id="chat"></div>
<script>
let messagesData = [
{
id: 1,
text: "Speech-to-text functionality has been disabled in this chat. The microphone button is still visible but disabled.",
authorId: "admin",
authorName: "Chat Admin",
authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",
timestamp: new Date(2026, 0, 1, 9, 0)
},
{
id: 2,
text: "That's fine, I can type my messages manually.",
authorId: "user",
authorName: "User",
authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/LONEP.jpg",
timestamp: new Date(2026, 0, 1, 9, 5)
}
];
$("#chat").kendoChat({
speechToText: {
enable: false
},
authorId: "user",
dataSource: messagesData
});
</script>