Skip to content

setGroupAdmins

fun setGroupAdmins(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

groupIdThe group for which to set admins.
addToAdminsThe Seald IDs of existing group members to add as group admins.
removeFromAdminsThe Seald IDs of existing group members to remove from group admins.

Throws

SealdException