ChannelOptions

fun ChannelOptions(options: List<ChannelOptionState>, onChannelOptionClick: (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

options

The list of options to show in the UI, according to user permissions.

onChannelOptionClick

Handler for when the user selects a channel action.

modifier

Modifier for styling.