类 ThreadApi
java.lang.Object
com.easemob.im.api.ThreadApi
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addMultipleUsersToThread(String threadId, EMAddMultipleUsersToThread emAddMultipleUsersToThread) 用户批量加入子区 用户批量加入指定的子区。okhttp3.CalladdMultipleUsersToThreadAsync(String threadId, EMAddMultipleUsersToThread emAddMultipleUsersToThread, ApiCallback<EMAddMultipleUsersToThreadResult> _callback) 用户批量加入子区 (asynchronously) 用户批量加入指定的子区。okhttp3.CalladdMultipleUsersToThreadCall(String threadId, EMAddMultipleUsersToThread emAddMultipleUsersToThread, ApiCallback _callback) Build call for addMultipleUsersToThreadaddMultipleUsersToThreadWithHttpInfo(String threadId, EMAddMultipleUsersToThread emAddMultipleUsersToThread) 用户批量加入子区 用户批量加入指定的子区。createThread(EMCreateThread emCreateThread) 创建子区 创建子区。okhttp3.CallcreateThreadAsync(EMCreateThread emCreateThread, ApiCallback<EMCreateThreadResult> _callback) 创建子区 (asynchronously) 创建子区。okhttp3.CallcreateThreadCall(EMCreateThread emCreateThread, ApiCallback _callback) Build call for createThreadcreateThreadWithHttpInfo(EMCreateThread emCreateThread) 创建子区 创建子区。deleteThread(String threadId) 删除子区 删除指定子区。okhttp3.CalldeleteThreadAsync(String threadId, ApiCallback<EMDeleteThreadResult> _callback) 删除子区 (asynchronously) 删除指定子区。okhttp3.CalldeleteThreadCall(String threadId, ApiCallback _callback) Build call for deleteThreaddeleteThreadWithHttpInfo(String threadId) 删除子区 删除指定子区。intgetThreadMemberList(String threadId, Integer limit, String cursor) 获取子区成员列表(分页) 分页获取应用下的子区列表。okhttp3.CallgetThreadMemberListAsync(String threadId, Integer limit, String cursor, ApiCallback<EMGetThreadMemberListResult> _callback) 获取子区成员列表(分页) (asynchronously) 分页获取应用下的子区列表。okhttp3.CallgetThreadMemberListCall(String threadId, Integer limit, String cursor, ApiCallback _callback) Build call for getThreadMemberListgetThreadMemberListWithHttpInfo(String threadId, Integer limit, String cursor) 获取子区成员列表(分页) 分页获取应用下的子区列表。getThreadsUnderApp(Integer limit, String cursor, String sort) 获取 app 中的子区 分页获取应用下的子区列表。okhttp3.CallgetThreadsUnderAppAsync(Integer limit, String cursor, String sort, ApiCallback<EMGetThreadsUnderAppResult> _callback) 获取 app 中的子区 (asynchronously) 分页获取应用下的子区列表。okhttp3.CallgetThreadsUnderAppCall(Integer limit, String cursor, String sort, ApiCallback _callback) Build call for getThreadsUnderAppgetThreadsUnderAppWithHttpInfo(Integer limit, String cursor, String sort) 获取 app 中的子区 分页获取应用下的子区列表。getUserJoinedThreads(String username, Integer limit, String cursor, String sort) 获取单个用户加入的所有子区(分页获取) 根据用户 ID 获取该用户加入的所有子区。okhttp3.CallgetUserJoinedThreadsAsync(String username, Integer limit, String cursor, String sort, ApiCallback<EMGetUserJoinedThreadsResult> _callback) 获取单个用户加入的所有子区(分页获取) (asynchronously) 根据用户 ID 获取该用户加入的所有子区。okhttp3.CallgetUserJoinedThreadsCall(String username, Integer limit, String cursor, String sort, ApiCallback _callback) Build call for getUserJoinedThreadsgetUserJoinedThreadsUnderGroup(String groupId, String username, Integer limit, String cursor, String sort) 获取单个用户在指定群组中加入的所有子区 (分页获取) 根据用户 ID 获取该用户在指定群组中加入的所有子区。okhttp3.CallgetUserJoinedThreadsUnderGroupAsync(String groupId, String username, Integer limit, String cursor, String sort, ApiCallback<EMGetUserJoinedThreadsUnderGroupResult> _callback) 获取单个用户在指定群组中加入的所有子区 (分页获取) (asynchronously) 根据用户 ID 获取该用户在指定群组中加入的所有子区。okhttp3.CallgetUserJoinedThreadsUnderGroupCall(String groupId, String username, Integer limit, String cursor, String sort, ApiCallback _callback) Build call for getUserJoinedThreadsUnderGroupgetUserJoinedThreadsUnderGroupWithHttpInfo(String groupId, String username, Integer limit, String cursor, String sort) 获取单个用户在指定群组中加入的所有子区 (分页获取) 根据用户 ID 获取该用户在指定群组中加入的所有子区。getUserJoinedThreadsWithHttpInfo(String username, Integer limit, String cursor, String sort) 获取单个用户加入的所有子区(分页获取) 根据用户 ID 获取该用户加入的所有子区。modifyThread(String threadId, EMModifyThread emModifyThread) 修改子区 分页获取应用下的子区列表。okhttp3.CallmodifyThreadAsync(String threadId, EMModifyThread emModifyThread, ApiCallback<EMModifyThreadResult> _callback) 修改子区 (asynchronously) 分页获取应用下的子区列表。okhttp3.CallmodifyThreadCall(String threadId, EMModifyThread emModifyThread, ApiCallback _callback) Build call for modifyThreadmodifyThreadWithHttpInfo(String threadId, EMModifyThread emModifyThread) 修改子区 分页获取应用下的子区列表。removeMultipleUsersFromThread(String threadId, EMRemoveMultipleUsersFromThread emRemoveMultipleUsersFromThread) 批量踢出子区成员 批量踢出子区成员。okhttp3.CallremoveMultipleUsersFromThreadAsync(String threadId, EMRemoveMultipleUsersFromThread emRemoveMultipleUsersFromThread, ApiCallback<EMRemoveMultipleUsersFromThreadResult> _callback) 批量踢出子区成员 (asynchronously) 批量踢出子区成员。okhttp3.CallremoveMultipleUsersFromThreadCall(String threadId, EMRemoveMultipleUsersFromThread emRemoveMultipleUsersFromThread, ApiCallback _callback) Build call for removeMultipleUsersFromThreadremoveMultipleUsersFromThreadWithHttpInfo(String threadId, EMRemoveMultipleUsersFromThread emRemoveMultipleUsersFromThread) 批量踢出子区成员 批量踢出子区成员。voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
构造器详细资料
-
ThreadApi
public ThreadApi() -
ThreadApi
-
-
方法详细资料
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
addMultipleUsersToThreadCall
public okhttp3.Call addMultipleUsersToThreadCall(String threadId, EMAddMultipleUsersToThread emAddMultipleUsersToThread, ApiCallback _callback) throws ApiException Build call for addMultipleUsersToThread- 参数:
threadId- (required)emAddMultipleUsersToThread- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
addMultipleUsersToThread
public EMAddMultipleUsersToThreadResult addMultipleUsersToThread(String threadId, EMAddMultipleUsersToThread emAddMultipleUsersToThread) throws ApiException 用户批量加入子区 用户批量加入指定的子区。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%94%A8%E6%88%B7%E6%89%B9%E9%87%8F%E5%8A%A0%E5%85%A5%E5%AD%90%E5%8C%BA- 参数:
threadId- (required)emAddMultipleUsersToThread- (optional)- 返回:
- EMAddMultipleUsersToThreadResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addMultipleUsersToThreadWithHttpInfo
public ApiResponse<EMAddMultipleUsersToThreadResult> addMultipleUsersToThreadWithHttpInfo(String threadId, EMAddMultipleUsersToThread emAddMultipleUsersToThread) throws ApiException 用户批量加入子区 用户批量加入指定的子区。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%94%A8%E6%88%B7%E6%89%B9%E9%87%8F%E5%8A%A0%E5%85%A5%E5%AD%90%E5%8C%BA- 参数:
threadId- (required)emAddMultipleUsersToThread- (optional)- 返回:
- ApiResponse<EMAddMultipleUsersToThreadResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addMultipleUsersToThreadAsync
public okhttp3.Call addMultipleUsersToThreadAsync(String threadId, EMAddMultipleUsersToThread emAddMultipleUsersToThread, ApiCallback<EMAddMultipleUsersToThreadResult> _callback) throws ApiException 用户批量加入子区 (asynchronously) 用户批量加入指定的子区。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E7%94%A8%E6%88%B7%E6%89%B9%E9%87%8F%E5%8A%A0%E5%85%A5%E5%AD%90%E5%8C%BA- 参数:
threadId- (required)emAddMultipleUsersToThread- (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
-
createThreadCall
public okhttp3.Call createThreadCall(EMCreateThread emCreateThread, ApiCallback _callback) throws ApiException Build call for createThread- 参数:
emCreateThread- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
createThread
创建子区 创建子区。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%9B%E5%BB%BA%E5%AD%90%E5%8C%BA- 参数:
emCreateThread- (optional)- 返回:
- EMCreateThreadResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
createThreadWithHttpInfo
public ApiResponse<EMCreateThreadResult> createThreadWithHttpInfo(EMCreateThread emCreateThread) throws ApiException 创建子区 创建子区。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%9B%E5%BB%BA%E5%AD%90%E5%8C%BA- 参数:
emCreateThread- (optional)- 返回:
- ApiResponse<EMCreateThreadResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
createThreadAsync
public okhttp3.Call createThreadAsync(EMCreateThread emCreateThread, ApiCallback<EMCreateThreadResult> _callback) throws ApiException 创建子区 (asynchronously) 创建子区。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%9B%E5%BB%BA%E5%AD%90%E5%8C%BA- 参数:
emCreateThread- (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
-
deleteThreadCall
Build call for deleteThread- 参数:
threadId- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
deleteThread
删除子区 删除指定子区。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%A0%E9%99%A4%E5%AD%90%E5%8C%BA- 参数:
threadId- (required)- 返回:
- EMDeleteThreadResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
deleteThreadWithHttpInfo
public ApiResponse<EMDeleteThreadResult> deleteThreadWithHttpInfo(String threadId) throws ApiException 删除子区 删除指定子区。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%A0%E9%99%A4%E5%AD%90%E5%8C%BA- 参数:
threadId- (required)- 返回:
- ApiResponse<EMDeleteThreadResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
deleteThreadAsync
public okhttp3.Call deleteThreadAsync(String threadId, ApiCallback<EMDeleteThreadResult> _callback) throws ApiException 删除子区 (asynchronously) 删除指定子区。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E5%88%A0%E9%99%A4%E5%AD%90%E5%8C%BA- 参数:
threadId- (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
-
getThreadMemberListCall
public okhttp3.Call getThreadMemberListCall(String threadId, Integer limit, String cursor, ApiCallback _callback) throws ApiException Build call for getThreadMemberList- 参数:
threadId- (required)limit- 每次期望返回的子区成员数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getThreadMemberList
public EMGetThreadMemberListResult getThreadMemberList(String threadId, Integer limit, String cursor) throws ApiException 获取子区成员列表(分页) 分页获取应用下的子区列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E5%AD%90%E5%8C%BA%E6%88%90%E5%91%98%E5%88%97%E8%A1%A8-%E5%88%86%E9%A1%B5- 参数:
threadId- (required)limit- 每次期望返回的子区成员数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)- 返回:
- EMGetThreadMemberListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getThreadMemberListWithHttpInfo
public ApiResponse<EMGetThreadMemberListResult> getThreadMemberListWithHttpInfo(String threadId, Integer limit, String cursor) throws ApiException 获取子区成员列表(分页) 分页获取应用下的子区列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E5%AD%90%E5%8C%BA%E6%88%90%E5%91%98%E5%88%97%E8%A1%A8-%E5%88%86%E9%A1%B5- 参数:
threadId- (required)limit- 每次期望返回的子区成员数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)- 返回:
- ApiResponse<EMGetThreadMemberListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getThreadMemberListAsync
public okhttp3.Call getThreadMemberListAsync(String threadId, Integer limit, String cursor, ApiCallback<EMGetThreadMemberListResult> _callback) throws ApiException 获取子区成员列表(分页) (asynchronously) 分页获取应用下的子区列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E8%8E%B7%E5%8F%96%E5%AD%90%E5%8C%BA%E6%88%90%E5%91%98%E5%88%97%E8%A1%A8-%E5%88%86%E9%A1%B5- 参数:
threadId- (required)limit- 每次期望返回的子区成员数量,取值范围为 [1,50],默认值为 50 (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
-
getThreadsUnderAppCall
public okhttp3.Call getThreadsUnderAppCall(Integer limit, String cursor, String sort, ApiCallback _callback) throws ApiException Build call for getThreadsUnderApp- 参数:
limit- 每次期望返回的子区数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)sort- 获取的子区的排序顺序: - asc:按子区创建时间的正序; - (默认)desc:按子区创建时间的倒序 (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getThreadsUnderApp
public EMGetThreadsUnderAppResult getThreadsUnderApp(Integer limit, String cursor, String sort) 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%E5%AD%90%E5%8C%BA- 参数:
limit- 每次期望返回的子区数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)sort- 获取的子区的排序顺序: - asc:按子区创建时间的正序; - (默认)desc:按子区创建时间的倒序 (optional)- 返回:
- EMGetThreadsUnderAppResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getThreadsUnderAppWithHttpInfo
public ApiResponse<EMGetThreadsUnderAppResult> getThreadsUnderAppWithHttpInfo(Integer limit, String cursor, String sort) 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%E5%AD%90%E5%8C%BA- 参数:
limit- 每次期望返回的子区数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)sort- 获取的子区的排序顺序: - asc:按子区创建时间的正序; - (默认)desc:按子区创建时间的倒序 (optional)- 返回:
- ApiResponse<EMGetThreadsUnderAppResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getThreadsUnderAppAsync
public okhttp3.Call getThreadsUnderAppAsync(Integer limit, String cursor, String sort, ApiCallback<EMGetThreadsUnderAppResult> _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%E5%AD%90%E5%8C%BA- 参数:
limit- 每次期望返回的子区数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)sort- 获取的子区的排序顺序: - asc:按子区创建时间的正序; - (默认)desc:按子区创建时间的倒序 (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
-
getUserJoinedThreadsCall
public okhttp3.Call getUserJoinedThreadsCall(String username, Integer limit, String cursor, String sort, ApiCallback _callback) throws ApiException Build call for getUserJoinedThreads- 参数:
username- (required)limit- 每次期望返回的子区数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)sort- 获取的子区的排序顺序: - asc:按用户加入子区的时间的正序; - (默认)desc:按用户加入子区的时间的倒序 (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getUserJoinedThreads
public EMGetUserJoinedThreadsResult getUserJoinedThreads(String username, Integer limit, String cursor, String sort) 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%E5%AD%90%E5%8C%BA-%E5%88%86%E9%A1%B5%E8%8E%B7%E5%8F%96- 参数:
username- (required)limit- 每次期望返回的子区数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)sort- 获取的子区的排序顺序: - asc:按用户加入子区的时间的正序; - (默认)desc:按用户加入子区的时间的倒序 (optional)- 返回:
- EMGetUserJoinedThreadsResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getUserJoinedThreadsWithHttpInfo
public ApiResponse<EMGetUserJoinedThreadsResult> getUserJoinedThreadsWithHttpInfo(String username, Integer limit, String cursor, String sort) 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%E5%AD%90%E5%8C%BA-%E5%88%86%E9%A1%B5%E8%8E%B7%E5%8F%96- 参数:
username- (required)limit- 每次期望返回的子区数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)sort- 获取的子区的排序顺序: - asc:按用户加入子区的时间的正序; - (默认)desc:按用户加入子区的时间的倒序 (optional)- 返回:
- ApiResponse<EMGetUserJoinedThreadsResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getUserJoinedThreadsAsync
public okhttp3.Call getUserJoinedThreadsAsync(String username, Integer limit, String cursor, String sort, ApiCallback<EMGetUserJoinedThreadsResult> _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%E5%AD%90%E5%8C%BA-%E5%88%86%E9%A1%B5%E8%8E%B7%E5%8F%96- 参数:
username- (required)limit- 每次期望返回的子区数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)sort- 获取的子区的排序顺序: - asc:按用户加入子区的时间的正序; - (默认)desc:按用户加入子区的时间的倒序 (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
-
getUserJoinedThreadsUnderGroupCall
public okhttp3.Call getUserJoinedThreadsUnderGroupCall(String groupId, String username, Integer limit, String cursor, String sort, ApiCallback _callback) throws ApiException Build call for getUserJoinedThreadsUnderGroup- 参数:
groupId- (required)username- (required)limit- 每次期望返回的子区数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)sort- 获取的子区的排序顺序: - asc:按用户加入子区的时间的正序; - (默认)desc:按用户加入子区的时间的倒序 (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getUserJoinedThreadsUnderGroup
public EMGetUserJoinedThreadsUnderGroupResult getUserJoinedThreadsUnderGroup(String groupId, String username, Integer limit, String cursor, String sort) 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%9C%A8%E6%8C%87%E5%AE%9A%E7%BE%A4%E7%BB%84%E4%B8%AD%E5%8A%A0%E5%85%A5%E7%9A%84%E6%89%80%E6%9C%89%E5%AD%90%E5%8C%BA-%E5%88%86%E9%A1%B5%E8%8E%B7%E5%8F%96- 参数:
groupId- (required)username- (required)limit- 每次期望返回的子区数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)sort- 获取的子区的排序顺序: - asc:按用户加入子区的时间的正序; - (默认)desc:按用户加入子区的时间的倒序 (optional)- 返回:
- EMGetUserJoinedThreadsUnderGroupResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getUserJoinedThreadsUnderGroupWithHttpInfo
public ApiResponse<EMGetUserJoinedThreadsUnderGroupResult> getUserJoinedThreadsUnderGroupWithHttpInfo(String groupId, String username, Integer limit, String cursor, String sort) 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%9C%A8%E6%8C%87%E5%AE%9A%E7%BE%A4%E7%BB%84%E4%B8%AD%E5%8A%A0%E5%85%A5%E7%9A%84%E6%89%80%E6%9C%89%E5%AD%90%E5%8C%BA-%E5%88%86%E9%A1%B5%E8%8E%B7%E5%8F%96- 参数:
groupId- (required)username- (required)limit- 每次期望返回的子区数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)sort- 获取的子区的排序顺序: - asc:按用户加入子区的时间的正序; - (默认)desc:按用户加入子区的时间的倒序 (optional)- 返回:
- ApiResponse<EMGetUserJoinedThreadsUnderGroupResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getUserJoinedThreadsUnderGroupAsync
public okhttp3.Call getUserJoinedThreadsUnderGroupAsync(String groupId, String username, Integer limit, String cursor, String sort, ApiCallback<EMGetUserJoinedThreadsUnderGroupResult> _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%9C%A8%E6%8C%87%E5%AE%9A%E7%BE%A4%E7%BB%84%E4%B8%AD%E5%8A%A0%E5%85%A5%E7%9A%84%E6%89%80%E6%9C%89%E5%AD%90%E5%8C%BA-%E5%88%86%E9%A1%B5%E8%8E%B7%E5%8F%96- 参数:
groupId- (required)username- (required)limit- 每次期望返回的子区数量,取值范围为 [1,50],默认值为 50 (optional)cursor- 数据查询的起始位置 (optional)sort- 获取的子区的排序顺序: - asc:按用户加入子区的时间的正序; - (默认)desc:按用户加入子区的时间的倒序 (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
-
modifyThreadCall
public okhttp3.Call modifyThreadCall(String threadId, EMModifyThread emModifyThread, ApiCallback _callback) throws ApiException Build call for modifyThread- 参数:
threadId- (required)emModifyThread- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
modifyThread
public EMModifyThreadResult modifyThread(String threadId, EMModifyThread emModifyThread) throws ApiException 修改子区 分页获取应用下的子区列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BF%AE%E6%94%B9%E5%AD%90%E5%8C%BA- 参数:
threadId- (required)emModifyThread- (optional)- 返回:
- EMModifyThreadResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
modifyThreadWithHttpInfo
public ApiResponse<EMModifyThreadResult> modifyThreadWithHttpInfo(String threadId, EMModifyThread emModifyThread) throws ApiException 修改子区 分页获取应用下的子区列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BF%AE%E6%94%B9%E5%AD%90%E5%8C%BA- 参数:
threadId- (required)emModifyThread- (optional)- 返回:
- ApiResponse<EMModifyThreadResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
modifyThreadAsync
public okhttp3.Call modifyThreadAsync(String threadId, EMModifyThread emModifyThread, ApiCallback<EMModifyThreadResult> _callback) throws ApiException 修改子区 (asynchronously) 分页获取应用下的子区列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E4%BF%AE%E6%94%B9%E5%AD%90%E5%8C%BA- 参数:
threadId- (required)emModifyThread- (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
-
removeMultipleUsersFromThreadCall
public okhttp3.Call removeMultipleUsersFromThreadCall(String threadId, EMRemoveMultipleUsersFromThread emRemoveMultipleUsersFromThread, ApiCallback _callback) throws ApiException Build call for removeMultipleUsersFromThread- 参数:
threadId- (required)emRemoveMultipleUsersFromThread- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
removeMultipleUsersFromThread
public EMRemoveMultipleUsersFromThreadResult removeMultipleUsersFromThread(String threadId, EMRemoveMultipleUsersFromThread emRemoveMultipleUsersFromThread) throws ApiException 批量踢出子区成员 批量踢出子区成员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E8%B8%A2%E5%87%BA%E5%AD%90%E5%8C%BA%E6%88%90%E5%91%98- 参数:
threadId- (required)emRemoveMultipleUsersFromThread- (optional)- 返回:
- EMRemoveMultipleUsersFromThreadResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
removeMultipleUsersFromThreadWithHttpInfo
public ApiResponse<EMRemoveMultipleUsersFromThreadResult> removeMultipleUsersFromThreadWithHttpInfo(String threadId, EMRemoveMultipleUsersFromThread emRemoveMultipleUsersFromThread) throws ApiException 批量踢出子区成员 批量踢出子区成员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E8%B8%A2%E5%87%BA%E5%AD%90%E5%8C%BA%E6%88%90%E5%91%98- 参数:
threadId- (required)emRemoveMultipleUsersFromThread- (optional)- 返回:
- ApiResponse<EMRemoveMultipleUsersFromThreadResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
removeMultipleUsersFromThreadAsync
public okhttp3.Call removeMultipleUsersFromThreadAsync(String threadId, EMRemoveMultipleUsersFromThread emRemoveMultipleUsersFromThread, ApiCallback<EMRemoveMultipleUsersFromThreadResult> _callback) throws ApiException 批量踢出子区成员 (asynchronously) 批量踢出子区成员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/group.html#%E6%89%B9%E9%87%8F%E8%B8%A2%E5%87%BA%E5%AD%90%E5%8C%BA%E6%88%90%E5%91%98- 参数:
threadId- (required)emRemoveMultipleUsersFromThread- (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
-