messageToolbarActions.textString
Defines the text for the toolbar action.
Example
<div id="chat"></div>
<script>
let messagesData = [
{
id: 1,
text: "This message has a custom toolbar action with text",
authorId: "assistant",
authorName: "Virtual Assistant",
timestamp: new Date()
}
];
$("#chat").kendoChat({
messageToolbarActions: [
{
name: "bookmark",
icon: "star",
text: "Save Message"
}
],
authorId: "user",
dataSource: messagesData
});
</script>
In this article