accept Group Application
The group owner or administrator approves the user to join the group.
Parameters
The ID of the group.
The ID of the inviter. Optional. If the user is invited to join the group, pass the inviter's ID; if the user actively requests to join, this can be left empty.
The ID of the user requesting to join the group.
The callback through which the operation result is returned. The onSuccess parameter of the callback indicates: - When the group's inviteHandlePermission is set to require the invitee's consent, IRongCoreEnum.CoreErrorCode returns RC_GROUP_NEED_INVITEE_ACCEPT(25427), indicating that the invitee's consent is required. - When the group's inviteHandlePermission is set to not require the invitee's consent, IRongCoreEnum.CoreErrorCode returns SUCCESS(0). At the same time, all group members will receive the onGroupOperation callback with the operation set to Join.