Creating a private chat between two users and a group of users

Where can i find documentation on what are super = true when creating channels and how to use them?
I mean:
GroupChannel.createChannel(params)
val params = GroupChannelParams().apply {
setDistinct(friendIds.size == 1)
setSuper(friendIds.size > 1)
addUserIds(strIds)
setName(groupName)
setOperatorUserIds(operatorsIds)
coverImage?.let { setCoverImage(it) }
setPublic(false)
}

Is this piece of code correct both when I create a chat between two users and a chat for a group of users?

Hi @antonio.vitiello . You can find the documentation here. Basically, if a group channel is a super group channel, it can accommodate more than 100 members, up to 20,000.

3 Likes

@Cjeon thank you very much!

1 Like