Package-level declarations

Types

Link copied to clipboard
open class AttachmentFactory(val canHandle: (attachments: List<Attachment>) -> Boolean, val previewContent: @Composable (modifier: Modifier, attachments: List<Attachment>, onAttachmentRemoved: (Attachment) -> Unit) -> Unit? = null, val content: @Composable (modifier: Modifier, attachmentState: AttachmentState) -> Unit, val textFormatter: (attachments: Attachment) -> String = { it.title ?: it.name ?: it.fallback ?: "" })

Holds the information required to build an attachment message.

Link copied to clipboard

Provides different attachment factories that build custom message content based on a given attachment.