AttachmentMediaPickerParams

data class AttachmentMediaPickerParams(val pickerMode: GalleryPickerMode, val attachments: List<AttachmentPickerItemState>, val onLoadAttachments: () -> Unit, val onAttachmentItemSelected: (AttachmentPickerItemState) -> Unit)

Parameters for ChatComponentFactory.AttachmentMediaPicker.

Parameters

pickerMode

Configuration for the gallery picker.

attachments

Media items to display.

onLoadAttachments

Called to trigger loading media metadata.

onAttachmentItemSelected

Called when user taps an item.

Constructors

Link copied to clipboard
constructor(pickerMode: GalleryPickerMode, attachments: List<AttachmentPickerItemState>, onLoadAttachments: () -> Unit, onAttachmentItemSelected: (AttachmentPickerItemState) -> Unit)

Properties

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