AttachmentTypePickerParams

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

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.