The Groups Roles API provides functionality for managing roles of group members.
With the Groups Roles API, you can:
The types of roles available are ADMIN and MEMBER. A group member's role affects
which permissions they have. For example, in a group with settings.allowedToApproveJoinRequests
set to OWNER_AND_ADMINS, group members with role.value set to MEMBER will not be allowed
to approve Join Group Requests.
It is important to note that only group admins can call the methods in this module.