ChannelListItemContentParams

data class ChannelListItemContentParams(val channelItem: ItemState.ChannelItemState, val currentUser: User?, val onChannelClick: (Channel) -> Unit, val onChannelLongClick: (Channel) -> Unit)

Parameters for ChatComponentFactory.ChannelListItemContent.

Parameters

channelItem

The channel item state.

currentUser

The currently logged in user.

onChannelClick

Action invoked when the channel is clicked.

onChannelLongClick

Action invoked when the channel is long-clicked.

Constructors

Link copied to clipboard
constructor(channelItem: ItemState.ChannelItemState, currentUser: User?, onChannelClick: (Channel) -> Unit, onChannelLongClick: (Channel) -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard