AttachmentPickerContentParams

constructor(pickerMode: AttachmentPickerMode?, commands: List<Command>, attachments: List<AttachmentPickerItemState>, onLoadAttachments: () -> Unit, onUrisSelected: (List<Uri>) -> Unit, actions: AttachmentPickerActions, onAttachmentsSubmitted: (List<AttachmentMetaData>) -> Unit)

Parameters

pickerMode

The currently active mode.

commands

Available slash commands.

attachments

Current attachment items.

onLoadAttachments

Called to trigger loading attachment metadata.

onUrisSelected

Called with URIs from a system picker.

actions

The attachment picker actions.

onAttachmentsSubmitted

Called when attachments are ready.