ChannelInfoScreenModalParams

constructor(modal: ChannelInfoViewEvent.Modal?, isGroupChannel: Boolean, onViewAction: (ChannelInfoViewAction) -> Unit, onMemberViewEvent: (ChannelInfoMemberViewEvent) -> Unit, onDismiss: () -> Unit)

Parameters

modal

Which modal to display.

isGroupChannel

Whether the channel is a group channel.

onViewAction

Action invoked when a view action is triggered.

onMemberViewEvent

Action invoked when a member view event is triggered.

onDismiss

Action invoked when the modal is dismissed.