Documentation Index
Fetch the complete documentation index at: https://learn.social.plus/llms.txt
Use this file to discover all available pages before exploring further.
SDK v7.x · Last verified March 2026 · iOS · Android · Web · Flutter
Speed run — just the code
Speed run — just the code
Prerequisites: Channel created and user is a member → Channels & Conversations
Limits at a Glance
| Property | Limit |
|---|---|
| Max text length | 20,000 characters |
| Max tags per message | 5 |
| Max metadata size | 100 KB JSON |
| Max mentions per message | 30 |
| Soft-delete behavior | Placeholder remains visible |
Quick Start: Send and Receive Messages
Step-by-Step Implementation
Send a text message
Query message history with pagination
Subscribe to real-time updates
The Live Collection already handles real-time updates — new messages, edits, and deletions all trigger → Real-time Events
dataUpdated. No extra setup required.For advanced use cases (e.g., detecting when other users are typing), subscribe to the raw event stream:Edit and delete messages
Connect to Moderation & Analytics
AI content moderation on messages
AI content moderation on messages
social.plus AI Moderation automatically scans message text and flags violations before they’re visible to other users. Enable it in Admin Console → AI Content Moderation.→ AI Content Moderation
Webhook: message events
Webhook: message events
Subscribe to
message.created, message.updated, and message.deleted webhook events to sync message data or trigger business logic in your backend.→ Webhook EventsCommon Mistakes
Best Practices
Optimistic rendering for send
Optimistic rendering for send
- Show the message instantly in the UI before the server confirms it
- Mark it with a
sendingstate indicator (spinner or dim text) - Replace with the confirmed message on success, or show a retry button on failure
- This is the standard pattern for all major chat apps
Limit history to what's visible
Limit history to what's visible
- Start with 20–30 messages on first load
- Paginate backwards only when the user scrolls to the top
- Fetching large histories upfront increases load time and memory use, especially on mobile
Use tags for search and filtering
Use tags for search and filtering
Next Steps
Reactions & Replies
Add emoji reactions and threaded replies to messages.
Rich Media Messages
Send images, audio, video, and file attachments.
Unread Counts
Surface unread badges and per-message read receipts.