BaseChannelHandler class abstract

The BaseChannel handler. This handler provides callbacks for events related OpenChannel or GroupChannel. All callbacks are called only when the currently logged-in User is a participant or member of OpenChannel or GroupChannel respectively. To add or remove this handler, refer to SendbirdChat.addChannelHandler and SendbirdChat.removeChannelHandler.

Inheritance

Constructors

BaseChannelHandler.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChannelChanged(BaseChannel channel) → void
A callback for when channel property is changed.
onChannelDeleted(String channelUrl, ChannelType channelType) → void
A callback for when channel is deleted.
onChannelFrozen(BaseChannel channel) → void
A callback for when channel is frozen (Users can't send messages). Not for FeedChannel
onChannelUnfrozen(BaseChannel channel) → void
A callback for when channel is unfrozen (Users can send messages). Not for FeedChannel
onMentionReceived(BaseChannel channel, BaseMessage message) → void
A callback for when a mention is received.
onMessageDeleted(BaseChannel channel, int messageId) → void
A callback for when a message is deleted.
onMessageReceived(BaseChannel channel, BaseMessage message) → void
A callback for when a message is received.
onMessageUpdated(BaseChannel channel, BaseMessage message) → void
A callback for when a message is updated.
onMetaCountersCreated(BaseChannel channel, Map<String, int> metaCounters) → void
A callback for when channel meta counters is created. Not for FeedChannel
onMetaCountersDeleted(BaseChannel channel, List<String> metaCounterKeys) → void
A callback for when channel meta counters are deleted. Not for FeedChannel
onMetaCountersUpdated(BaseChannel channel, Map<String, int> metaCounters) → void
A callback for when channel meta counters is updated. Not for FeedChannel
onMetaDataCreated(BaseChannel channel, Map<String, String> metaData) → void
A callback for when channel meta data is created. Not for FeedChannel
onMetaDataDeleted(BaseChannel channel, List<String> metaDataKeys) → void
A callback for when channel meta data is deleted. Not for FeedChannel
onMetaDataUpdated(BaseChannel channel, Map<String, String> metaData) → void
A callback for when channel meta data is updated. Not for FeedChannel
onOperatorUpdated(BaseChannel channel) → void
A callback for when operators change in channel Not for FeedChannel
onReactionUpdated(BaseChannel channel, ReactionEvent event) → void
A callback for when a reactionEvent is updated. Not for FeedChannel
onThreadInfoUpdated(BaseChannel channel, ThreadInfoUpdateEvent event) → void
A callback for when the thread information is updated. Not for FeedChannel
onUserBanned(BaseChannel channel, RestrictedUser restrictedUser) → void
A callback for when a user is banned from channel. Not for FeedChannel
onUserMuted(BaseChannel channel, RestrictedUser restrictedUser) → void
A callback for when a user is muted from channel. Not for FeedChannel
onUserUnbanned(BaseChannel channel, User user) → void
A callback for when a user is unbanned from channel. Not for FeedChannel
onUserUnmuted(BaseChannel channel, User user) → void
A callback for when a user is unmuted from channel. Not for FeedChannel
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited