AttachmentPickerContentParams
constructor(pickerMode: AttachmentPickerMode?, commands: List<Command>, attachments: List<AttachmentPickerItemState>, onLoadAttachments: () -> Unit, onUrisSelected: (List<Uri>) -> Unit, actions: AttachmentPickerActions, onAttachmentsSubmitted: (List<AttachmentMetaData>) -> Unit, messageAction: MessageAction? = null)
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.
messageAction
The composer action currently active; drives per-command enabled state in the command section. null treats every command as enabled.