类 GroupApi

java.lang.Object
com.easemob.im.api.GroupApi

public class GroupApi extends Object
  • 构造器详细资料

    • GroupApi

      public GroupApi()
    • GroupApi

      public GroupApi(ApiClient apiClient)
  • 方法详细资料

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • addGroupAdminCall

      public okhttp3.Call addGroupAdminCall(String groupId, EMAddGroupAdmin emAddGroupAdmin, ApiCallback _callback) throws ApiException
      Build call for addGroupAdmin
      参数:
      groupId - (required)
      emAddGroupAdmin - (optional)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • addGroupAdmin

      public EMAddGroupAdminResult addGroupAdmin(String groupId, EMAddGroupAdmin emAddGroupAdmin) throws ApiException
      添加群管理员 将一个普通群成员设为为群管理员。群管理员有管理黑名单、禁言等权限。最多可以添加 99 个群管理员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%B7%BB%E5%8A%A0%E7%BE%A4%E7%AE%A1%E7%90%86%E5%91%98
      参数:
      groupId - (required)
      emAddGroupAdmin - (optional)
      返回:
      EMAddGroupAdminResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addGroupAdminWithHttpInfo

      public ApiResponse<EMAddGroupAdminResult> addGroupAdminWithHttpInfo(String groupId, EMAddGroupAdmin emAddGroupAdmin) throws ApiException
      添加群管理员 将一个普通群成员设为为群管理员。群管理员有管理黑名单、禁言等权限。最多可以添加 99 个群管理员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%B7%BB%E5%8A%A0%E7%BE%A4%E7%AE%A1%E7%90%86%E5%91%98
      参数:
      groupId - (required)
      emAddGroupAdmin - (optional)
      返回:
      ApiResponse<EMAddGroupAdminResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addGroupAdminAsync

      public okhttp3.Call addGroupAdminAsync(String groupId, EMAddGroupAdmin emAddGroupAdmin, ApiCallback<EMAddGroupAdminResult> _callback) throws ApiException
      添加群管理员 (asynchronously) 将一个普通群成员设为为群管理员。群管理员有管理黑名单、禁言等权限。最多可以添加 99 个群管理员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%B7%BB%E5%8A%A0%E7%BE%A4%E7%AE%A1%E7%90%86%E5%91%98
      参数:
      groupId - (required)
      emAddGroupAdmin - (optional)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • addMultipleUserToGroupCall

      public okhttp3.Call addMultipleUserToGroupCall(String groupId, EMAddMultipleUserToGroup emAddMultipleUserToGroup, ApiCallback _callback) throws ApiException
      Build call for addMultipleUserToGroup
      参数:
      groupId - (required)
      emAddMultipleUserToGroup - (optional)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • addMultipleUserToGroup

      public EMAddMultipleUserToGroupResult addMultipleUserToGroup(String groupId, EMAddMultipleUserToGroup emAddMultipleUserToGroup) throws ApiException
      批量添加群组成员 一次为群组添加多个成员,每次最多可以添加 60 位成员。如果所有用户均已是群成员,添加失败,返回错误。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      emAddMultipleUserToGroup - (optional)
      返回:
      EMAddMultipleUserToGroupResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addMultipleUserToGroupWithHttpInfo

      public ApiResponse<EMAddMultipleUserToGroupResult> addMultipleUserToGroupWithHttpInfo(String groupId, EMAddMultipleUserToGroup emAddMultipleUserToGroup) throws ApiException
      批量添加群组成员 一次为群组添加多个成员,每次最多可以添加 60 位成员。如果所有用户均已是群成员,添加失败,返回错误。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      emAddMultipleUserToGroup - (optional)
      返回:
      ApiResponse<EMAddMultipleUserToGroupResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addMultipleUserToGroupAsync

      public okhttp3.Call addMultipleUserToGroupAsync(String groupId, EMAddMultipleUserToGroup emAddMultipleUserToGroup, ApiCallback<EMAddMultipleUserToGroupResult> _callback) throws ApiException
      批量添加群组成员 (asynchronously) 一次为群组添加多个成员,每次最多可以添加 60 位成员。如果所有用户均已是群成员,添加失败,返回错误。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      emAddMultipleUserToGroup - (optional)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • addMultipleUserToGroupBlockListCall

      public okhttp3.Call addMultipleUserToGroupBlockListCall(String groupId, EMAddMultipleUserToGroupBlockList emAddMultipleUserToGroupBlockList, ApiCallback _callback) throws ApiException
      Build call for addMultipleUserToGroupBlockList
      参数:
      groupId - (required)
      emAddMultipleUserToGroupBlockList - (optional)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • addMultipleUserToGroupBlockList

      public EMAddMultipleUserToGroupBlockListResult addMultipleUserToGroupBlockList(String groupId, EMAddMultipleUserToGroupBlockList emAddMultipleUserToGroupBlockList) throws ApiException
      批量添加用户至群组黑名单 将多个用户添加至群组黑名单,一次最多可以添加 60 个用户。群主无法被加入群组的黑名单。用户进入群组黑名单后会收到加入黑名单的回调。黑名单上的用户无法查看该群组的信息,也收不到该群组的消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%94%A8%E6%88%B7%E8%87%B3%E7%BE%A4%E7%BB%84%E9%BB%91%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      emAddMultipleUserToGroupBlockList - (optional)
      返回:
      EMAddMultipleUserToGroupBlockListResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addMultipleUserToGroupBlockListWithHttpInfo

      public ApiResponse<EMAddMultipleUserToGroupBlockListResult> addMultipleUserToGroupBlockListWithHttpInfo(String groupId, EMAddMultipleUserToGroupBlockList emAddMultipleUserToGroupBlockList) throws ApiException
      批量添加用户至群组黑名单 将多个用户添加至群组黑名单,一次最多可以添加 60 个用户。群主无法被加入群组的黑名单。用户进入群组黑名单后会收到加入黑名单的回调。黑名单上的用户无法查看该群组的信息,也收不到该群组的消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%94%A8%E6%88%B7%E8%87%B3%E7%BE%A4%E7%BB%84%E9%BB%91%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      emAddMultipleUserToGroupBlockList - (optional)
      返回:
      ApiResponse<EMAddMultipleUserToGroupBlockListResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addMultipleUserToGroupBlockListAsync

      public okhttp3.Call addMultipleUserToGroupBlockListAsync(String groupId, EMAddMultipleUserToGroupBlockList emAddMultipleUserToGroupBlockList, ApiCallback<EMAddMultipleUserToGroupBlockListResult> _callback) throws ApiException
      批量添加用户至群组黑名单 (asynchronously) 将多个用户添加至群组黑名单,一次最多可以添加 60 个用户。群主无法被加入群组的黑名单。用户进入群组黑名单后会收到加入黑名单的回调。黑名单上的用户无法查看该群组的信息,也收不到该群组的消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%94%A8%E6%88%B7%E8%87%B3%E7%BE%A4%E7%BB%84%E9%BB%91%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      emAddMultipleUserToGroupBlockList - (optional)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • addMultipleUserToGroupWhiteListCall

      public okhttp3.Call addMultipleUserToGroupWhiteListCall(String groupId, EMAddMultipleUserToGroupWhiteList emAddMultipleUserToGroupWhiteList, ApiCallback _callback) throws ApiException
      Build call for addMultipleUserToGroupWhiteList
      参数:
      groupId - (required)
      emAddMultipleUserToGroupWhiteList - (optional)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • addMultipleUserToGroupWhiteList

      public EMAddMultipleUserToGroupWhiteListResult addMultipleUserToGroupWhiteList(String groupId, EMAddMultipleUserToGroupWhiteList emAddMultipleUserToGroupWhiteList) throws ApiException
      批量添加用户至群组白名单 添加多个用户至群组白名单。你一次最多可添加 60 个用户。用户添加至白名单后在群组全员禁言时仍可以在群组中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%94%A8%E6%88%B7%E8%87%B3%E7%BE%A4%E7%BB%84%E7%99%BD%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      emAddMultipleUserToGroupWhiteList - (optional)
      返回:
      EMAddMultipleUserToGroupWhiteListResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addMultipleUserToGroupWhiteListWithHttpInfo

      public ApiResponse<EMAddMultipleUserToGroupWhiteListResult> addMultipleUserToGroupWhiteListWithHttpInfo(String groupId, EMAddMultipleUserToGroupWhiteList emAddMultipleUserToGroupWhiteList) throws ApiException
      批量添加用户至群组白名单 添加多个用户至群组白名单。你一次最多可添加 60 个用户。用户添加至白名单后在群组全员禁言时仍可以在群组中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%94%A8%E6%88%B7%E8%87%B3%E7%BE%A4%E7%BB%84%E7%99%BD%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      emAddMultipleUserToGroupWhiteList - (optional)
      返回:
      ApiResponse<EMAddMultipleUserToGroupWhiteListResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addMultipleUserToGroupWhiteListAsync

      public okhttp3.Call addMultipleUserToGroupWhiteListAsync(String groupId, EMAddMultipleUserToGroupWhiteList emAddMultipleUserToGroupWhiteList, ApiCallback<EMAddMultipleUserToGroupWhiteListResult> _callback) throws ApiException
      批量添加用户至群组白名单 (asynchronously) 添加多个用户至群组白名单。你一次最多可添加 60 个用户。用户添加至白名单后在群组全员禁言时仍可以在群组中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%94%A8%E6%88%B7%E8%87%B3%E7%BE%A4%E7%BB%84%E7%99%BD%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      emAddMultipleUserToGroupWhiteList - (optional)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • addUserToGroupCall

      public okhttp3.Call addUserToGroupCall(String groupId, String username, ApiCallback _callback) throws ApiException
      Build call for addUserToGroup
      参数:
      groupId - (required)
      username - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • addUserToGroup

      public EMAddUserToGroupResult addUserToGroup(String groupId, String username) throws ApiException
      添加单个群组成员 每次添加一个群成员。若添加的用户已是群成员,则添加失败,返回错误。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      username - (required)
      返回:
      EMAddUserToGroupResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addUserToGroupWithHttpInfo

      public ApiResponse<EMAddUserToGroupResult> addUserToGroupWithHttpInfo(String groupId, String username) throws ApiException
      添加单个群组成员 每次添加一个群成员。若添加的用户已是群成员,则添加失败,返回错误。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      username - (required)
      返回:
      ApiResponse<EMAddUserToGroupResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addUserToGroupAsync

      public okhttp3.Call addUserToGroupAsync(String groupId, String username, ApiCallback<EMAddUserToGroupResult> _callback) throws ApiException
      添加单个群组成员 (asynchronously) 每次添加一个群成员。若添加的用户已是群成员,则添加失败,返回错误。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      username - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • addUserToGroupBlockListCall

      public okhttp3.Call addUserToGroupBlockListCall(String groupId, String username, ApiCallback _callback) throws ApiException
      Build call for addUserToGroupBlockList
      参数:
      groupId - (required)
      username - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • addUserToGroupBlockList

      public EMAddUserToGroupBlockListResult addUserToGroupBlockList(String groupId, String username) throws ApiException
      添加单个用户至群组黑名单 将单个用户添加至群组黑名单。群主无法被加入群组的黑名单。用户进入群组黑名单后会收到加入黑名单的回调。之后,该用户无法查看该群组的信息,也收不到该群组的消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E8%87%B3%E7%BE%A4%E7%BB%84%E9%BB%91%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      username - (required)
      返回:
      EMAddUserToGroupBlockListResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addUserToGroupBlockListWithHttpInfo

      public ApiResponse<EMAddUserToGroupBlockListResult> addUserToGroupBlockListWithHttpInfo(String groupId, String username) throws ApiException
      添加单个用户至群组黑名单 将单个用户添加至群组黑名单。群主无法被加入群组的黑名单。用户进入群组黑名单后会收到加入黑名单的回调。之后,该用户无法查看该群组的信息,也收不到该群组的消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E8%87%B3%E7%BE%A4%E7%BB%84%E9%BB%91%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      username - (required)
      返回:
      ApiResponse<EMAddUserToGroupBlockListResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addUserToGroupBlockListAsync

      public okhttp3.Call addUserToGroupBlockListAsync(String groupId, String username, ApiCallback<EMAddUserToGroupBlockListResult> _callback) throws ApiException
      添加单个用户至群组黑名单 (asynchronously) 将单个用户添加至群组黑名单。群主无法被加入群组的黑名单。用户进入群组黑名单后会收到加入黑名单的回调。之后,该用户无法查看该群组的信息,也收不到该群组的消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E8%87%B3%E7%BE%A4%E7%BB%84%E9%BB%91%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      username - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • addUserToGroupWhiteListCall

      public okhttp3.Call addUserToGroupWhiteListCall(String groupId, String username, ApiCallback _callback) throws ApiException
      Build call for addUserToGroupWhiteList
      参数:
      groupId - (required)
      username - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • addUserToGroupWhiteList

      public EMAddUserToGroupWhiteListResult addUserToGroupWhiteList(String groupId, String username) throws ApiException
      添加单个用户至群组白名单 将指定的单个用户添加至群组白名单。用户添加至群组白名单后,当群组全员被禁言时,仍可以在群组中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%9F%A5%E8%AF%A2%E7%BE%A4%E7%BB%84%E7%99%BD%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      username - (required)
      返回:
      EMAddUserToGroupWhiteListResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addUserToGroupWhiteListWithHttpInfo

      public ApiResponse<EMAddUserToGroupWhiteListResult> addUserToGroupWhiteListWithHttpInfo(String groupId, String username) throws ApiException
      添加单个用户至群组白名单 将指定的单个用户添加至群组白名单。用户添加至群组白名单后,当群组全员被禁言时,仍可以在群组中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%9F%A5%E8%AF%A2%E7%BE%A4%E7%BB%84%E7%99%BD%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      username - (required)
      返回:
      ApiResponse<EMAddUserToGroupWhiteListResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • addUserToGroupWhiteListAsync

      public okhttp3.Call addUserToGroupWhiteListAsync(String groupId, String username, ApiCallback<EMAddUserToGroupWhiteListResult> _callback) throws ApiException
      添加单个用户至群组白名单 (asynchronously) 将指定的单个用户添加至群组白名单。用户添加至群组白名单后,当群组全员被禁言时,仍可以在群组中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%9F%A5%E8%AF%A2%E7%BE%A4%E7%BB%84%E7%99%BD%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      username - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • checkUserJoinedGroupCall

      public okhttp3.Call checkUserJoinedGroupCall(String groupId, String username, ApiCallback _callback) throws ApiException
      Build call for checkUserJoinedGroup
      参数:
      groupId - (required)
      username - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • checkUserJoinedGroup

      public EMCheckUserJoinedGroupResult checkUserJoinedGroup(String groupId, String username) throws ApiException
      查看指定用户是否已加入群组 查看单个用户是否已加入了指定的群组。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%9F%A5%E7%9C%8B%E6%8C%87%E5%AE%9A%E7%94%A8%E6%88%B7%E6%98%AF%E5%90%A6%E5%B7%B2%E5%8A%A0%E5%85%A5%E7%BE%A4%E7%BB%84
      参数:
      groupId - (required)
      username - (required)
      返回:
      EMCheckUserJoinedGroupResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • checkUserJoinedGroupWithHttpInfo

      public ApiResponse<EMCheckUserJoinedGroupResult> checkUserJoinedGroupWithHttpInfo(String groupId, String username) throws ApiException
      查看指定用户是否已加入群组 查看单个用户是否已加入了指定的群组。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%9F%A5%E7%9C%8B%E6%8C%87%E5%AE%9A%E7%94%A8%E6%88%B7%E6%98%AF%E5%90%A6%E5%B7%B2%E5%8A%A0%E5%85%A5%E7%BE%A4%E7%BB%84
      参数:
      groupId - (required)
      username - (required)
      返回:
      ApiResponse<EMCheckUserJoinedGroupResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • checkUserJoinedGroupAsync

      public okhttp3.Call checkUserJoinedGroupAsync(String groupId, String username, ApiCallback<EMCheckUserJoinedGroupResult> _callback) throws ApiException
      查看指定用户是否已加入群组 (asynchronously) 查看单个用户是否已加入了指定的群组。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%9F%A5%E7%9C%8B%E6%8C%87%E5%AE%9A%E7%94%A8%E6%88%B7%E6%98%AF%E5%90%A6%E5%B7%B2%E5%8A%A0%E5%85%A5%E7%BE%A4%E7%BB%84
      参数:
      groupId - (required)
      username - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • createGroupCall

      public okhttp3.Call createGroupCall(EMCreateGroup emCreateGroup, ApiCallback _callback) throws ApiException
      Build call for createGroup
      参数:
      emCreateGroup - (optional)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • createGroup

      public EMCreateGroupResult createGroup(EMCreateGroup emCreateGroup) throws ApiException
      创建群组 创建一个群组,并设置群组名称、群组描述、公开群/私有群属性、群成员最大人数(包括群主)、加入公开群是否需要批准、群主、群成员和群组扩展信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%9B%E5%BB%BA%E7%BE%A4%E7%BB%84
      参数:
      emCreateGroup - (optional)
      返回:
      EMCreateGroupResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • createGroupWithHttpInfo

      public ApiResponse<EMCreateGroupResult> createGroupWithHttpInfo(EMCreateGroup emCreateGroup) throws ApiException
      创建群组 创建一个群组,并设置群组名称、群组描述、公开群/私有群属性、群成员最大人数(包括群主)、加入公开群是否需要批准、群主、群成员和群组扩展信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%9B%E5%BB%BA%E7%BE%A4%E7%BB%84
      参数:
      emCreateGroup - (optional)
      返回:
      ApiResponse<EMCreateGroupResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • createGroupAsync

      public okhttp3.Call createGroupAsync(EMCreateGroup emCreateGroup, ApiCallback<EMCreateGroupResult> _callback) throws ApiException
      创建群组 (asynchronously) 创建一个群组,并设置群组名称、群组描述、公开群/私有群属性、群成员最大人数(包括群主)、加入公开群是否需要批准、群主、群成员和群组扩展信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%9B%E5%BB%BA%E7%BE%A4%E7%BB%84
      参数:
      emCreateGroup - (optional)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • deleteGroupCall

      public okhttp3.Call deleteGroupCall(String groupId, ApiCallback _callback) throws ApiException
      Build call for deleteGroup
      参数:
      groupId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • deleteGroup

      public EMDeleteGroupResult deleteGroup(String groupId) throws ApiException
      删除群组 删除指定的群组。删除群组时会同时删除群组下所有的子区(Thread)。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%A0%E9%99%A4%E7%BE%A4%E7%BB%84
      参数:
      groupId - (required)
      返回:
      EMDeleteGroupResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • deleteGroupWithHttpInfo

      public ApiResponse<EMDeleteGroupResult> deleteGroupWithHttpInfo(String groupId) throws ApiException
      删除群组 删除指定的群组。删除群组时会同时删除群组下所有的子区(Thread)。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%A0%E9%99%A4%E7%BE%A4%E7%BB%84
      参数:
      groupId - (required)
      返回:
      ApiResponse<EMDeleteGroupResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • deleteGroupAsync

      public okhttp3.Call deleteGroupAsync(String groupId, ApiCallback<EMDeleteGroupResult> _callback) throws ApiException
      删除群组 (asynchronously) 删除指定的群组。删除群组时会同时删除群组下所有的子区(Thread)。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%A0%E9%99%A4%E7%BE%A4%E7%BB%84
      参数:
      groupId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • deleteGroupShareFileCall

      public okhttp3.Call deleteGroupShareFileCall(String groupId, String fileId, ApiCallback _callback) throws ApiException
      Build call for deleteGroupShareFile
      参数:
      groupId - (required)
      fileId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • deleteGroupShareFile

      public EMDeleteGroupShareFileResult deleteGroupShareFile(String groupId, String fileId) throws ApiException
      删除群组共享文件 根据指定的群组 ID 与 文件 ID(file_id)删除群组共享文件,文件 ID 可从 获取群组共享文件 接口的响应中获取。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%A0%E9%99%A4%E7%BE%A4%E7%BB%84%E5%85%B1%E4%BA%AB%E6%96%87%E4%BB%B6
      参数:
      groupId - (required)
      fileId - (required)
      返回:
      EMDeleteGroupShareFileResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • deleteGroupShareFileWithHttpInfo

      public ApiResponse<EMDeleteGroupShareFileResult> deleteGroupShareFileWithHttpInfo(String groupId, String fileId) throws ApiException
      删除群组共享文件 根据指定的群组 ID 与 文件 ID(file_id)删除群组共享文件,文件 ID 可从 获取群组共享文件 接口的响应中获取。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%A0%E9%99%A4%E7%BE%A4%E7%BB%84%E5%85%B1%E4%BA%AB%E6%96%87%E4%BB%B6
      参数:
      groupId - (required)
      fileId - (required)
      返回:
      ApiResponse<EMDeleteGroupShareFileResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • deleteGroupShareFileAsync

      public okhttp3.Call deleteGroupShareFileAsync(String groupId, String fileId, ApiCallback<EMDeleteGroupShareFileResult> _callback) throws ApiException
      删除群组共享文件 (asynchronously) 根据指定的群组 ID 与 文件 ID(file_id)删除群组共享文件,文件 ID 可从 获取群组共享文件 接口的响应中获取。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%A0%E9%99%A4%E7%BE%A4%E7%BB%84%E5%85%B1%E4%BA%AB%E6%96%87%E4%BB%B6
      参数:
      groupId - (required)
      fileId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • disableGroupCall

      public okhttp3.Call disableGroupCall(String groupId, ApiCallback _callback) throws ApiException
      Build call for disableGroup
      参数:
      groupId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • disableGroup

      public EMDisableGroupResult disableGroup(String groupId) throws ApiException
      封禁群组 封禁指定的群组。例如,群成员经常在群中发送违规消息,可以调用该 API 对该群进行封禁。群组被封禁后,群中任何成员均无法在群组以及该群组下的子区中发送和接收消息,也无法进行群组和子区管理操作。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%B0%81%E7%A6%81%E7%BE%A4%E7%BB%84
      参数:
      groupId - (required)
      返回:
      EMDisableGroupResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • disableGroupWithHttpInfo

      public ApiResponse<EMDisableGroupResult> disableGroupWithHttpInfo(String groupId) throws ApiException
      封禁群组 封禁指定的群组。例如,群成员经常在群中发送违规消息,可以调用该 API 对该群进行封禁。群组被封禁后,群中任何成员均无法在群组以及该群组下的子区中发送和接收消息,也无法进行群组和子区管理操作。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%B0%81%E7%A6%81%E7%BE%A4%E7%BB%84
      参数:
      groupId - (required)
      返回:
      ApiResponse<EMDisableGroupResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • disableGroupAsync

      public okhttp3.Call disableGroupAsync(String groupId, ApiCallback<EMDisableGroupResult> _callback) throws ApiException
      封禁群组 (asynchronously) 封禁指定的群组。例如,群成员经常在群中发送违规消息,可以调用该 API 对该群进行封禁。群组被封禁后,群中任何成员均无法在群组以及该群组下的子区中发送和接收消息,也无法进行群组和子区管理操作。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%B0%81%E7%A6%81%E7%BE%A4%E7%BB%84
      参数:
      groupId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • downloadGroupShareFileCall

      public okhttp3.Call downloadGroupShareFileCall(String groupId, String fileId, ApiCallback _callback) throws ApiException
      Build call for downloadGroupShareFile
      参数:
      groupId - (required)
      fileId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • downloadGroupShareFile

      public File downloadGroupShareFile(String groupId, String fileId) throws ApiException
      下载群组共享文件 根据指定的群组 ID 与文件 ID(file_id)下载群组共享文件,文件 ID 可从 获取群组共享文件 接口的响应中获取。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%B8%8B%E8%BD%BD%E7%BE%A4%E7%BB%84%E5%85%B1%E4%BA%AB%E6%96%87%E4%BB%B6
      参数:
      groupId - (required)
      fileId - (required)
      返回:
      File
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • downloadGroupShareFileWithHttpInfo

      public ApiResponse<File> downloadGroupShareFileWithHttpInfo(String groupId, String fileId) throws ApiException
      下载群组共享文件 根据指定的群组 ID 与文件 ID(file_id)下载群组共享文件,文件 ID 可从 获取群组共享文件 接口的响应中获取。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%B8%8B%E8%BD%BD%E7%BE%A4%E7%BB%84%E5%85%B1%E4%BA%AB%E6%96%87%E4%BB%B6
      参数:
      groupId - (required)
      fileId - (required)
      返回:
      ApiResponse<File>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • downloadGroupShareFileAsync

      public okhttp3.Call downloadGroupShareFileAsync(String groupId, String fileId, ApiCallback<File> _callback) throws ApiException
      下载群组共享文件 (asynchronously) 根据指定的群组 ID 与文件 ID(file_id)下载群组共享文件,文件 ID 可从 获取群组共享文件 接口的响应中获取。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%B8%8B%E8%BD%BD%E7%BE%A4%E7%BB%84%E5%85%B1%E4%BA%AB%E6%96%87%E4%BB%B6
      参数:
      groupId - (required)
      fileId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • enableGroupCall

      public okhttp3.Call enableGroupCall(String groupId, ApiCallback _callback) throws ApiException
      Build call for enableGroup
      参数:
      groupId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • enableGroup

      public EMEnableGroupResult enableGroup(String groupId) throws ApiException
      封禁群组 解除对指定群组的封禁。群组解禁后,群成员可以在该群组以及该群组下的子区中发送和接收消息并进行群组和子区管理相关操作。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%A7%A3%E7%A6%81%E7%BE%A4%E7%BB%84
      参数:
      groupId - (required)
      返回:
      EMEnableGroupResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • enableGroupWithHttpInfo

      public ApiResponse<EMEnableGroupResult> enableGroupWithHttpInfo(String groupId) throws ApiException
      封禁群组 解除对指定群组的封禁。群组解禁后,群成员可以在该群组以及该群组下的子区中发送和接收消息并进行群组和子区管理相关操作。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%A7%A3%E7%A6%81%E7%BE%A4%E7%BB%84
      参数:
      groupId - (required)
      返回:
      ApiResponse<EMEnableGroupResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • enableGroupAsync

      public okhttp3.Call enableGroupAsync(String groupId, ApiCallback<EMEnableGroupResult> _callback) throws ApiException
      封禁群组 (asynchronously) 解除对指定群组的封禁。群组解禁后,群成员可以在该群组以及该群组下的子区中发送和接收消息并进行群组和子区管理相关操作。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%A7%A3%E7%A6%81%E7%BE%A4%E7%BB%84
      参数:
      groupId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • getAppGroupsCall

      public okhttp3.Call getAppGroupsCall(Integer limit, String cursor, ApiCallback _callback) throws ApiException
      Build call for getAppGroups
      参数:
      limit - 每次期望返回的群组数量。取值范围为 [1,1000],默认值为 10 (optional)
      cursor - 数据查询的起始位置 (optional)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • getAppGroups

      public EMGetAppGroupsResult getAppGroups(Integer limit, String cursor) throws ApiException
      获取 App 中的群组 分页获取应用下的群组的信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96-app-%E4%B8%AD%E7%9A%84%E7%BE%A4%E7%BB%84
      参数:
      limit - 每次期望返回的群组数量。取值范围为 [1,1000],默认值为 10 (optional)
      cursor - 数据查询的起始位置 (optional)
      返回:
      EMGetAppGroupsResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getAppGroupsWithHttpInfo

      public ApiResponse<EMGetAppGroupsResult> getAppGroupsWithHttpInfo(Integer limit, String cursor) throws ApiException
      获取 App 中的群组 分页获取应用下的群组的信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96-app-%E4%B8%AD%E7%9A%84%E7%BE%A4%E7%BB%84
      参数:
      limit - 每次期望返回的群组数量。取值范围为 [1,1000],默认值为 10 (optional)
      cursor - 数据查询的起始位置 (optional)
      返回:
      ApiResponse<EMGetAppGroupsResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getAppGroupsAsync

      public okhttp3.Call getAppGroupsAsync(Integer limit, String cursor, ApiCallback<EMGetAppGroupsResult> _callback) throws ApiException
      获取 App 中的群组 (asynchronously) 分页获取应用下的群组的信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96-app-%E4%B8%AD%E7%9A%84%E7%BE%A4%E7%BB%84
      参数:
      limit - 每次期望返回的群组数量。取值范围为 [1,1000],默认值为 10 (optional)
      cursor - 数据查询的起始位置 (optional)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • getGroupAdminListCall

      public okhttp3.Call getGroupAdminListCall(String groupId, ApiCallback _callback) throws ApiException
      Build call for getGroupAdminList
      参数:
      groupId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • getGroupAdminList

      public EMGetGroupAdminListResult getGroupAdminList(String groupId) throws ApiException
      获取群管理员列表 获取群组管理员列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%BE%A4%E7%AE%A1%E7%90%86%E5%91%98%E5%88%97%E8%A1%A8
      参数:
      groupId - (required)
      返回:
      EMGetGroupAdminListResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupAdminListWithHttpInfo

      public ApiResponse<EMGetGroupAdminListResult> getGroupAdminListWithHttpInfo(String groupId) throws ApiException
      获取群管理员列表 获取群组管理员列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%BE%A4%E7%AE%A1%E7%90%86%E5%91%98%E5%88%97%E8%A1%A8
      参数:
      groupId - (required)
      返回:
      ApiResponse<EMGetGroupAdminListResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupAdminListAsync

      public okhttp3.Call getGroupAdminListAsync(String groupId, ApiCallback<EMGetGroupAdminListResult> _callback) throws ApiException
      获取群管理员列表 (asynchronously) 获取群组管理员列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%BE%A4%E7%AE%A1%E7%90%86%E5%91%98%E5%88%97%E8%A1%A8
      参数:
      groupId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • getGroupAnnouncementCall

      public okhttp3.Call getGroupAnnouncementCall(String groupId, ApiCallback _callback) throws ApiException
      Build call for getGroupAnnouncement
      参数:
      groupId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • getGroupAnnouncement

      public EMGetGroupAnnouncementResult getGroupAnnouncement(String groupId) throws ApiException
      获取群组公告 获取指定群组 ID 的群组公告。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%BE%A4%E7%BB%84%E5%85%AC%E5%91%8A
      参数:
      groupId - (required)
      返回:
      EMGetGroupAnnouncementResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupAnnouncementWithHttpInfo

      public ApiResponse<EMGetGroupAnnouncementResult> getGroupAnnouncementWithHttpInfo(String groupId) throws ApiException
      获取群组公告 获取指定群组 ID 的群组公告。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%BE%A4%E7%BB%84%E5%85%AC%E5%91%8A
      参数:
      groupId - (required)
      返回:
      ApiResponse<EMGetGroupAnnouncementResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupAnnouncementAsync

      public okhttp3.Call getGroupAnnouncementAsync(String groupId, ApiCallback<EMGetGroupAnnouncementResult> _callback) throws ApiException
      获取群组公告 (asynchronously) 获取指定群组 ID 的群组公告。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%BE%A4%E7%BB%84%E5%85%AC%E5%91%8A
      参数:
      groupId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • getGroupBlockListCall

      public okhttp3.Call getGroupBlockListCall(String groupId, ApiCallback _callback) throws ApiException
      Build call for getGroupBlockList
      参数:
      groupId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • getGroupBlockList

      public EMGetGroupBlockListResult getGroupBlockList(String groupId) throws ApiException
      查询群组黑名单 查询一个群组黑名单中的用户列表。黑名单中的用户无法查看该群组的信息,也无法收到该群组的消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%9F%A5%E8%AF%A2%E7%BE%A4%E7%BB%84%E9%BB%91%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      返回:
      EMGetGroupBlockListResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupBlockListWithHttpInfo

      public ApiResponse<EMGetGroupBlockListResult> getGroupBlockListWithHttpInfo(String groupId) throws ApiException
      查询群组黑名单 查询一个群组黑名单中的用户列表。黑名单中的用户无法查看该群组的信息,也无法收到该群组的消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%9F%A5%E8%AF%A2%E7%BE%A4%E7%BB%84%E9%BB%91%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      返回:
      ApiResponse<EMGetGroupBlockListResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupBlockListAsync

      public okhttp3.Call getGroupBlockListAsync(String groupId, ApiCallback<EMGetGroupBlockListResult> _callback) throws ApiException
      查询群组黑名单 (asynchronously) 查询一个群组黑名单中的用户列表。黑名单中的用户无法查看该群组的信息,也无法收到该群组的消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%9F%A5%E8%AF%A2%E7%BE%A4%E7%BB%84%E9%BB%91%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • getGroupInfoCall

      public okhttp3.Call getGroupInfoCall(String groupId, ApiCallback _callback) throws ApiException
      Build call for getGroupInfo
      参数:
      groupId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • getGroupInfo

      public EMGetGroupInfoResult getGroupInfo(String groupId) throws ApiException
      获取群组详情 可以获取一个或多个群组的详情,最多可获取 100 个群组的详情。当获取多个群组的详情时,返回所有存在的群组的详情;对于不存在的群组,返回 “group id doesn’t exist”。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%BE%A4%E7%BB%84%E8%AF%A6%E6%83%85
      参数:
      groupId - (required)
      返回:
      EMGetGroupInfoResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupInfoWithHttpInfo

      public ApiResponse<EMGetGroupInfoResult> getGroupInfoWithHttpInfo(String groupId) throws ApiException
      获取群组详情 可以获取一个或多个群组的详情,最多可获取 100 个群组的详情。当获取多个群组的详情时,返回所有存在的群组的详情;对于不存在的群组,返回 “group id doesn’t exist”。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%BE%A4%E7%BB%84%E8%AF%A6%E6%83%85
      参数:
      groupId - (required)
      返回:
      ApiResponse<EMGetGroupInfoResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupInfoAsync

      public okhttp3.Call getGroupInfoAsync(String groupId, ApiCallback<EMGetGroupInfoResult> _callback) throws ApiException
      获取群组详情 (asynchronously) 可以获取一个或多个群组的详情,最多可获取 100 个群组的详情。当获取多个群组的详情时,返回所有存在的群组的详情;对于不存在的群组,返回 “group id doesn’t exist”。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%BE%A4%E7%BB%84%E8%AF%A6%E6%83%85
      参数:
      groupId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • getGroupMemberListCall

      public okhttp3.Call getGroupMemberListCall(String groupId, Integer pagenum, Integer pagesize, ApiCallback _callback) throws ApiException
      Build call for getGroupMemberList
      参数:
      groupId - (required)
      pagenum - 当前页码。默认从第 1 页开始获取 (optional)
      pagesize - 每页期望返回的群成员数。取值范围为 [1,1000],默认为 1000 (optional)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • getGroupMemberList

      public EMGetGroupMemberListResult getGroupMemberList(String groupId, Integer pagenum, Integer pagesize) throws ApiException
      分页获取群成员列表 可以分页获取群组成员列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%AE%A1%E7%90%86%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      pagenum - 当前页码。默认从第 1 页开始获取 (optional)
      pagesize - 每页期望返回的群成员数。取值范围为 [1,1000],默认为 1000 (optional)
      返回:
      EMGetGroupMemberListResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupMemberListWithHttpInfo

      public ApiResponse<EMGetGroupMemberListResult> getGroupMemberListWithHttpInfo(String groupId, Integer pagenum, Integer pagesize) throws ApiException
      分页获取群成员列表 可以分页获取群组成员列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%AE%A1%E7%90%86%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      pagenum - 当前页码。默认从第 1 页开始获取 (optional)
      pagesize - 每页期望返回的群成员数。取值范围为 [1,1000],默认为 1000 (optional)
      返回:
      ApiResponse<EMGetGroupMemberListResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupMemberListAsync

      public okhttp3.Call getGroupMemberListAsync(String groupId, Integer pagenum, Integer pagesize, ApiCallback<EMGetGroupMemberListResult> _callback) throws ApiException
      分页获取群成员列表 (asynchronously) 可以分页获取群组成员列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%AE%A1%E7%90%86%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      pagenum - 当前页码。默认从第 1 页开始获取 (optional)
      pagesize - 每页期望返回的群成员数。取值范围为 [1,1000],默认为 1000 (optional)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • getGroupMuteListCall

      public okhttp3.Call getGroupMuteListCall(String groupId, ApiCallback _callback) throws ApiException
      Build call for getGroupMuteList
      参数:
      groupId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • getGroupMuteList

      public EMGetGroupMuteListResult getGroupMuteList(String groupId) throws ApiException
      获取禁言列表 获取当前群组的禁言用户列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%A6%81%E8%A8%80%E5%88%97%E8%A1%A8
      参数:
      groupId - (required)
      返回:
      EMGetGroupMuteListResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupMuteListWithHttpInfo

      public ApiResponse<EMGetGroupMuteListResult> getGroupMuteListWithHttpInfo(String groupId) throws ApiException
      获取禁言列表 获取当前群组的禁言用户列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%A6%81%E8%A8%80%E5%88%97%E8%A1%A8
      参数:
      groupId - (required)
      返回:
      ApiResponse<EMGetGroupMuteListResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupMuteListAsync

      public okhttp3.Call getGroupMuteListAsync(String groupId, ApiCallback<EMGetGroupMuteListResult> _callback) throws ApiException
      获取禁言列表 (asynchronously) 获取当前群组的禁言用户列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%A6%81%E8%A8%80%E5%88%97%E8%A1%A8
      参数:
      groupId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • getGroupShareFileCall

      public okhttp3.Call getGroupShareFileCall(String groupId, Integer pagenum, Integer pagesize, ApiCallback _callback) throws ApiException
      Build call for getGroupShareFile
      参数:
      groupId - (required)
      pagenum - 当前页码。默认从第 1 页开始获取 (optional)
      pagesize - 每页期望返回的共享文件数。取值范围为 [1,1000],默认为 1000 (optional)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • getGroupShareFile

      public EMGetGroupShareFileResult getGroupShareFile(String groupId, Integer pagenum, Integer pagesize) throws ApiException
      获取群组共享文件 可以分页获取指定群组 ID 的群组共享文件。获取文件后,你可以根据响应中返回的文件 ID(file_id)调用 下载群组共享文件 接口下载文件,或调用 删除群组共享文件 接口删除文件。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%BE%A4%E7%BB%84%E5%85%B1%E4%BA%AB%E6%96%87%E4%BB%B6
      参数:
      groupId - (required)
      pagenum - 当前页码。默认从第 1 页开始获取 (optional)
      pagesize - 每页期望返回的共享文件数。取值范围为 [1,1000],默认为 1000 (optional)
      返回:
      EMGetGroupShareFileResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupShareFileWithHttpInfo

      public ApiResponse<EMGetGroupShareFileResult> getGroupShareFileWithHttpInfo(String groupId, Integer pagenum, Integer pagesize) throws ApiException
      获取群组共享文件 可以分页获取指定群组 ID 的群组共享文件。获取文件后,你可以根据响应中返回的文件 ID(file_id)调用 下载群组共享文件 接口下载文件,或调用 删除群组共享文件 接口删除文件。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%BE%A4%E7%BB%84%E5%85%B1%E4%BA%AB%E6%96%87%E4%BB%B6
      参数:
      groupId - (required)
      pagenum - 当前页码。默认从第 1 页开始获取 (optional)
      pagesize - 每页期望返回的共享文件数。取值范围为 [1,1000],默认为 1000 (optional)
      返回:
      ApiResponse<EMGetGroupShareFileResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupShareFileAsync

      public okhttp3.Call getGroupShareFileAsync(String groupId, Integer pagenum, Integer pagesize, ApiCallback<EMGetGroupShareFileResult> _callback) throws ApiException
      获取群组共享文件 (asynchronously) 可以分页获取指定群组 ID 的群组共享文件。获取文件后,你可以根据响应中返回的文件 ID(file_id)调用 下载群组共享文件 接口下载文件,或调用 删除群组共享文件 接口删除文件。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E7%BE%A4%E7%BB%84%E5%85%B1%E4%BA%AB%E6%96%87%E4%BB%B6
      参数:
      groupId - (required)
      pagenum - 当前页码。默认从第 1 页开始获取 (optional)
      pagesize - 每页期望返回的共享文件数。取值范围为 [1,1000],默认为 1000 (optional)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • getGroupWhiteListCall

      public okhttp3.Call getGroupWhiteListCall(String groupId, ApiCallback _callback) throws ApiException
      Build call for getGroupWhiteList
      参数:
      groupId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • getGroupWhiteList

      public EMGetGroupWhiteListResult getGroupWhiteList(String groupId) throws ApiException
      查询群组白名单 查询群组白名单中的用户列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%9F%A5%E8%AF%A2%E7%BE%A4%E7%BB%84%E7%99%BD%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      返回:
      EMGetGroupWhiteListResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupWhiteListWithHttpInfo

      public ApiResponse<EMGetGroupWhiteListResult> getGroupWhiteListWithHttpInfo(String groupId) throws ApiException
      查询群组白名单 查询群组白名单中的用户列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%9F%A5%E8%AF%A2%E7%BE%A4%E7%BB%84%E7%99%BD%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      返回:
      ApiResponse<EMGetGroupWhiteListResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupWhiteListAsync

      public okhttp3.Call getGroupWhiteListAsync(String groupId, ApiCallback<EMGetGroupWhiteListResult> _callback) throws ApiException
      查询群组白名单 (asynchronously) 查询群组白名单中的用户列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%9F%A5%E8%AF%A2%E7%BE%A4%E7%BB%84%E7%99%BD%E5%90%8D%E5%8D%95
      参数:
      groupId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • getUserJoinedGroupsCall

      public okhttp3.Call getUserJoinedGroupsCall(String username, Integer pagenum, Integer pagesize, ApiCallback _callback) throws ApiException
      Build call for getUserJoinedGroups
      参数:
      username - (required)
      pagenum - 当前页码。默认从第 0 页开始获取 (optional)
      pagesize - 每页获取的群组数量。取值范围为 [1,20],默认值为 5 (optional)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • getUserJoinedGroups

      public EMGetUserJoinedGroupsResult getUserJoinedGroups(String username, Integer pagenum, Integer pagesize) throws ApiException
      获取单个用户加入的所有群组 根据用户 ID 分页获取指定用户加入的所有群组。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E5%8A%A0%E5%85%A5%E7%9A%84%E6%89%80%E6%9C%89%E7%BE%A4%E7%BB%84
      参数:
      username - (required)
      pagenum - 当前页码。默认从第 0 页开始获取 (optional)
      pagesize - 每页获取的群组数量。取值范围为 [1,20],默认值为 5 (optional)
      返回:
      EMGetUserJoinedGroupsResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getUserJoinedGroupsWithHttpInfo

      public ApiResponse<EMGetUserJoinedGroupsResult> getUserJoinedGroupsWithHttpInfo(String username, Integer pagenum, Integer pagesize) throws ApiException
      获取单个用户加入的所有群组 根据用户 ID 分页获取指定用户加入的所有群组。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E5%8A%A0%E5%85%A5%E7%9A%84%E6%89%80%E6%9C%89%E7%BE%A4%E7%BB%84
      参数:
      username - (required)
      pagenum - 当前页码。默认从第 0 页开始获取 (optional)
      pagesize - 每页获取的群组数量。取值范围为 [1,20],默认值为 5 (optional)
      返回:
      ApiResponse<EMGetUserJoinedGroupsResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getUserJoinedGroupsAsync

      public okhttp3.Call getUserJoinedGroupsAsync(String username, Integer pagenum, Integer pagesize, ApiCallback<EMGetUserJoinedGroupsResult> _callback) throws ApiException
      获取单个用户加入的所有群组 (asynchronously) 根据用户 ID 分页获取指定用户加入的所有群组。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E5%8A%A0%E5%85%A5%E7%9A%84%E6%89%80%E6%9C%89%E7%BE%A4%E7%BB%84
      参数:
      username - (required)
      pagenum - 当前页码。默认从第 0 页开始获取 (optional)
      pagesize - 每页获取的群组数量。取值范围为 [1,20],默认值为 5 (optional)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • modifyGroupCall

      public okhttp3.Call modifyGroupCall(String groupId, EMModifyGroup emModifyGroup, ApiCallback _callback) throws ApiException
      Build call for modifyGroup
      参数:
      groupId - (required)
      emModifyGroup - (optional)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • modifyGroup

      public EMModifyGroupResult modifyGroup(String groupId, EMModifyGroup emModifyGroup) throws ApiException
      修改群组信息 修改指定的群组信息,可修改 groupname、description、maxusers、membersonly、allowinvites、invite_need_confirm、public 和 custom 属性。也可以转让群组,如果转让群组,请在请求body中只设置 newowner 即可,newowner 为群组新所有者的用户 ID。如果传入其他字段,或传入的字段不存在,则不能修改的字段会抛出异常。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BF%AE%E6%94%B9%E7%BE%A4%E7%BB%84%E4%BF%A1%E6%81%AF 和
      参数:
      groupId - (required)
      emModifyGroup - (optional)
      返回:
      EMModifyGroupResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • modifyGroupWithHttpInfo

      public ApiResponse<EMModifyGroupResult> modifyGroupWithHttpInfo(String groupId, EMModifyGroup emModifyGroup) throws ApiException
      修改群组信息 修改指定的群组信息,可修改 groupname、description、maxusers、membersonly、allowinvites、invite_need_confirm、public 和 custom 属性。也可以转让群组,如果转让群组,请在请求body中只设置 newowner 即可,newowner 为群组新所有者的用户 ID。如果传入其他字段,或传入的字段不存在,则不能修改的字段会抛出异常。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BF%AE%E6%94%B9%E7%BE%A4%E7%BB%84%E4%BF%A1%E6%81%AF 和
      参数:
      groupId - (required)
      emModifyGroup - (optional)
      返回:
      ApiResponse<EMModifyGroupResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • modifyGroupAsync

      public okhttp3.Call modifyGroupAsync(String groupId, EMModifyGroup emModifyGroup, ApiCallback<EMModifyGroupResult> _callback) throws ApiException
      修改群组信息 (asynchronously) 修改指定的群组信息,可修改 groupname、description、maxusers、membersonly、allowinvites、invite_need_confirm、public 和 custom 属性。也可以转让群组,如果转让群组,请在请求body中只设置 newowner 即可,newowner 为群组新所有者的用户 ID。如果传入其他字段,或传入的字段不存在,则不能修改的字段会抛出异常。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BF%AE%E6%94%B9%E7%BE%A4%E7%BB%84%E4%BF%A1%E6%81%AF 和
      参数:
      groupId - (required)
      emModifyGroup - (optional)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • modifyGroupAnnouncementCall

      public okhttp3.Call modifyGroupAnnouncementCall(String groupId, EMModifyGroupAnnouncement emModifyGroupAnnouncement, ApiCallback _callback) throws ApiException
      Build call for modifyGroupAnnouncement
      参数:
      groupId - (required)
      emModifyGroupAnnouncement - (optional)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • modifyGroupAnnouncement

      public EMModifyGroupAnnouncementResult modifyGroupAnnouncement(String groupId, EMModifyGroupAnnouncement emModifyGroupAnnouncement) throws ApiException
      修改群组公告 修改指定群组 ID 的群组公告。群组公告不能超过 512 个字符。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BF%AE%E6%94%B9%E7%BE%A4%E7%BB%84%E5%85%AC%E5%91%8A
      参数:
      groupId - (required)
      emModifyGroupAnnouncement - (optional)
      返回:
      EMModifyGroupAnnouncementResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • modifyGroupAnnouncementWithHttpInfo

      public ApiResponse<EMModifyGroupAnnouncementResult> modifyGroupAnnouncementWithHttpInfo(String groupId, EMModifyGroupAnnouncement emModifyGroupAnnouncement) throws ApiException
      修改群组公告 修改指定群组 ID 的群组公告。群组公告不能超过 512 个字符。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BF%AE%E6%94%B9%E7%BE%A4%E7%BB%84%E5%85%AC%E5%91%8A
      参数:
      groupId - (required)
      emModifyGroupAnnouncement - (optional)
      返回:
      ApiResponse<EMModifyGroupAnnouncementResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • modifyGroupAnnouncementAsync

      public okhttp3.Call modifyGroupAnnouncementAsync(String groupId, EMModifyGroupAnnouncement emModifyGroupAnnouncement, ApiCallback<EMModifyGroupAnnouncementResult> _callback) throws ApiException
      修改群组公告 (asynchronously) 修改指定群组 ID 的群组公告。群组公告不能超过 512 个字符。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BF%AE%E6%94%B9%E7%BE%A4%E7%BB%84%E5%85%AC%E5%91%8A
      参数:
      groupId - (required)
      emModifyGroupAnnouncement - (optional)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • muteAllGroupMembersCall

      public okhttp3.Call muteAllGroupMembersCall(String groupId, ApiCallback _callback) throws ApiException
      Build call for muteAllGroupMembers
      参数:
      groupId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • muteAllGroupMembers

      public EMMuteAllGroupMembersResult muteAllGroupMembers(String groupId) throws ApiException
      禁言全体群成员 对所有群组成员一键禁言,即将群组的所有成员加入禁言列表。设置群组全员禁言后,仅群组白名单中的用户可在群组以及该群组下的子区内发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%A6%81%E8%A8%80%E5%85%A8%E4%BD%93%E7%BE%A4%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      返回:
      EMMuteAllGroupMembersResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • muteAllGroupMembersWithHttpInfo

      public ApiResponse<EMMuteAllGroupMembersResult> muteAllGroupMembersWithHttpInfo(String groupId) throws ApiException
      禁言全体群成员 对所有群组成员一键禁言,即将群组的所有成员加入禁言列表。设置群组全员禁言后,仅群组白名单中的用户可在群组以及该群组下的子区内发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%A6%81%E8%A8%80%E5%85%A8%E4%BD%93%E7%BE%A4%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      返回:
      ApiResponse<EMMuteAllGroupMembersResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • muteAllGroupMembersAsync

      public okhttp3.Call muteAllGroupMembersAsync(String groupId, ApiCallback<EMMuteAllGroupMembersResult> _callback) throws ApiException
      禁言全体群成员 (asynchronously) 对所有群组成员一键禁言,即将群组的所有成员加入禁言列表。设置群组全员禁言后,仅群组白名单中的用户可在群组以及该群组下的子区内发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%A6%81%E8%A8%80%E5%85%A8%E4%BD%93%E7%BE%A4%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • muteGroupMemberCall

      public okhttp3.Call muteGroupMemberCall(String groupId, EMMuteGroupMember emMuteGroupMember, ApiCallback _callback) throws ApiException
      Build call for muteGroupMember
      参数:
      groupId - (required)
      emMuteGroupMember - (optional)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • muteGroupMember

      public EMMuteGroupMemberResult muteGroupMember(String groupId, EMMuteGroupMember emMuteGroupMember) throws ApiException
      禁言指定群成员 对一个或多个群成员禁言。你一次最多可禁言 60 个群组成员。群成员被禁言后,将无法在群组中发送消息,也无法在该群组下的子区中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%A6%81%E8%A8%80%E6%8C%87%E5%AE%9A%E7%BE%A4%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      emMuteGroupMember - (optional)
      返回:
      EMMuteGroupMemberResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • muteGroupMemberWithHttpInfo

      public ApiResponse<EMMuteGroupMemberResult> muteGroupMemberWithHttpInfo(String groupId, EMMuteGroupMember emMuteGroupMember) throws ApiException
      禁言指定群成员 对一个或多个群成员禁言。你一次最多可禁言 60 个群组成员。群成员被禁言后,将无法在群组中发送消息,也无法在该群组下的子区中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%A6%81%E8%A8%80%E6%8C%87%E5%AE%9A%E7%BE%A4%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      emMuteGroupMember - (optional)
      返回:
      ApiResponse<EMMuteGroupMemberResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • muteGroupMemberAsync

      public okhttp3.Call muteGroupMemberAsync(String groupId, EMMuteGroupMember emMuteGroupMember, ApiCallback<EMMuteGroupMemberResult> _callback) throws ApiException
      禁言指定群成员 (asynchronously) 对一个或多个群成员禁言。你一次最多可禁言 60 个群组成员。群成员被禁言后,将无法在群组中发送消息,也无法在该群组下的子区中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%A6%81%E8%A8%80%E6%8C%87%E5%AE%9A%E7%BE%A4%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      emMuteGroupMember - (optional)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • removeGroupAdminCall

      public okhttp3.Call removeGroupAdminCall(String groupId, String username, ApiCallback _callback) throws ApiException
      Build call for removeGroupAdmin
      参数:
      groupId - (required)
      username - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • removeGroupAdmin

      public EMRemoveGroupAdminResult removeGroupAdmin(String groupId, String username) throws ApiException
      移除群管理员 将用户的角色从群管理员降为群普通成员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%A7%BB%E9%99%A4%E7%BE%A4%E7%AE%A1%E7%90%86%E5%91%98
      参数:
      groupId - (required)
      username - (required)
      返回:
      EMRemoveGroupAdminResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • removeGroupAdminWithHttpInfo

      public ApiResponse<EMRemoveGroupAdminResult> removeGroupAdminWithHttpInfo(String groupId, String username) throws ApiException
      移除群管理员 将用户的角色从群管理员降为群普通成员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%A7%BB%E9%99%A4%E7%BE%A4%E7%AE%A1%E7%90%86%E5%91%98
      参数:
      groupId - (required)
      username - (required)
      返回:
      ApiResponse<EMRemoveGroupAdminResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • removeGroupAdminAsync

      public okhttp3.Call removeGroupAdminAsync(String groupId, String username, ApiCallback<EMRemoveGroupAdminResult> _callback) throws ApiException
      移除群管理员 (asynchronously) 将用户的角色从群管理员降为群普通成员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%A7%BB%E9%99%A4%E7%BE%A4%E7%AE%A1%E7%90%86%E5%91%98
      参数:
      groupId - (required)
      username - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • removeUserFromGroupBlockListCall

      public okhttp3.Call removeUserFromGroupBlockListCall(String groupId, String username, ApiCallback _callback) throws ApiException
      Build call for removeUserFromGroupBlockList
      参数:
      groupId - (required)
      username - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • removeUserFromGroupBlockList

      public EMRemoveUserFromGroupBlockListResult removeUserFromGroupBlockList(String groupId, String username) throws ApiException
      从群组黑名单移除单个用户 将指定用户移出群组黑名单。对于群组黑名单中的用户,如果需要将其再次加入群组,需要先将其从群组黑名单中移除。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BB%8E%E7%BE%A4%E7%BB%84%E9%BB%91%E5%90%8D%E5%8D%95%E7%A7%BB%E9%99%A4%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7
      参数:
      groupId - (required)
      username - (required)
      返回:
      EMRemoveUserFromGroupBlockListResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • removeUserFromGroupBlockListWithHttpInfo

      public ApiResponse<EMRemoveUserFromGroupBlockListResult> removeUserFromGroupBlockListWithHttpInfo(String groupId, String username) throws ApiException
      从群组黑名单移除单个用户 将指定用户移出群组黑名单。对于群组黑名单中的用户,如果需要将其再次加入群组,需要先将其从群组黑名单中移除。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BB%8E%E7%BE%A4%E7%BB%84%E9%BB%91%E5%90%8D%E5%8D%95%E7%A7%BB%E9%99%A4%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7
      参数:
      groupId - (required)
      username - (required)
      返回:
      ApiResponse<EMRemoveUserFromGroupBlockListResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • removeUserFromGroupBlockListAsync

      public okhttp3.Call removeUserFromGroupBlockListAsync(String groupId, String username, ApiCallback<EMRemoveUserFromGroupBlockListResult> _callback) throws ApiException
      从群组黑名单移除单个用户 (asynchronously) 将指定用户移出群组黑名单。对于群组黑名单中的用户,如果需要将其再次加入群组,需要先将其从群组黑名单中移除。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BB%8E%E7%BE%A4%E7%BB%84%E9%BB%91%E5%90%8D%E5%8D%95%E7%A7%BB%E9%99%A4%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7
      参数:
      groupId - (required)
      username - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • removeUserFromGroupWhiteListCall

      public okhttp3.Call removeUserFromGroupWhiteListCall(String groupId, String username, ApiCallback _callback) throws ApiException
      Build call for removeUserFromGroupWhiteList
      参数:
      groupId - (required)
      username - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • removeUserFromGroupWhiteList

      public EMRemoveUserFromGroupWhiteListResult removeUserFromGroupWhiteList(String groupId, String username) throws ApiException
      从群组白名单移除用户 将指定用户从群组白名单中移除。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BB%8E%E7%BE%A4%E7%BB%84%E7%99%BD%E5%90%8D%E5%8D%95%E7%A7%BB%E9%99%A4%E7%94%A8%E6%88%B7
      参数:
      groupId - (required)
      username - (required)
      返回:
      EMRemoveUserFromGroupWhiteListResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • removeUserFromGroupWhiteListWithHttpInfo

      public ApiResponse<EMRemoveUserFromGroupWhiteListResult> removeUserFromGroupWhiteListWithHttpInfo(String groupId, String username) throws ApiException
      从群组白名单移除用户 将指定用户从群组白名单中移除。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BB%8E%E7%BE%A4%E7%BB%84%E7%99%BD%E5%90%8D%E5%8D%95%E7%A7%BB%E9%99%A4%E7%94%A8%E6%88%B7
      参数:
      groupId - (required)
      username - (required)
      返回:
      ApiResponse<EMRemoveUserFromGroupWhiteListResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • removeUserFromGroupWhiteListAsync

      public okhttp3.Call removeUserFromGroupWhiteListAsync(String groupId, String username, ApiCallback<EMRemoveUserFromGroupWhiteListResult> _callback) throws ApiException
      从群组白名单移除用户 (asynchronously) 将指定用户从群组白名单中移除。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BB%8E%E7%BE%A4%E7%BB%84%E7%99%BD%E5%90%8D%E5%8D%95%E7%A7%BB%E9%99%A4%E7%94%A8%E6%88%B7
      参数:
      groupId - (required)
      username - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • removeUserToGroupCall

      public okhttp3.Call removeUserToGroupCall(String groupId, String username, ApiCallback _callback) throws ApiException
      Build call for removeUserToGroup
      参数:
      groupId - (required)
      username - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • removeUserToGroup

      public EMRemoveUserToGroupResult removeUserToGroup(String groupId, String username) throws ApiException
      移除单个群组成员 从群中移除指定成员。如果被移除用户不是群成员,将移除失败,并返回错误。移除后,该成员也会被移除其在该群组中加入的子区。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%A7%BB%E9%99%A4%E5%8D%95%E4%B8%AA%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      username - (required)
      返回:
      EMRemoveUserToGroupResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • removeUsersToGroup

      public EMRemoveUsersToGroupResult removeUsersToGroup(String groupId, List<String> usernames) throws ApiException
      批量移除群组成员 一次移除多名群成员。如果所有被移除用户均不是群成员,将移除失败,并返回错误。移除后,这些成员也会被移除其在该群组中加入的子区。文档介绍:https://doc.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E7%A7%BB%E9%99%A4%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      usernames - (required)
      返回:
      EMRemoveUserToGroupResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • removeUsersToGroupWithHttpInfo

      public ApiResponse<EMRemoveUsersToGroupResponse> removeUsersToGroupWithHttpInfo(String groupId, String usernames) throws ApiException
      批量移除群组成员 一次移除多名群成员。如果所有被移除用户均不是群成员,将移除失败,并返回错误。移除后,这些成员也会被移除其在该群组中加入的子区。文档介绍:https://doc.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E7%A7%BB%E9%99%A4%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      usernames - (required)
      返回:
      ApiResponse<EMRemoveUsersToGroupResponse>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • removeUserToGroupWithHttpInfo

      public ApiResponse<EMRemoveUserToGroupResult> removeUserToGroupWithHttpInfo(String groupId, String username) throws ApiException
      移除单个群组成员 从群中移除指定成员。如果被移除用户不是群成员,将移除失败,并返回错误。移除后,该成员也会被移除其在该群组中加入的子区。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%A7%BB%E9%99%A4%E5%8D%95%E4%B8%AA%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      username - (required)
      返回:
      ApiResponse<EMRemoveUserToGroupResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • removeUserToGroupAsync

      public okhttp3.Call removeUserToGroupAsync(String groupId, String username, ApiCallback<EMRemoveUserToGroupResult> _callback) throws ApiException
      移除单个群组成员 (asynchronously) 从群中移除指定成员。如果被移除用户不是群成员,将移除失败,并返回错误。移除后,该成员也会被移除其在该群组中加入的子区。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%A7%BB%E9%99%A4%E5%8D%95%E4%B8%AA%E7%BE%A4%E7%BB%84%E6%88%90%E5%91%98
      参数:
      groupId - (required)
      username - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • unmuteAllGroupMembersCall

      public okhttp3.Call unmuteAllGroupMembersCall(String groupId, ApiCallback _callback) throws ApiException
      Build call for unmuteAllGroupMembers
      参数:
      groupId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • unmuteAllGroupMembers

      public EMUnmuteAllGroupMembersResult unmuteAllGroupMembers(String groupId) throws ApiException
      解除全员禁言 一键取消对群组全体成员的禁言。解除禁言后,群成员可以在群组和该群组下的子区中正常发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%A7%A3%E9%99%A4%E5%85%A8%E5%91%98%E7%A6%81%E8%A8%80
      参数:
      groupId - (required)
      返回:
      EMUnmuteAllGroupMembersResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • unmuteAllGroupMembersWithHttpInfo

      public ApiResponse<EMUnmuteAllGroupMembersResult> unmuteAllGroupMembersWithHttpInfo(String groupId) throws ApiException
      解除全员禁言 一键取消对群组全体成员的禁言。解除禁言后,群成员可以在群组和该群组下的子区中正常发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%A7%A3%E9%99%A4%E5%85%A8%E5%91%98%E7%A6%81%E8%A8%80
      参数:
      groupId - (required)
      返回:
      ApiResponse<EMUnmuteAllGroupMembersResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • unmuteAllGroupMembersAsync

      public okhttp3.Call unmuteAllGroupMembersAsync(String groupId, ApiCallback<EMUnmuteAllGroupMembersResult> _callback) throws ApiException
      解除全员禁言 (asynchronously) 一键取消对群组全体成员的禁言。解除禁言后,群成员可以在群组和该群组下的子区中正常发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%A7%A3%E9%99%A4%E5%85%A8%E5%91%98%E7%A6%81%E8%A8%80
      参数:
      groupId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • unmuteGroupMemberCall

      public okhttp3.Call unmuteGroupMemberCall(String groupId, String username, ApiCallback _callback) throws ApiException
      Build call for unmuteGroupMember
      参数:
      groupId - (required)
      username - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • unmuteGroupMember

      public EMUnmuteGroupMemberResult unmuteGroupMember(String groupId, String username) throws ApiException
      解除成员禁言 将一个群成员移出禁言列表。移除后,群成员可以在群组中正常发送消息,同时也可以在该群组下的子区中发送消息。。文档介绍:https://doc.easemob.com/document/server-side/group_member_mutelist.html#%E8%A7%A3%E9%99%A4%E6%88%90%E5%91%98%E7%A6%81%E8%A8%80
      参数:
      groupId - (required)
      username - (required)
      返回:
      EMUnmuteGroupMemberResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • unmuteGroupMemberWithHttpInfo

      public ApiResponse<EMUnmuteGroupMemberResult> unmuteGroupMemberWithHttpInfo(String groupId, String username) throws ApiException
      解除成员禁言 将一个群成员移出禁言列表。移除后,群成员可以在群组中正常发送消息,同时也可以在该群组下的子区中发送消息。。文档介绍:https://doc.easemob.com/document/server-side/group_member_mutelist.html#%E8%A7%A3%E9%99%A4%E6%88%90%E5%91%98%E7%A6%81%E8%A8%80
      参数:
      groupId - (required)
      username - (required)
      返回:
      ApiResponse<EMUnmuteGroupMemberResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • unmuteGroupMemberAsync

      public okhttp3.Call unmuteGroupMemberAsync(String groupId, String username, ApiCallback<EMUnmuteGroupMemberResult> _callback) throws ApiException
      解除成员禁言 (asynchronously) 将一个群成员移出禁言列表。移除后,群成员可以在群组中正常发送消息,同时也可以在该群组下的子区中发送消息。。文档介绍:https://doc.easemob.com/document/server-side/group_member_mutelist.html#%E8%A7%A3%E9%99%A4%E6%88%90%E5%91%98%E7%A6%81%E8%A8%80
      参数:
      groupId - (required)
      username - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • uploadGroupShareFileCall

      public okhttp3.Call uploadGroupShareFileCall(String groupId, File _file, ApiCallback _callback) throws ApiException
      Build call for uploadGroupShareFile
      参数:
      groupId - (required)
      _file - 文件本地路径 (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • uploadGroupShareFile

      public EMUploadGroupShareFileResult uploadGroupShareFile(String groupId, File _file) throws ApiException
      上传群组共享文件 上传指定群组 ID 的群组共享文件。注意上传的文件大小不能超过 10 MB。分页获取指定群组 ID 的群组共享文件,然后可以根据响应中返回的文件 ID(file_id)调用 下载群组共享文件 接口下载该文件,或调用 删除群组共享文件 接口删除该文件。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%B8%8A%E4%BC%A0%E7%BE%A4%E7%BB%84%E5%85%B1%E4%BA%AB%E6%96%87%E4%BB%B6
      参数:
      groupId - (required)
      _file - 文件本地路径 (required)
      返回:
      EMUploadGroupShareFileResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • uploadGroupShareFileWithHttpInfo

      public ApiResponse<EMUploadGroupShareFileResult> uploadGroupShareFileWithHttpInfo(String groupId, File _file) throws ApiException
      上传群组共享文件 上传指定群组 ID 的群组共享文件。注意上传的文件大小不能超过 10 MB。分页获取指定群组 ID 的群组共享文件,然后可以根据响应中返回的文件 ID(file_id)调用 下载群组共享文件 接口下载该文件,或调用 删除群组共享文件 接口删除该文件。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%B8%8A%E4%BC%A0%E7%BE%A4%E7%BB%84%E5%85%B1%E4%BA%AB%E6%96%87%E4%BB%B6
      参数:
      groupId - (required)
      _file - 文件本地路径 (required)
      返回:
      ApiResponse<EMUploadGroupShareFileResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • uploadGroupShareFileAsync

      public okhttp3.Call uploadGroupShareFileAsync(String groupId, File _file, ApiCallback<EMUploadGroupShareFileResult> _callback) throws ApiException
      上传群组共享文件 (asynchronously) 上传指定群组 ID 的群组共享文件。注意上传的文件大小不能超过 10 MB。分页获取指定群组 ID 的群组共享文件,然后可以根据响应中返回的文件 ID(file_id)调用 下载群组共享文件 接口下载该文件,或调用 删除群组共享文件 接口删除该文件。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%B8%8A%E4%BC%A0%E7%BE%A4%E7%BB%84%E5%85%B1%E4%BA%AB%E6%96%87%E4%BB%B6
      参数:
      groupId - (required)
      _file - 文件本地路径 (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details
    • getGroupMemberCountCall

      public okhttp3.Call getGroupMemberCountCall(@Nonnull String groupId, ApiCallback _callback) throws ApiException
      Build call for getGroupMemberCount
      参数:
      groupId - (required)
      _callback - Callback for upload/download progress
      返回:
      Call to execute
      抛出:
      ApiException - If fail to serialize the request body object http.response.details
    • getGroupMemberCount

      public EMGetGroupMemberCountResult getGroupMemberCount(@Nonnull String groupId) throws ApiException
      获取群组成员数量 获取群组成员数量。
      参数:
      groupId - (required)
      返回:
      EMGetGroupMemberCountResult
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupMemberCountWithHttpInfo

      public ApiResponse<EMGetGroupMemberCountResult> getGroupMemberCountWithHttpInfo(@Nonnull String groupId) throws ApiException
      获取群组成员数量 获取群组成员数量。
      参数:
      groupId - (required)
      返回:
      ApiResponse<EMGetGroupMemberCountResult>
      抛出:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
    • getGroupMemberCountAsync

      public okhttp3.Call getGroupMemberCountAsync(@Nonnull String groupId, ApiCallback<EMGetGroupMemberCountResult> _callback) throws ApiException
      获取群组成员数量 (asynchronously) 获取群组成员数量。
      参数:
      groupId - (required)
      _callback - The callback to be executed when the API call finishes
      返回:
      The request call
      抛出:
      ApiException - If fail to process the API call, e.g. serializing the request body object http.response.details