Types

Link copied to clipboard

Represents an interface for custom MessagesEvent.

Link copied to clipboard

Represents the empty state of the message list.

Link copied to clipboard

Represents the result from when failed messages are removed by MessageCollection.removeFailedMessages.

Link copied to clipboard
class InitApiResult(val channel: ChatGroupChannel, val messages: List<ChatBaseMessage>) : MessagesEvent

Represents the result from when messages are loaded from the API by MessageCollection.initialize.

Link copied to clipboard
class InitCacheResult(val channel: ChatGroupChannel, val cachedMessages: List<ChatBaseMessage>) : MessagesEvent

Represents the result from when messages are loaded from the cache by MessageCollection.initialize.

Link copied to clipboard
class LoadNextResult(val channel: ChatGroupChannel, val loadedMessages: List<ChatBaseMessage>) : MessagesEvent

Represents the result from when the next page of messages are loaded by MessageCollection.loadNext.

Link copied to clipboard
class LoadPreviousResult(val channel: ChatGroupChannel, val loadedMessages: List<ChatBaseMessage>) : MessagesEvent

Represents the result from when the previous page of messages are loaded by MessageCollection.loadPrevious.

Link copied to clipboard
class OnChannelUpdated(val channelContext: <Error class: unknown class>, val channel: ChatGroupChannel) : MessagesEvent

Represents the event received from MessageCollectionHandler.onChannelUpdated.

Link copied to clipboard

Represents the event received from MessageCollectionHandler.onHugeGapDetected.

Link copied to clipboard
class OnMessagesAdded(val messageContext: <Error class: unknown class>, val channel: ChatGroupChannel, val addedMessages: List<ChatBaseMessage>) : MessagesEvent

Represents the event received from MessageCollectionHandler.onMessagesAdded.

Link copied to clipboard
class OnMessagesDeleted(val messageContext: <Error class: unknown class>, val channel: ChatGroupChannel, val deletedMessages: List<ChatBaseMessage>) : MessagesEvent

Represents the event received from MessageCollectionHandler.onMessagesDeleted.

Link copied to clipboard
class OnMessagesUpdated(val messageContext: <Error class: unknown class>, val channel: ChatGroupChannel, val updatedMessages: List<ChatBaseMessage>) : MessagesEvent

Represents the event received from MessageCollectionHandler.onMessagesUpdated.

Properties

Link copied to clipboard

Represents the channel where the messages are loaded from.