code: @NotNull
      @ObjectiveCName("joinGroupViaLinkCommandWithToken:")
      public Command<Integer> joinGroupViaToken(String token) {
          return callback -> modules.getGroupsModule().joinGroupByToken(token)
                  .then(v -> callback.onResult(v))
                  .failure(e -> callback.onError(e));
      }
docs: Join group using invite link
  
  @param token invite token
  @return Command for execution