Comprehensive guide to social.plus Chat messaging capabilities including message types, real-time synchronization, and advanced features
Content Type | Limit | Recommendation |
---|---|---|
Text Content | 20,000 characters | Optimal for rich text and formatted content |
Custom JSON | 100KB total size | Ideal for structured data and metadata |
Binary Data | External storage | Use cloud storage URLs for large files |
Property | Type | Description | Notes |
---|---|---|---|
messageId | String | Unique identifier for the message | Auto-generated, immutable |
channelId | String | Channel where the message was created | Links message to conversation |
userId | String | ID of the user who created the message | Message author identification |
type | String | Message type identifier | text , image , file , custom |
data | Object | Message content and metadata | Type-specific structure |
Property | Type | Description | Use Case |
---|---|---|---|
parentId | String | Parent message ID for replies | Threading and conversation organization |
childrenNumber | Integer | Count of reply messages | Thread management and UI indicators |
Property | Type | Description | Behavior |
---|---|---|---|
tags | Array<String> | Message categorization labels | Filtering and organization |
isDeleted | Boolean | Soft deletion status | Preserves structure while hiding content |
Property | Type | Description | Use Case |
---|---|---|---|
createdAt | Date | Message creation timestamp | Chronological ordering |
updatedAt | Date | Last modification timestamp | Change tracking |
editedAt | Date | Last edit timestamp | Edit history and indicators |
Property | Type | Description | Structure |
---|---|---|---|
reactions | Object | Reaction data with counts | { "like": 5, "heart": 2 } |
reactionsCount | Integer | Total reaction count | Sum of all reaction types |
myReactions | Array<String> | Current user’s reactions | ["like", "heart"] |
flagCount | Integer | Number of user flags | Moderation metric |
Message Creation Workflow
Real-Time Synchronization
Content Management
User Experience Design
Basic Message Sending
Add Rich Content
Implement Interactions
Enable Real-Time
Add Moderation