Instant Messaging
Server
Getting Started
Limits
Platform Service
Webhooks
Overview
Message-related Callback
Related Callbacks of User Information
Related Callbacks of Advanced Team
Related Callbacks of Super Team
Related Callbacks of Audio and Video
Callback related to Log in
Data Sync
Data Sync Overview
Activate Data Sync
IM Session Message Delivery
Other IM Message Delivery
Audio/video/whiteboard Duration Message Delivery
Content Moderation
Overview
Best Practice
API Reference
Overview
Status Code
Account Management
Register Accounts
Refresh Token
Ban Accounts
Mute Accounts
Push Notification
Login Authentication
Messaging
Send Messages
Unsend Messages
Send Broadcast Messages
Upload Files
Delete a message
Delete a roaming message
Message history
History
Custom system notification
Custom system notification
User Profile
User Relationship
Host User Relationship
Group
Advanced group
Supergroup
Chat room
Create a chat room
Get the URL of a chat room
Update chat room info
Edit chat room states
Set a timer to close a chat room
Manage roles
Get the member list
Manage chatbots
Manage tags
Message queues
Online Status

Limits

Update time: 2022/12/08 11:06:02

Messaging

Item Limit
Message body The maximum length of the body field can contain 5,000 characters
Image message No limit is applied. Implement limits based on your business requirements.
Audio message The default recording duration lasts 120 seconds (custom configuration is supported). The file size is unlimited. Implement limits based on your business scenario.
Video message The video duration and size are unlimited. Implement limits based on your business scenario.
File message Size of upload files from the SDK is unlimited. The maximum size of upload files from the server is 15 MB. Implement limits based on your business scenario.
offline messages For peer-to-peer chats: the last 5,000 offline messages within 30 days are delivered (up to 100 messages per session).
For group chats: offline messages for the last 30 days are delivered (up to 100 messages per session).
Note: Offline messages for chat rooms are not supported.
Roaming message Roaming messages in the last 100 sessions within 7 days, the last 100 messages per session are roamed
Validity period for P2P chat or group chat message history 7 days for the free tier; 1 year for IM Pro, up to 3 years can be extended (value-added)
Validity period for chat room message history 10 days
the NOS storage service Free tier: 1 TB; IM Pro: 1 TB, up to 1000 TB can be extended (value-added)

For the charges of the previous value-added features, see Pricing.

Friend relationship

Item Limit
Number of friends 3,000 friends can be added by default, and 10,000 friends can be extended.

Profile

Parameter Type Description
accid String User account, up to 32 characters, unique within your app.
name String The nickname can contain up to 64 characters
icon String User icon, up to 1024 characters.
sign String Bio, up to 256 characters.
email String The email can contain up to 64 characters.
birth String User icon, up to 16 characters.
mobile String Mobile phone number, up to 32 characters, only phone numbers registered in China are supported
gender int Gender, 0: Prefer not to respond, 1: male, 2: female. Other values return an error.
ex String Profile extension field, up to 1,024 characters are allowed. You can customize the field. A JSON string is preferred.

Group

Item Limit
Group capacity 200 people/group. You can increase the quota to 500 people/group.
Number of groups a user can create 100 groups/account (50 groups/account for the free tier), You can increase the quota to 2,000 people/group.
Number of groups a user can join 5,000 groups/account

For the charges of the previous value-added features, see Pricing.

Chat room

Item Limit
Chat room capacity No limit is applied
Number of chat rooms a user can create 200 chat rooms per user. To expand the capacity, contact the account manager.
Multi-device logins for the same chat room By default, only one device is allowed to join a chat room at the same time. You can configure the settings in the CommsEase console.

To configure settings in the console, log in to the CommsEase console

Event subscription

Item Limit
Subscription Subscribe to the online status events of specified users. Each account has a maximum of 3,000 valid subscription accounts.

API rate limit

Item Limit
Message traffic control in chat rooms By default, 20 regular messages and 10 high-priority messages can be sent in one second.
Send a regular message 100 times per second by default.
Send a custom system notification 100 times per second by default.
Send multiple common messages at a time 120 times per second by default.
Send multiple system notifications at a time 120 times per second by default.
Group management operations 100 times per second by default.
Send a broadcast message 10 times per second by default.
Send a message in a chat room 100 times per second by default.
Send a broadcast message across all chat rooms 10 times per second by default.
Was this topic helpful?
Yes
No
  • Messaging
  • Friend relationship
  • Profile
  • Group
  • Chat room
  • Event subscription
  • API rate limit