code: @NotNull
      @ObjectiveCName("leaveAndDeleteGroupWithGid:")
      public Promise<Void> leaveAndDeleteGroup(int gid) {
          return modules.getGroupsModule().leaveAndDeleteGroup(gid);
      }
docs: Leave and delete group
  
  @param gid group's id
  @return Promise of Void