ChannelHeaderCenterContentParams
data class ChannelHeaderCenterContentParams(val channel: Channel, val connectionState: ConnectionState, val modifier: Modifier = Modifier, val currentUser: User? = null, val typingUsers: List<User> = emptyList(), val messageMode: MessageMode = MessageMode.Normal, val onClick: (Channel) -> Unit? = null)
Parameters for ChatComponentFactory.ChannelHeaderCenterContent.
Parameters
channel
The channel to display.
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.
onClick
Action invoked when the header is clicked.
Constructors
Link copied to clipboard
constructor(channel: Channel, connectionState: ConnectionState, modifier: Modifier = Modifier, currentUser: User? = null, typingUsers: List<User> = emptyList(), messageMode: MessageMode = MessageMode.Normal, onClick: (Channel) -> Unit? = null)