MessageComposerAttachmentsParams
data class MessageComposerAttachmentsParams(val attachments: List<Attachment>, val onAttachmentRemoved: (Attachment) -> Unit, val modifier: Modifier = Modifier)
Parameters for the ChatComponentFactory.MessageComposerAttachments component.
Parameters
attachments
The attachments currently selected in the composer.
onAttachmentRemoved
Lambda invoked when an attachment is removed by the user.
modifier
Modifier for styling.
Constructors
Link copied to clipboard
constructor(attachments: List<Attachment>, onAttachmentRemoved: (Attachment) -> Unit, modifier: Modifier = Modifier)