messageBox.endAffixTemplateFunction
Defines a custom template for the end affix area of the built-in message box. The end affix is positioned after the input field and alongside the built-in action area. This option applies when messageBoxTemplate is not set.
The built-in speech-to-text and send buttons remain in the end affix. If the template omits matching ref-promptbox-speech-to-text-button or ref-promptbox-send-button elements, Chat backfills the enabled controls after the authored end-affix content inside the same end-affix container.
Example
<div id="chat"></div>
<script>
$("#chat").kendoChat({
authorId: "user",
messageBox: {
endAffixTemplate: () => '<button class="k-button k-button-flat">Custom</button>'
}
});
</script>