ChannelMenu

open fun ChannelMenu(modifier: Modifier, selectedChannel: Channel, isMuted: Boolean, currentUser: User?, onChannelOptionClick: (ChannelAction) -> Unit, onDismiss: () -> Unit)

Factory method for creating the full content of the SelectedChannelMenu.

Parameters

modifier

The modifier for the menu.

selectedChannel

The selected channel.

isMuted

Whether the channel is muted.

currentUser

The current user.

onChannelOptionClick

Callback for when a channel option is clicked.

onDismiss

Callback for when the menu is dismissed.