autoAssignIdBoolean(default: true)

Enables or disables automatic assignment of a unique ID to each message posted in the chat. When enabled, messages without an explicit ID will be assigned a generated unique identifier.

This option should be set to false if the chat is configured to work with a remote data source and the messages are created on the server. In that case, the id should be assigned on the server itself.

Example

<div id="chat"></div>
<script>
$("#chat").kendoChat({
    authorId: "user1",
    autoAssignId: false // disables automatic ID assignment
});
</script>
In this article
autoAssignId
Not finding the help you need?
Contact Support