addGroupMembersAsync
suspend fun addGroupMembersAsync(groupId: String, membersToAdd: Array<String>, adminsToSet: Array<String> = emptyArray(), privateKeys: PreGeneratedKeys? = null)
Add members to a group. Can only be done by a group administrator. Can also specify which of these newly added group members should also be admins.
Parameters
groupId | The group in which to add members. |
membersToAdd | The Seald IDs of the members to add to the group. |
adminsToSet | The Seald IDs of the newly added members to also set as group admins. |
privateKeys | Optional. Pre-generated private keys, returned by a call to generatePrivateKeys or generatePrivateKeysAsync. |
Throws
SealdException |