ChannelListHeaderParams

constructor(connectionState: ConnectionState, modifier: Modifier = Modifier, title: String = "", currentUser: User? = null, onAvatarClick: (User?) -> Unit = {}, onHeaderActionClick: () -> Unit = {})

Parameters

connectionState

The current connection state.

modifier

Modifier for styling.

title

The title to display in the header.

currentUser

The currently logged in user.

onAvatarClick

Action invoked when the avatar is clicked.

onHeaderActionClick

Action invoked when the header action is clicked.