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 user can join or create up to 50 channels.

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

Creating an Ultra Group

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

Basic Process

  1. The app client requests the application server (AppServer) to create an ultra group.
  2. The application server calls RC's Server API to create the ultra group, with the group ID generated by the AppServer.
  3. After successful creation, the AppServer returns the success status 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.

Considering that apps may need to know the user's ultra group list for business requirements (e.g., sorting groups by priority levels), while the ultra group list obtained through RC's IMLib SDK is generated from the local database messages (which may not fully match), 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 a Channel.

Basic Process

Handling and Displaying Ultra Group Channel Lists

To allow different users in the same ultra group to view customized lists (e.g., starred channels requiring special display), the AppServer should adopt a more flexible approach to maintain ultra group channel lists.

The AppServer can also group ultra channels as needed (as shown in the UI framework design under Ultra Group Overview).