DefaultMessageListHeaderCenterContent

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

Represents the center content of MessageListHeader. By default shows header title, that handles if we should show a loading view for network, or the channel information.

Parameters

channel

The channel used for the title information.

currentUser

The current user.

connectionState

A flag that governs if we show the subtitle or the network loading view.

modifier

Modifier for styling.

typingUsers

The list of typing users.

messageMode

Currently active message mode, used to define the title information.

onHeaderTitleClick

Handler for when the user taps on the header title section.