ChannelInfoScreenModalParams

data class ChannelInfoScreenModalParams(val modal: ChannelInfoViewEvent.Modal?, val isGroupChannel: Boolean, val onViewAction: (ChannelInfoViewAction) -> Unit, val onMemberViewEvent: (ChannelInfoMemberViewEvent) -> Unit, val onDismiss: () -> Unit)

Parameters for ChatComponentFactory.ChannelInfoScreenModal.

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.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val onDismiss: () -> Unit
Link copied to clipboard