GroupChannelHandler class
The GroupChannel handler.
- Inheritance
-
- Object
- BaseChannelHandler
- GroupChannelHandler
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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.
inherited
-
onChannelDeleted(
String channelUrl, ChannelType channelType) → void -
A callback for when channel is deleted.
inherited
-
onChannelFrozen(
BaseChannel channel) → void -
A callback for when channel is frozen (Users can't send messages).
inherited
-
onChannelHidden(
GroupChannel channel) → void - A callback for when GroupChannel is hidden.
-
onChannelMemberCountChanged(
List< GroupChannel> channels) → void - Called when one or more broadcast channel's member counts are changed.
-
onChannelUnfrozen(
BaseChannel channel) → void -
A callback for when channel is unfrozen (Users can send messages).
inherited
-
onDeliveryStatusUpdated(
GroupChannel channel) → void -
A callback for when delivered receipts are updated on
GroupChannel
. To use the updated delivered receipt, refer toGroupChannelRead.getUndeliveredMembers
-
onMentionReceived(
BaseChannel channel, BaseMessage message) → void -
A callback for when a mention is received.
inherited
-
onMessageDeleted(
BaseChannel channel, int messageId) → void -
A callback for when a message is deleted.
inherited
-
onMessageReceived(
BaseChannel channel, BaseMessage message) → void -
A callback for when a message is received.
inherited
-
onMessageUpdated(
BaseChannel channel, BaseMessage message) → void -
A callback for when a message is updated.
inherited
-
onMetaCountersCreated(
BaseChannel channel, Map< String, int> metaCounters) → void -
A callback for when channel meta counters is created.
inherited
-
onMetaCountersDeleted(
BaseChannel channel, List< String> metaCounterKeys) → void -
A callback for when channel meta counters are deleted.
inherited
-
onMetaCountersUpdated(
BaseChannel channel, Map< String, int> metaCounters) → void -
A callback for when channel meta counters is updated.
inherited
-
onMetaDataCreated(
BaseChannel channel, Map< String, String> metaData) → void -
A callback for when channel meta data is created.
inherited
-
onMetaDataDeleted(
BaseChannel channel, List< String> metaDataKeys) → void -
A callback for when channel meta data is deleted.
inherited
-
onMetaDataUpdated(
BaseChannel channel, Map< String, String> metaData) → void -
A callback for when channel meta data is updated.
inherited
-
onOperatorUpdated(
BaseChannel channel) → void -
A callback for when operators change in channel
inherited
-
onPinnedMessageUpdated(
GroupChannel channel) → void - A callback for when pinned message is changed.
-
onPollDeleted(
GroupChannel channel, int pollId) → void - Called when a poll is deleted.
-
onPollUpdated(
GroupChannel channel, PollUpdateEvent event) → void - Called when a poll is updated. The user should search for cached messages that contain this event's poll (PollUpdateEvent.pollId, PollUpdateEvent.messageId) and call Poll.applyPollUpdateEvent on those messages.
-
onPollVoted(
GroupChannel channel, PollVoteEvent event) → void - Called when one or more vote is cast/canceled on a poll. The user should search for cached messages that contain this event's poll (PollVoteEvent.pollId, PollVoteEvent.messageId) and call Poll.applyPollVoteEvent on those messages.
-
onReactionUpdated(
BaseChannel channel, ReactionEvent event) → void -
A callback for when a reactionEvent is updated.
inherited
-
onReadStatusUpdated(
GroupChannel channel) → void -
A callback for when read receipts are updated on
GroupChannel
. To use the updated read receipt, refer toGroupChannelRead.getReadStatus
,GroupChannelRead.getReadMembers
,GroupChannelRead.getUnreadMembers
. -
onThreadInfoUpdated(
BaseChannel channel, ThreadInfoUpdateEvent event) → void -
A callback for when the thread information is updated.
inherited
-
onTypingStatusUpdated(
GroupChannel channel) → void -
A callback for when
User
s send typing status forGroupChannel
. To use the typing status, refer toGroupChannelTyping.isTyping
andGroupChannelTyping.getTypingUsers
. -
onUserBanned(
BaseChannel channel, RestrictedUser restrictedUser) → void -
A callback for when a user is banned from channel.
inherited
-
onUserDeclinedInvitation(
GroupChannel channel, User invitee, User? inviter) → void - A callback for when the newly invited member has declined the invitation for the GroupChannel.
-
onUserJoined(
GroupChannel channel, User user) → void - A callback for when a new member has joined GroupChannel. To use the updated member list, refer to GroupChannel.members and GroupChannel.memberCount.
-
onUserLeft(
GroupChannel channel, User user) → void - A callback for when an existing member has left GroupChannel. To use the updated member list and count, refer to GroupChannel.members and GroupChannel.memberCount.
-
onUserMuted(
BaseChannel channel, RestrictedUser restrictedUser) → void -
A callback for when a user is muted from channel.
inherited
-
onUserReceivedInvitation(
GroupChannel channel, List< User> invitees, User? inviter) → void -
A callback for when a new member has been invited to
GroupChannel
. If the member accepts the invitation (refer toGroupChannelOperation.acceptInvitation
), onUserJoined will be called. Or, the member can also decline the invitation (refer toGroupChannelOperation.declineInvitation
) to cause onUserDeclinedInvitation. -
onUserUnbanned(
BaseChannel channel, User user) → void -
A callback for when a user is unbanned from channel.
inherited
-
onUserUnmuted(
BaseChannel channel, User user) → void -
A callback for when a user is unmuted from channel.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited