ChannelInfoOptionItem

Factory method for creating the channel info option item used in direct and group channel info screens.

Parameters

option

The channel info option to display.

isGroupChannel

Whether the channel is a group channel.

onViewAction

Callback invoked when a view action is triggered.