setGroupAdminsAsync
suspend fun setGroupAdminsAsync(groupId: String, addToAdmins: Array<String> = emptyArray(), removeFromAdmins: Array<String> = emptyArray())
Add some existing group members to the group admins, and/or removes admin status from some existing group admins. Can only be done by a group administrator.
Parameters
groupId | The group for which to set admins. |
addToAdmins | The Seald IDs of existing group members to add as group admins. |
removeFromAdmins | The Seald IDs of existing group members to remove from group admins. |
Throws
SealdException |