authorImageAltTextFieldString
(default: "authorImageAltText")
Specifies the field name in the data source from which the alt text for the author's avatar image will be read.
Example
<div id="chat"></div>
<script>
let messagesData = [
{
id: 1,
text: "Hello!",
authorId: "user1",
authorName: "John",
authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/LONEP.jpg",
authorAltText: "John's profile picture",
timestamp: new Date()
}
];
$("#chat").kendoChat({
authorImageAltTextField: "authorAltText",
dataSource: messagesData
});
</script>
In this article