fileAttachmentBoolean|Object(default: true)
Configures the file select button (attachment button) in the message input area. Can be set to:
true: Shows the button with default settingsfalse: Hides the button completely (does not render)Object: Shows the button with custom configuration
Example - Disable file select button
<div id="chat"></div>
<script>
$("#chat").kendoChat({
fileAttachment: false,
authorId: "user"
});
</script>
Example - Configure file select button
<div id="chat"></div>
<script>
$("#chat").kendoChat({
fileAttachment: {
icon: "attachment",
fillMode: "flat",
size: "medium",
multiple: true,
accept: "image/*,.pdf,.doc,.docx"
},
authorId: "user"
});
</script>