timestampFieldString(default: "timestamp")

Specifies the field name in the data source from which the message timestamp will be read.

Example

<div id="chat"></div>
<script>
let messagesData = [
    {
        id: 1,
        text: "Hello!",
        authorId: "user1",
        authorName: "John",
        createdAt: new Date()
    }
];

$("#chat").kendoChat({
    timestampField: "createdAt",
    dataSource: messagesData
});
</script>
In this article
timestampField
Not finding the help you need?
Contact Support