messageActions.textString

Defines the display text for the context menu action.

Example

<div id="chat"></div>
<script>
let messagesData = [
    {
        id: 1,
        text: "Right-click this message to see the context menu with custom text for the copy action.",
        authorId: "user1",
        authorName: "John Doe",
        authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",
        timestamp: new Date(2026, 0, 1, 9, 0)
    },
    {
        id: 2,
        text: "Custom text makes the actions more descriptive and user-friendly.",
        authorId: "user2",
        authorName: "Jane Smith",
        authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/LONEP.jpg",
        timestamp: new Date(2026, 0, 1, 9, 5)
    }
];

$("#chat").kendoChat({
    messageActions: [
        { name: "copy", text: "Copy Message", icon: "copy" }
    ],
    authorId: "user2",
    dataSource: messagesData
});
</script>
In this article
messageActions.text
Not finding the help you need?
Contact Support