MessageListHeaderCenterContent

open fun RowScope.MessageListHeaderCenterContent(modifier: Modifier, channel: Channel, currentUser: User?, connectionState: ConnectionState, typingUsers: List<User>, messageMode: MessageMode, onClick: (Channel) -> Unit?)

The default center content of the message list header. Usually shows the channel title in the top and the channel information or the connection status in the bottom.


open fun RowScope.MessageListHeaderCenterContent(modifier: Modifier, channel: Channel, currentUser: User?, typingUsers: List<User>, messageMode: MessageMode, onHeaderTitleClick: (Channel) -> Unit, connectionState: ConnectionState)

Deprecated

Use the new version of MessageListHeaderCenterContent with a nullable onClick.

Replace with

MessageListHeaderCenterContent(
modifier = modifier,
channel = channel,
currentUser = currentUser,
connectionState = connectionState,
typingUsers = typingUsers,
messageMode = messageMode,
onClick = onHeaderTitleClick,
)

The default center content of the message list header. Usually shows the channel title in the top and the channel information or the connection status in the bottom.