Android
Supergroup Channel

Supergroup Channel

A Supergroup channel is an expanded version of a group channel, which can accommodate more than 2,000 members while serving the same functions as a group channel. The maximum number of channel members can stretch up to 20,000 depending on your Sendbird plan. Because a Supergroup channel is built upon the same foundation as a group channel, Platform APIs and SDK functions for both channel types are identical.

Note: Supergroup and group channels are alike in terms of Platform API and SDK design, except for the super option. The super option indicates whether the channel is a Supergroup channel or a group channel.


Use cases

Supergroup channels can be used for a wide range of occasions that demand real-time engagement among a large number of users. One of the common use cases for Supergroup channels is community building, ranging from public forums to private events with a large number membership.

  • Consultation: Supergroup channels also work as a platform for users to seek advice from an influencer or expert.
  • Gaming community: Another common set-up is gaming communities, where users gather to find players to team up with or exchange ideas and strategies to advance further in the game.

Limitations

To secure stable operation and optimized user experience of a Supergroup channel, a few functions are subject to limits. Some of those limitations include:

  • Visual interactions: read and delivery receipts aren’t supported in Supergroup channels to provide an optimal performance in Supergroup channels.
  • Unread counts: unread counts are marked up to 100 only. In the case they surpass 100, we suggest you display the counts as 99+ to avoid confusion.
  • Push notifications: The way push notifications for Supergroup channels work is determined by two factors: the number of members in a channel and the online status of its member.
    • When there are less than 100 members: A push notification will be sent for every message created in the channel.
    • When there are 100 members or more: A ten-minute time window will be applied to Supergroup channels with more than 100 members. Once the number of members exceeds 100 and a new message is created, a push notification will be sent for the new message and then the next push notification can come ten minutes after that.
      For example, the number of members in Channel A surpasses 100 at 13:00 and then a new message is sent at 13:01, a push notification will be sent for the 13:01 message and the ten-minute time window begins. For the following ten minutes, there will be no push notifications for any messages created within the time frame. When ten minutes pass and another message is sent at 13:11, the second push notification will be made for that message.
    • When a user becomes active: If one of the Supergroup channel members enters the channel and reads a message, the user will be recognized as active. Then only for the following one minute, the user will be receiving push notifications for all messages sent within the time frame.

Open channel vs. Group channel vs. Supergroup channel

The following table compares the difference among three types of channels that can accommodate a large number of users: Open channels, Group channels, and Supergroup channels.

Open channelGroup channelSupergroup channel

Maximum number in a channel

*The maximum number can be adjusted depending on use cases. Contact our sales team.

1,000 participants

100 members

2,000 and more members

* The number varies depending on your Sendbird plan.

Accessible by

Anyone within the application

Invited users only if private or anyone if public

Invited users only if private or anyone if public

Ephemeral messaging

Supported

Supported

Supported

Add users as friends

N/A

Supported

Supported

Online presence

Supported

Supported

Supported

Last message

N/A

Supported

Supported

UIKit

N/A

Supported

Supported

Operators

Supported

Supported

Supported

Ban users

Supported

Supported

Supported

Mute users

Supported

Supported

Supported

Freeze channels

Supported

Supported

Supported

Delivery receipts

N/A

Supported

N/A

Read receipts

N/A

Supported

N/A

Unread counts

N/A

Supported

Supported

* Up to 100 unread counts are supported.

Typing indicators

N/A

Supported

Supported

* Up to 3 concurrent indicators are supported.

Mention others in message

Supported

Supported

Supported

Mention counts

N/A

Supported

Supported

Reactions

N/A

Supported

Supported

Spam flood protection

Supported

Supported

Supported

Chatbot interface

Supported

Supported

Supported

Smart throttling

Supported (Default: true)

Supported (Default: false)

Supported (Default: false)

Push notifications

N/A

* Push notifications for announcements only.

Supported

* Push notifications for every message sent.

Supported

* Refer to Limitations.

View a channel with its participant list or member list

N/A

Supported

Supported

* Only ten members are retrieved as a preview.
To get an entire list of members, use the list members API instead.

Pagination for participant list or member list

Supported

Supported

Supported

Order of channel list

- Chronological

- Chronological
- Latest last message
- Channel name
- Metadata value

- Chronological
- Latest last message
- Channel name
- Metadata value


Create a Supergroup channel

Creating a Supergroup channel follows exactly the same process of creating a group channel with one exception of the setSuper() method. The GroupChannelParams class has the setSuper() method, which determines whether a newly created channel will be a Supergroup channel or a group channel. By setting it to true, a new Supergroup channel is created.

Note: Supergroup channels are not supported with the distinct option and the option is false by default.

Light Color Skin
Copy
GroupChannelParams params = new GroupChannelParams()
        .addUser(USERS)
        ...
        .setSuper(true);
        .setPublic()

GroupChannel.createChannel(params, new GroupChannel.GroupChannelCreateHandler() {
    @Override
    public void onResult(GroupChannel groupChannel, SendBirdException e) {
        if (e != null) {    // Error.
            return;
        }
    }
});

Retrieve a list of Supergroup channels using a filter

Like how you search group channels using filters, you can retrieve a list of Supergroup channels through the GroupChannelListQuery's setSuperChannelFilter() method. You can tell which channel is a Supergroup channel by looking for the groupChannel.isSuper property. If the property has a value of true, the channel is a Supergroup channel.

Light Color Skin
Copy
GroupChannelListQuery groupChannelListQuery = GroupChannel.createMyGroupChannelListQuery();
groupChannelListQuery.setSuperChannelFilter(GroupChannelListQuery.SuperChannelFilter.SUPER_CHANNEL_ONLY);
groupChannelListQuery.next(new GroupChannelListQuery.GroupChannelListQueryResultHandler() {
    @Override
    public void onResult(List<GroupChannel> queryResult, SendBirdException e) {
        if (e != null) {    // Error.
            return; 
        }
    }
});