AttachmentTypePickerParams

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

Parameters for ChatComponentFactory.AttachmentTypePicker.

Parameters

channel

Used to check channel capabilities.

messageMode

Used to filter modes.

selectedMode

The currently active mode.

onModeSelected

Called when user taps a tab.

trailingContent

Slot for custom content after the mode buttons.

Constructors

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

Properties

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