ChannelActionsSheet
fun ChannelActionsSheet(channel: Channel, actions: List<ChannelAction>, onActionClick: (ChannelAction) -> Unit, onDismiss: () -> Unit, modifier: Modifier = Modifier, currentUser: User? = null)
Bottom sheet showing the available actions for a channel.
Customize the rendered content by overriding io.getstream.chat.android.compose.ui.theme.ChatComponentFactory.ChannelMenuHeaderContent or io.getstream.chat.android.compose.ui.theme.ChatComponentFactory.ChannelMenuCenterContent.
Parameters
channel
The channel the actions apply to.
actions
The list of actions to show.
onActionClick
Invoked when the user clicks an action. Destructive actions route through a separate confirmation step before executing.
onDismiss
Invoked when the sheet is dismissed.
modifier
Modifier applied to the sheet container.
currentUser
The currently logged-in user. Used by the default header to derive inline state icons (muted, pinned).