BaseChannelDelegate
An object that adopts the BaseChannelDelegate
protocol is responsible for receiving the events
in the channel. Delegate methods in BaseChannelDelegate
are common for the BaseChannel
.
Exclusive delegate methods for OpenChannel
and GroupChannel
can be found in
OpenChannelDelegate
and GroupChannelDelegate
. You must use OpenChannelDelegate
and GroupChannelDelegate
instead of using BaseChannelDelegate
by using add(_:identifier:)
in SendbirdChat
.
Warning
If the object that adopts theBaseChannelDelegate
protocol is invalid, the delegate has to
be removed by the identifier via removeChannelDelegate(forIdentifier:)
in SendbirdChat
.
This protocol deals with the below events.
- Receives a message in the
BaseChannel
. - Receives an event when a message is updated in the
BaseChannel
. - Receives an event when the property of the
BaseChannel
was changed. - Receives an event when the
BaseChannel
was deleted. - Receives an event when a message in the
BaseChannel
was deleted. - Receives an event when meta data in the
BaseChannel
was changed. - Receives an event when meta counters in the
BaseChannel
were changed. - Receives an event when a group channel was hidden.
- Receives an event when a user was muted or unmuted in the
BaseChannel
. - Receives an event when a user was banned or unbanned in the
BaseChannel
. - Receives an event when operators are updated.
- Receives an event when a reaction of message in a channel was updated.
-
A callback when a message is received.
-
A callback when a message is updated.
-
A delegate is called when someone mentioned the user.
-
A callback when a user was muted in the channel.
-
A callback when a user was unmuted in the channel.
-
A callback when a user was banned in the channel.
-
A callback when a user was unbanned in the channel.
-
A callback when a channel was frozen.
-
A callback when an channel was unfrozen.
-
A callback for when channel property is changed.
-
A callback for when a channel was deleted.
-
A callback when a message was removed in the channel.
-
A callback when meta data was created in the channel.
-
A callback when meta data was updated in the channel.
-
A callback when meta data was deleted in the channel.
-
A callback when meta counters were created in the channel.
-
A callback when meta counters were updated in the channel.
-
A callback when meta counters were deleted in the channel.
-
A callback when a reaction was updated.
-
A callback when operators were updated in the channel.
Since
3.0.174 -
Invoked when the thread information is updated.
Since
3.0.181