AttachmentPickerParams
data class AttachmentPickerParams(val attachmentsPickerViewModel: AttachmentsPickerViewModel, val messageMode: MessageMode, val actions: AttachmentPickerActions, val modifier: Modifier = Modifier, val messageAction: MessageAction? = null)
Parameters for ChatComponentFactory.AttachmentPicker.
Parameters
attachmentsPickerViewModel
Manages picker state.
messageMode
Current message mode.
actions
The attachment picker actions.
modifier
Modifier for styling.
messageAction
The composer action currently active; drives per-command enabled state in the picker's command section. null treats every command as enabled.
Constructors
Link copied to clipboard
constructor(attachmentsPickerViewModel: AttachmentsPickerViewModel, messageMode: MessageMode, actions: AttachmentPickerActions, modifier: Modifier = Modifier, messageAction: MessageAction? = null)