ChannelsEvent

sealed interface ChannelsEvent

Represents an interface containing the events of channel lists.

Since

1.0.0-beta.1

Inheritors

Types

Link copied to clipboard

Represents an interface for custom ChannelsEvent.

Link copied to clipboard
class Empty(val totalChannels: List<UikitGroupChannel> = emptyList()) : ChannelsEvent

Represents the empty state of the message list.

Link copied to clipboard
class LoadMoreResult(val totalChannels: List<UikitGroupChannel>) : ChannelsEvent

Represents the result from when the next page of channels are loaded by GroupChannelCollection.loadMore.

Link copied to clipboard
class OnChannelsAdded(val channelContext: <Error class: unknown class>, val totalChannels: List<UikitGroupChannel>) : ChannelsEvent

Represents the event received from GroupChannelCollectionHandler.onChannelsAdded.

Link copied to clipboard
class OnChannelsDeleted(val channelContext: <Error class: unknown class>, val totalChannels: List<UikitGroupChannel>) : ChannelsEvent

Represents the event received from GroupChannelCollectionHandler.onChannelsDeleted.

Link copied to clipboard
class OnChannelsUpdated(val channelContext: <Error class: unknown class>, val totalChannels: List<UikitGroupChannel>) : ChannelsEvent

Represents the event received from GroupChannelCollectionHandler.onChannelsUpdated.

Properties

Link copied to clipboard

Represents the total channels loaded.