fileAttachmentBoolean(default: true)

Enables or disables file attachment functionality in the message input.

Example

<div id="chat"></div>
<script>
let messagesData = [
    {
        id: 1,
        text: "Welcome! Note that file attachments have been disabled in this chat.",
        authorId: "admin",
        authorName: "Chat Admin",
        authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",
        timestamp: new Date(2026, 0, 1, 9, 0)
    },
    {
        id: 2,
        text: "I understand. I'll use text messages only.",
        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({
    fileAttachment: false,
    authorId: "user",
    dataSource: messagesData
});
</script>
In this article
fileAttachment
Not finding the help you need?
Contact Support