ChannelInfoViewEvent

sealed interface ChannelInfoViewEvent

Represents side-effect events related to channel information actions.

Inheritors

Types

Link copied to clipboard

Indicates an error occurred while adding members to the channel.

Link copied to clipboard

Indicates an error occurred while banning a member.

Link copied to clipboard

Indicates an event to present a modal for banning a member.

Link copied to clipboard
data class BlockUser(val member: Member) : ChannelInfoViewEvent

Indicates an event to block a member's user.

Link copied to clipboard

Indicates an error occurred while blocking a user.

Link copied to clipboard

Indicates an error occurred while deleting a channel.

Link copied to clipboard

Indicates an event to present a modal for deleting a channel.

Link copied to clipboard
sealed interface Error : ChannelInfoViewEvent

Represents error events occurred while performing an action.

Link copied to clipboard

Indicates an error occurred while leaving a channel.

Link copied to clipboard

Indicates an event to present a modal for leaving a channel.

Link copied to clipboard
data class MemberInfoModal(val cid: String, val member: Member) : ChannelInfoViewEvent.Modal

Indicates an event to present a member information modal.

Link copied to clipboard
sealed interface Modal : ChannelInfoViewEvent

Represents modal navigation events.

Link copied to clipboard

Indicates an error occurred while muting a channel.

Link copied to clipboard
data class MuteUser(val member: Member) : ChannelInfoViewEvent

Indicates an event to mute a member's user.

Link copied to clipboard

Indicates an error occurred while muting a user.

Link copied to clipboard

Indicates an event to navigate to the channel with the specified cid.

Link copied to clipboard

Indicates an event to navigate to draft a channel with the specified memberId.

Link copied to clipboard

Indicates an event to navigate to the files attachments.

Link copied to clipboard

Indicates an event to navigate to the media attachments.

Link copied to clipboard

Indicates an event to navigate to the pinned messages.

Link copied to clipboard

Indicates an event to navigate up in the view hierarchy.

Link copied to clipboard

Represents navigation events.

Link copied to clipboard

Indicates an error occurred while removing a member.

Link copied to clipboard

Indicates an event to present a modal for removing a member.

Link copied to clipboard

Indicates an error occurred while renaming a channel.

Link copied to clipboard

Indicates an error occurred while unbanning a member.

Link copied to clipboard
data class UnblockUser(val member: Member) : ChannelInfoViewEvent

Indicates an event to unblock a member's user.

Link copied to clipboard

Indicates an error occurred while unblocking a user.

Link copied to clipboard

Indicates an error occurred while unmuting a channel.

Link copied to clipboard
data class UnmuteUser(val member: Member) : ChannelInfoViewEvent

Indicates an event to unmute a member's user.

Link copied to clipboard

Indicates an error occurred while unmuting a user.