code: @NotNull
      @ObjectiveCName("saveGroupPermissionsWithGid:withSettings:")
      public Promise<Void> saveGroupPermissions(int gid, GroupPermissions adminSettings) {
          return modules.getGroupsModule().saveAdminSettings(gid, adminSettings);
      }
docs: Save Group's permissions
  
  @param gid           group's id
  @param adminSettings settings
  @return promise of void