Functions

Link copied to clipboard
abstract fun onChannelDeleted(context: GroupChannelContext, channelUrl: String)

Called when the channel this collection holds is deleted.

Link copied to clipboard
abstract fun onChannelUpdated(context: GroupChannelContext, channel: GroupChannel)

Called when there's a change in the channel this collection holds.

Link copied to clipboard
abstract fun onHugeGapDetected()

Called when the collection has detected a huge gap between current message list. This can happen SDK checks for missing messages, which occurs in two cases.

Link copied to clipboard
abstract fun onMessagesAdded(context: MessageContext, channel: GroupChannel, messages: List<BaseMessage>)

Called when one or more BaseMessage is added to this collection.

Link copied to clipboard
abstract fun onMessagesDeleted(context: MessageContext, channel: GroupChannel, messages: List<BaseMessage>)

Called when one or more BaseMessage is deleted from this collection.

Link copied to clipboard
abstract fun onMessagesUpdated(context: MessageContext, channel: GroupChannel, messages: List<BaseMessage>)

Called when one or more BaseMessage is update in this collection.