React to a message in a group channel
Message reactions help you build a more engaging chat experience that goes beyond text messages. They are a quick and easy way for users to respond to a message. Users can express their acknowledgement of or feelings about a message without written text by simply adding reactions. They can also view and delete their reactions to the message.
Note: Message reactions are currently available only in group channels.
You can decide how to display reactions that were added to messages in the current user’s chat view.
Note: By using the
PreviousMessageListQuerymethod, messages along with their reactions can also be retrieved. To learn more, see the load previous messages page.
When one of the channel members reacts to a message, the
onReactionUpdated() method in the channel event handler is invoked on all channel members’ devices including the one that belongs to the current user. The
applyReactionEvent() method reflects the reaction change to the message in real time.