changeMemberRole

fun changeMemberRole(member: GroupMember, role: <Error class: unknown class>, onChange: () -> Unit)

Method to change the role of a member

Parameters

member

The member to change his/her role

role

The new role to set on the member

onChange

The action to execute when the role changed