MessageComposerAttachmentMediaItemParams

data class MessageComposerAttachmentMediaItemParams(val attachment: Attachment, val onAttachmentRemoved: (Attachment) -> Unit, val modifier: Modifier = Modifier)

Parameters for the ChatComponentFactory.MessageComposerAttachmentMediaItem component.

Parameters

attachment

The image or video attachment to render.

onAttachmentRemoved

Called when the attachment is removed by the user.

modifier

Modifier for styling.

Constructors

Link copied to clipboard
constructor(attachment: Attachment, onAttachmentRemoved: (Attachment) -> Unit, modifier: Modifier = Modifier)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard