Package-level declarations
Types
Link copied to clipboard
class ArchiveChannel(val channel: Channel, val label: String, val onAction: () -> Unit) : ChannelAction
Archive the channel.
Link copied to clipboard
interface ChannelAction
A self-describing channel action that carries display info, capability requirements, and an execution handler. Works for swipe actions, options menus, and any future action surface.
Link copied to clipboard
Represents a confirmation popup that should be shown before executing a ChannelAction.
Link copied to clipboard
class DeleteConversation(val channel: Channel, val label: String, val onAction: () -> Unit, val confirmationPopup: ConfirmationPopup? = null) : ChannelAction
Delete the conversation.
Link copied to clipboard
class LeaveGroup(val channel: Channel, val label: String, val onAction: () -> Unit, val confirmationPopup: ConfirmationPopup? = null) : ChannelAction
Leave the group channel.
Link copied to clipboard
class MuteChannel(val channel: Channel, val label: String, val onAction: () -> Unit) : ChannelAction
Mute the channel.
Link copied to clipboard
Pin the channel.
Link copied to clipboard
class UnarchiveChannel(val channel: Channel, val label: String, val onAction: () -> Unit) : ChannelAction
Unarchive the channel.
Link copied to clipboard
class UnblockUser(val channel: Channel, val label: String, val onAction: () -> Unit) : ChannelAction
Unblock a user (used in DM channels).
Link copied to clipboard
class UnmuteChannel(val channel: Channel, val label: String, val onAction: () -> Unit) : ChannelAction
Unmute the channel.
Link copied to clipboard
Unmute a user (used in DM channels).
Link copied to clipboard
class UnpinChannel(val channel: Channel, val label: String, val onAction: () -> Unit) : ChannelAction
Unpin the channel.