SDK v7.x · Last verified March 2026 · iOS · Android · Web · Flutter
Speed run — just the code
Speed run — just the code
Prerequisites: Messages are being sent and received → Sending Messages
Quick Start: React to a Message
Step-by-Step Implementation
1
Add and remove reactions
2
Display reaction counts
Reaction data is available directly on the message object. The Live Collection automatically pushes updates when another user reacts.For a detailed breakdown (who reacted), query the reaction list:
3
Reply to a message (threading)
Replies use the same → Reply to a Message
createMessage call with an additional parentId. This links the reply to its parent without a separate thread API.4
Query replies for a parent message
Pass The parent message itself contains a
parentId to getMessages to retrieve only the replies in a thread.replyCount property that you can use to display a “View N replies” button without loading the full thread.Connect to Moderation & Analytics
Flag inappropriate reactions
Flag inappropriate reactions
Users can report messages that have received reactions containing offensive content. Reports appear in Admin Console → Content Moderation → Flagged Items.
Webhook: reaction events
Webhook: reaction events
reaction.added and reaction.removed webhook events let you track engagement patterns or sync reaction data to your analytics pipeline.→ Webhook EventsCommon Mistakes
Best Practices
Limit your reaction emoji set
Limit your reaction emoji set
Curate a small emoji picker (6–8 options) rather than exposing the full Unicode emoji keyboard. This speeds up rendering and keeps reaction data cleaner. Store allowed reactions in your app’s config or in the channel’s
metadata.Show reply count before expanding
Show reply count before expanding
Use the
replyCount field on the parent message to render a “View 3 replies” button. Only query the thread on demand — lazy loading keeps the initial message feed fast.Nest replies only one level deep
Nest replies only one level deep
social.plus supports single-level threading (replies to a message). Deeply nested threads hurt UX on mobile. Flatten all replies to one level even if your users try to reply-to-a-reply.
Next Steps
Unread Counts
Surface unread message and mention badges across channels.
Rich Media Messages
Let users share images, files, and audio in addition to reactions.
Chat Moderation
Moderate inappropriate reactions and replies from the admin console.