ChannelHeaderParams

constructor(channel: Channel, connectionState: ConnectionState, modifier: Modifier = Modifier, currentUser: User? = null, typingUsers: List<User> = emptyList(), messageMode: MessageMode = MessageMode.Normal, onBackPressed: () -> Unit = {}, onHeaderTitleClick: (Channel) -> Unit? = null, onChannelAvatarClick: (Channel) -> Unit? = null)

Parameters

channel

The channel to display header for.

connectionState

The current connection state.

modifier

Modifier for styling.

currentUser

The currently logged in user.

typingUsers

The list of users currently typing.

messageMode

The current message mode.

onBackPressed

Action invoked when the back button is pressed.

onHeaderTitleClick

Action invoked when the header title is clicked.

onChannelAvatarClick

Action invoked when the channel avatar is clicked.