Skip to main content

Create a community channel and subchannels

The Chat SDK does not provide client-side APIs for creating community channels or subchannels. Use the Nexconn Server API for these operations.

tip

A single user can join up to 100 community channels and create or join up to 50 subchannels within each community.

Create a community channel

Creating a community channel requires the Server API. See Create a community channel in the Server API documentation.

Basic flow

  1. The app client requests the app server to create a community channel.
  2. The app server calls the Nexconn Server API to create the community channel. The channel ID is generated by the app server.
  3. On success, the app server notifies the client.

Managing the community channel list

Your app server should maintain the community channel list for each user and send it to the client for display.

The Chat SDK generates a local community channel list based on messages in the local database, which may not match the complete list from your server. We recommend maintaining the list on your app server to support business-specific features like channel ranking and ordering.

Create a subchannel

Creating a subchannel also requires the Server API. See Create a subchannel in the Server API documentation.

Basic flow

Managing the subchannel list

To support personalized subchannel lists for different users within the same community (for example, starred channels), your app server should maintain subchannel lists per user.

Your app server can also organize subchannels into groups, as shown in the UI framework design in the Community channel overview.