AttachmentFilePickerParams

data class AttachmentFilePickerParams(val pickerMode: FilePickerMode, val attachments: List<AttachmentPickerItemState>, val onLoadAttachments: () -> Unit, val onAttachmentItemSelected: (AttachmentPickerItemState) -> Unit, val onUrisSelected: (List<Uri>) -> Unit)

Parameters for ChatComponentFactory.AttachmentFilePicker.

Parameters

pickerMode

Configuration for the file picker.

attachments

File items to display.

onLoadAttachments

Called to trigger loading file metadata.

onAttachmentItemSelected

Called when user taps an item.

onUrisSelected

Called with URIs picked via the system file browser.

Constructors

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

Properties

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