ChannelMenuParams

constructor(selectedChannel: Channel, currentUser: User?, channelActions: List<ChannelAction>, onChannelOptionConfirm: (ChannelAction) -> Unit, onDismiss: () -> Unit, modifier: Modifier = Modifier)

Parameters

selectedChannel

The selected channel.

currentUser

The currently logged in user.

channelActions

The list of channel actions.

onChannelOptionConfirm

Action invoked when a channel option is confirmed.

onDismiss

Action invoked when the menu is dismissed.

modifier

Modifier for styling.