messagesObject
Allows localization of the strings that are used in the component.
Example
<div id="chat"></div>
<script>
let messagesData = [
{
id: 1,
text: "Welcome! Notice the custom placeholder text and send button text.",
authorId: "admin",
authorName: "Admin",
authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",
timestamp: new Date(2026, 0, 1, 9, 0)
},
{
id: 2,
text: "Thanks! The custom messages make the interface more personalized.",
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({
messages: {
placeholder: "Type your message here...",
sendButton: "Send"
},
authorId: "user",
dataSource: messagesData
});
</script>
In this article