FeedChannelHandler

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun onChannelChanged(channel: BaseChannel)

A callback for when channel property is changed.

Link copied to clipboard
open fun onChannelDeleted(channelUrl: String, channelType: ChannelType)

A callback for when channel is deleted.

Link copied to clipboard
open override fun onChannelFrozen(channel: BaseChannel)

A callback for when channel is frozen (Users can't send messages).

Link copied to clipboard
open override fun onChannelUnfrozen(channel: BaseChannel)

A callback for when channel is unfrozen (Users can send messages).

Link copied to clipboard
open fun onMentionReceived(channel: BaseChannel, message: BaseMessage)

A callback for when a mention is received.

Link copied to clipboard
open fun onMessageDeleted(channel: BaseChannel, msgId: Long)

A callback for when a message is deleted.

Link copied to clipboard
abstract fun onMessageReceived(channel: BaseChannel, message: BaseMessage)

A callback for when a message is received.

Link copied to clipboard
open fun onMessageUpdated(channel: BaseChannel, message: BaseMessage)

A callback for when a message is updated.

Link copied to clipboard
open override fun onMetaCountersCreated(channel: BaseChannel, metaCounterMap: Map<String, Int>)

A callback for when channel meta counters is created.

Link copied to clipboard
open override fun onMetaCountersDeleted(channel: BaseChannel, keys: List<String>)

A callback for when channel meta counters are deleted.

Link copied to clipboard
open override fun onMetaCountersUpdated(channel: BaseChannel, metaCounterMap: Map<String, Int>)

A callback for when channel meta counters is updated.

Link copied to clipboard
open override fun onMetaDataCreated(channel: BaseChannel, metaDataMap: Map<String, String>)

A callback for when channel meta data is created.

Link copied to clipboard
open override fun onMetaDataDeleted(channel: BaseChannel, keys: List<String>)

A callback for when channel meta data is deleted.

Link copied to clipboard
open override fun onMetaDataUpdated(channel: BaseChannel, metaDataMap: Map<String, String>)

A callback for when channel meta data is updated.

Link copied to clipboard
open override fun onOperatorUpdated(channel: BaseChannel)

A callback for when operators change in channel

Link copied to clipboard
open override fun onReactionUpdated(channel: BaseChannel, reactionEvent: ReactionEvent)

A callback for when a reactionEvent is updated.

Link copied to clipboard
open fun onReadStatusUpdated(channel: FeedChannel)

A callback for when read receipts are updated on FeedChannel.

Link copied to clipboard
open override fun onThreadInfoUpdated(channel: BaseChannel, threadInfoUpdateEvent: ThreadInfoUpdateEvent)

A callback for when the thread information is updated.

Link copied to clipboard
open override fun onUserBanned(channel: BaseChannel, restrictedUser: RestrictedUser)

A callback for when user is banned from channel.

Link copied to clipboard
open override fun onUserMuted(channel: BaseChannel, restrictedUser: RestrictedUser)

A callback for when a User is muted from channel.

Link copied to clipboard
open override fun onUserUnbanned(channel: BaseChannel, user: User)

A callback for when user is unbanned from channel.

Link copied to clipboard
open override fun onUserUnmuted(channel: BaseChannel, user: User)

A callback for when User is unmuted from channel.