Skip to main content

Creating Ultra Groups and Channels

The IMLib SDK does not provide interfaces for creating ultra groups or group channels. Please use RC's server-side API (Server API) to create ultra groups, group channels, or perform other management operations.

tip

A single user can join up to 100 ultra groups. Within each group, a single user can join or create up to 50 channels.

This article briefly introduces the basic processes for creating ultra groups and channels.

Creating Ultra Groups

Ultra groups must be created using RC's Server API. For specific interface usage, refer to the server documentation Creating Ultra Groups.

Basic Process

  1. The app client requests the app server (AppServer) to create an ultra group.
  2. The app server calls RC's Server API to create the ultra group, with the group ID generated by the app server.
  3. After successful creation, the ultra group information is returned from the app server to the app client.

Handling and Displaying Ultra Group Lists

The AppServer needs to maintain and distribute the current user's ultra group list to the App for display.

Since apps may need to know the user's ultra group list for business requirements (e.g., sorting groups by priority levels), and RongCloud's ultra group list is message-generated, the two lists may not fully align. It's recommended that apps maintain their own ultra group lists according to business needs.

Creating Group Channels

Group channels must be created using RC's Server API. For specific interface usage, refer to the server documentation Creating Channels.

Basic Process

Handling and Displaying Ultra Group Channel Lists

To allow different users within the same ultra group to view customized lists (e.g., starred channels for special display), the app service should maintain ultra group channel lists more flexibly.

The app server can also categorize ultra groups as needed (as shown in the UI framework design in Ultra Group Overview).