AttachmentTypeSystemPickerParams

data class AttachmentTypeSystemPickerParams(val channel: Channel, val messageMode: MessageMode, val onModeSelected: (AttachmentPickerMode) -> Unit, val trailingContent: @Composable RowScope.() -> Unit = {})

Parameters for ChatComponentFactory.AttachmentTypeSystemPicker.

Parameters

channel

Used to check channel capabilities.

messageMode

Used to filter modes.

onModeSelected

Called when user taps a button.

trailingContent

Slot for custom content after the mode buttons.

Constructors

Link copied to clipboard
constructor(channel: Channel, messageMode: MessageMode, onModeSelected: (AttachmentPickerMode) -> Unit, trailingContent: @Composable RowScope.() -> Unit = {})

Properties

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