ChannelInfoOptionItemParams
data class ChannelInfoOptionItemParams(val option: ChannelInfoViewState.Content.Option, val isGroupChannel: Boolean, val onViewAction: (ChannelInfoViewAction) -> Unit)
Parameters for ChatComponentFactory.ChannelInfoOptionItem.
Parameters
option
The channel info option to display.
isGroupChannel
Whether the channel is a group channel.
onViewAction
Action invoked when a view action is triggered.
Constructors
Link copied to clipboard
constructor(option: ChannelInfoViewState.Content.Option, isGroupChannel: Boolean, onViewAction: (ChannelInfoViewAction) -> Unit)