ChannelOptions

fun ChannelOptions(actions: List<ChannelAction>, onChannelOptionConfirm: (ChannelAction) -> Unit, modifier: Modifier = Modifier)

This is the default bottom drawer UI that shows up when the user long taps on a channel item.

It sets up different actions that we provide, based on user permissions.

Parameters

actions

The list of channel actions to show in the UI.

onChannelOptionConfirm

Handler for when the user selects a channel action. Routes through confirmation dialogs for destructive actions before executing.

modifier

Modifier for styling.