Conversation Overview
A conversation refers to the logical relationship automatically established and maintained by the RC SDK based on information such as the sender, recipient, and conversation type of each message. It is an abstract concept.
Conversation Types
RC supports multiple conversation types to meet various business scenario requirements. The client SDK uses the ConversationType enumeration to represent different conversation types. The meanings of each enumeration value are as follows:
| Conversation Type | Description |
|---|---|
| ConversationType.PRIVATE | One-to-one chat |
| ConversationType.GROUP | Group chat |
| ConversationType.CHATROOM | Chatroom |
| ConversationType.SYSTEM | System conversation |
| ConversationType.ULTRA_GROUP | Ultra group chat |
One-to-One Chat
Refers to a one-on-one chat between two users, who can be either friends or strangers. RC does not maintain user relationships but is responsible for establishing and maintaining the conversation relationship.
Group Chat
A group chat involves more than two users chatting together. Group member information is provided and maintained by the App, while RC is only responsible for delivering messages to all group members. Each group can have a maximum of 3,000 members, and there is no limit to the number of groups in an App.
Ultra Group Chat
An ultra group chat refers to a multi-user chat service with no member limit, supporting massive concurrent message delivery and push notification services. Group member information is provided and maintained by the App, while RC is responsible for delivering messages to group members. There is no limit to the number of ultra groups in an App, and an ultra group has no member limit. A user can join up to 100 ultra groups. For more details, see Ultra Group Overview.
Chatroom
A chatroom has no user limit, supports massive concurrent message delivery, and users will no longer receive any messages from the chatroom after leaving. There is no push notification functionality. The conversation relationship is established and maintained by RC. Through relevant SDK interfaces, users can join or leave a chatroom.
The SDK does not store chatroom messages and will clear all data for a chatroom when a user leaves.
System Conversation
A system conversation refers to a conversation relationship established by sending messages to users via a system account. This type of conversation can be established by broadcasting messages via the broadcast interface or by sending individual notification messages such as friend requests.