AttachmentSystemPickerParams

constructor(channel: Channel, messageMode: MessageMode, attachments: List<AttachmentPickerItemState>, actions: AttachmentPickerActions, onUrisSelected: (List<Uri>) -> Unit, onAttachmentsSubmitted: (List<AttachmentMetaData>) -> Unit)

Parameters

channel

Used to check channel capabilities.

messageMode

Used to filter modes.

attachments

Current attachment state.

actions

The attachment picker actions.

onUrisSelected

Called with URIs from system pickers.

onAttachmentsSubmitted

Called when camera-captured media is ready.