FileAttachmentFactory
fun FileAttachmentFactory(onContentItemClick: (previewHandlers: List<AttachmentPreviewHandler>, attachment: Attachment) -> Unit = ::onFileAttachmentContentItemClick): AttachmentFactory
An AttachmentFactory that validates attachments as files and uses FileAttachmentContent to build the UI for the message.
Parameters
onContentItemClick
Lambda called when an item gets clicked.