ChannelListHeaderParams

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

Parameters for ChatComponentFactory.ChannelListHeader.

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.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
val currentUser: User? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard