handleCidEvent
open override fun handleCidEvent(event: CidEvent, filter: FilterObject, cachedChannel: Channel?): EventHandlingResult
Handles additional events:
NewMessageEvent - adds the channel to the set if its not a system message.
MemberRemovedEvent - removes the channel from the set if a current user left.
MemberAddedEvent - adds the channel to the set if a current user was added.
Return
EventHandlingResult Result of handling.
Parameters
event
ChatEvent that may contain updates for the set of channels.
filter
FilterObject associated with the set of channels. Can be used to define the result of handling.
cachedChannel
Optional cached Channel object if exists.