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