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

Represents the empty state of the message list.

Link copied to clipboard
class LoadMoreResult(val loadedChannels: List<ChatGroupChannel>) : 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 addedChannels: List<ChatGroupChannel>) : ChannelsEvent

Represents the event received from GroupChannelCollectionHandler.onChannelsAdded.

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

Represents the event received from GroupChannelCollectionHandler.onChannelsDeleted.

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

Represents the event received from GroupChannelCollectionHandler.onChannelsUpdated.