ChannelListItemContentParams

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

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.