类 RoomApi
java.lang.Object
com.easemob.im.api.RoomApi
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddMultipleUserToRoom(String chatroomId, EMAddMultipleUserToRoom emAddMultipleUserToRoom) 批量添加聊天室成员 向聊天室添加多位用户,一次性最多可添加 60 位用户。okhttp3.CalladdMultipleUserToRoomAsync(String chatroomId, EMAddMultipleUserToRoom emAddMultipleUserToRoom, ApiCallback<Void> _callback) 批量添加聊天室成员 (asynchronously) 向聊天室添加多位用户,一次性最多可添加 60 位用户。addMultipleUserToRoomBlockList(String chatroomId, EMAddMultipleUserToRoomBlockList emAddMultipleUserToRoomBlockList) 批量添加用户至聊天室黑名单 将多个用户加入指定聊天室的黑名单。okhttp3.CalladdMultipleUserToRoomBlockListAsync(String chatroomId, EMAddMultipleUserToRoomBlockList emAddMultipleUserToRoomBlockList, ApiCallback<EMAddMultipleUserToRoomBlockListResult> _callback) 批量添加用户至聊天室黑名单 (asynchronously) 将多个用户加入指定聊天室的黑名单。okhttp3.CalladdMultipleUserToRoomBlockListCall(String chatroomId, EMAddMultipleUserToRoomBlockList emAddMultipleUserToRoomBlockList, ApiCallback _callback) Build call for addMultipleUserToRoomBlockListaddMultipleUserToRoomBlockListWithHttpInfo(String chatroomId, EMAddMultipleUserToRoomBlockList emAddMultipleUserToRoomBlockList) 批量添加用户至聊天室黑名单 将多个用户加入指定聊天室的黑名单。okhttp3.CalladdMultipleUserToRoomCall(String chatroomId, EMAddMultipleUserToRoom emAddMultipleUserToRoom, ApiCallback _callback) Build call for addMultipleUserToRoomaddMultipleUserToRoomWhiteList(String chatroomId, EMAddMultipleUserToRoomWhiteList emAddMultipleUserToRoomWhiteList) 批量添加用户至聊天室白名单 添加多个用户至聊天室白名单。okhttp3.CalladdMultipleUserToRoomWhiteListAsync(String chatroomId, EMAddMultipleUserToRoomWhiteList emAddMultipleUserToRoomWhiteList, ApiCallback<EMAddMultipleUserToRoomWhiteListResult> _callback) 批量添加用户至聊天室白名单 (asynchronously) 添加多个用户至聊天室白名单。okhttp3.CalladdMultipleUserToRoomWhiteListCall(String chatroomId, EMAddMultipleUserToRoomWhiteList emAddMultipleUserToRoomWhiteList, ApiCallback _callback) Build call for addMultipleUserToRoomWhiteListaddMultipleUserToRoomWhiteListWithHttpInfo(String chatroomId, EMAddMultipleUserToRoomWhiteList emAddMultipleUserToRoomWhiteList) 批量添加用户至聊天室白名单 添加多个用户至聊天室白名单。addMultipleUserToRoomWithHttpInfo(String chatroomId, EMAddMultipleUserToRoom emAddMultipleUserToRoom) 批量添加聊天室成员 向聊天室添加多位用户,一次性最多可添加 60 位用户。addRoomAdmin(String chatroomId, EMAddRoomAdmin emAddRoomAdmin) 添加聊天室管理员 将一个聊天室成员设置为聊天室管理员。okhttp3.CalladdRoomAdminAsync(String chatroomId, EMAddRoomAdmin emAddRoomAdmin, ApiCallback<EMAddRoomAdminResult> _callback) 添加聊天室管理员 (asynchronously) 将一个聊天室成员设置为聊天室管理员。okhttp3.CalladdRoomAdminCall(String chatroomId, EMAddRoomAdmin emAddRoomAdmin, ApiCallback _callback) Build call for addRoomAdminaddRoomAdminWithHttpInfo(String chatroomId, EMAddRoomAdmin emAddRoomAdmin) 添加聊天室管理员 将一个聊天室成员设置为聊天室管理员。addRoomSuperAdmin(EMAddRoomSuperAdmin emAddRoomSuperAdmin) 添加超级管理员 添加一个聊天室超级管理员。okhttp3.CalladdRoomSuperAdminAsync(EMAddRoomSuperAdmin emAddRoomSuperAdmin, ApiCallback<EMAddRoomSuperAdminResult> _callback) 添加超级管理员 (asynchronously) 添加一个聊天室超级管理员。okhttp3.CalladdRoomSuperAdminCall(EMAddRoomSuperAdmin emAddRoomSuperAdmin, ApiCallback _callback) Build call for addRoomSuperAdminaddRoomSuperAdminWithHttpInfo(EMAddRoomSuperAdmin emAddRoomSuperAdmin) 添加超级管理员 添加一个聊天室超级管理员。addUserToRoom(String chatroomId, String username) 添加单个聊天室成员 向聊天室添加一个成员。okhttp3.CalladdUserToRoomAsync(String chatroomId, String username, ApiCallback<EMAddUserToRoomResult> _callback) 添加单个聊天室成员 (asynchronously) 向聊天室添加一个成员。addUserToRoomBlockList(String chatroomId, String username) 添加单个用户至聊天室黑名单 查询一个聊天室黑名单中的用户列表。okhttp3.CalladdUserToRoomBlockListAsync(String chatroomId, String username, ApiCallback<EMAddUserToRoomBlockListResult> _callback) 添加单个用户至聊天室黑名单 (asynchronously) 查询一个聊天室黑名单中的用户列表。okhttp3.CalladdUserToRoomBlockListCall(String chatroomId, String username, ApiCallback _callback) Build call for addUserToRoomBlockListaddUserToRoomBlockListWithHttpInfo(String chatroomId, String username) 添加单个用户至聊天室黑名单 查询一个聊天室黑名单中的用户列表。okhttp3.CalladdUserToRoomCall(String chatroomId, String username, ApiCallback _callback) Build call for addUserToRoomaddUserToRoomWhiteList(String chatroomId, String username) 添加单个用户至聊天室白名单 将单个用户添加至聊天室白名单。okhttp3.CalladdUserToRoomWhiteListAsync(String chatroomId, String username, ApiCallback<EMAddUserToRoomWhiteListResult> _callback) 添加单个用户至聊天室白名单 (asynchronously) 将单个用户添加至聊天室白名单。okhttp3.CalladdUserToRoomWhiteListCall(String chatroomId, String username, ApiCallback _callback) Build call for addUserToRoomWhiteListaddUserToRoomWhiteListWithHttpInfo(String chatroomId, String username) 添加单个用户至聊天室白名单 将单个用户添加至聊天室白名单。addUserToRoomWithHttpInfo(String chatroomId, String username) 添加单个聊天室成员 向聊天室添加一个成员。createRoom(EMCreateRoom emCreateRoom) 创建聊天室 创建一个聊天室,需设置聊天室名称、聊天室描述、聊天室成员最大人数(包括管理员)、聊天室管理员和普通成员以及聊天室扩展信息。okhttp3.CallcreateRoomAsync(EMCreateRoom emCreateRoom, ApiCallback<EMCreateRoomResult> _callback) 创建聊天室 (asynchronously) 创建一个聊天室,需设置聊天室名称、聊天室描述、聊天室成员最大人数(包括管理员)、聊天室管理员和普通成员以及聊天室扩展信息。okhttp3.CallcreateRoomCall(EMCreateRoom emCreateRoom, ApiCallback _callback) Build call for createRoomcreateRoomWithHttpInfo(EMCreateRoom emCreateRoom) 创建聊天室 创建一个聊天室,需设置聊天室名称、聊天室描述、聊天室成员最大人数(包括管理员)、聊天室管理员和普通成员以及聊天室扩展信息。deleteRoom(String chatroomId) 删除聊天室 删除单个聊天室。okhttp3.CalldeleteRoomAsync(String chatroomId, ApiCallback<EMDeleteRoomResult> _callback) 删除聊天室 (asynchronously) 删除单个聊天室。okhttp3.CalldeleteRoomCall(String chatroomId, ApiCallback _callback) Build call for deleteRoomdeleteRoomCustomAttributes(String chatroomId, String username, EMDeleteRoomCustomAttributes emDeleteRoomCustomAttributes) 删除聊天室自定义属性 用户删除其设置的聊天室自定义属性。okhttp3.CalldeleteRoomCustomAttributesAsync(String chatroomId, String username, EMDeleteRoomCustomAttributes emDeleteRoomCustomAttributes, ApiCallback<EMDeleteRoomCustomAttributesResult> _callback) 删除聊天室自定义属性 (asynchronously) 用户删除其设置的聊天室自定义属性。okhttp3.CalldeleteRoomCustomAttributesCall(String chatroomId, String username, EMDeleteRoomCustomAttributes emDeleteRoomCustomAttributes, ApiCallback _callback) Build call for deleteRoomCustomAttributesdeleteRoomCustomAttributesWithHttpInfo(String chatroomId, String username, EMDeleteRoomCustomAttributes emDeleteRoomCustomAttributes) 删除聊天室自定义属性 用户删除其设置的聊天室自定义属性。deleteRoomWithHttpInfo(String chatroomId) 删除聊天室 删除单个聊天室。forceDeleteRoomCustomAttributes(String chatroomId, String username, EMForceDeleteRoomCustomAttributes emForceDeleteRoomCustomAttributes) 强制删除聊天室自定义属性 用户强制删除聊天室的自定义属性信息,即该方法除了会删除当前用户设置的聊天室自定义属性,还可以删除其他用户设置的自定义属性。okhttp3.CallforceDeleteRoomCustomAttributesAsync(String chatroomId, String username, EMForceDeleteRoomCustomAttributes emForceDeleteRoomCustomAttributes, ApiCallback<EMForceDeleteRoomCustomAttributesResult> _callback) 强制删除聊天室自定义属性 (asynchronously) 用户强制删除聊天室的自定义属性信息,即该方法除了会删除当前用户设置的聊天室自定义属性,还可以删除其他用户设置的自定义属性。okhttp3.CallforceDeleteRoomCustomAttributesCall(String chatroomId, String username, EMForceDeleteRoomCustomAttributes emForceDeleteRoomCustomAttributes, ApiCallback _callback) Build call for forceDeleteRoomCustomAttributesforceDeleteRoomCustomAttributesWithHttpInfo(String chatroomId, String username, EMForceDeleteRoomCustomAttributes emForceDeleteRoomCustomAttributes) 强制删除聊天室自定义属性 用户强制删除聊天室的自定义属性信息,即该方法除了会删除当前用户设置的聊天室自定义属性,还可以删除其他用户设置的自定义属性。forceSetRoomCustomAttributes(String chatroomId, String username, EMForceSetRoomCustomAttributes emForceSetRoomCustomAttributes) 强制设置聊天室自定义属性 用户强制设置指定聊天室的自定义属性信息,即该方法可覆盖其他用户设置的聊天室自定义属性。okhttp3.CallforceSetRoomCustomAttributesAsync(String chatroomId, String username, EMForceSetRoomCustomAttributes emForceSetRoomCustomAttributes, ApiCallback<EMForceSetRoomCustomAttributesResult> _callback) 强制设置聊天室自定义属性 (asynchronously) 用户强制设置指定聊天室的自定义属性信息,即该方法可覆盖其他用户设置的聊天室自定义属性。okhttp3.CallforceSetRoomCustomAttributesCall(String chatroomId, String username, EMForceSetRoomCustomAttributes emForceSetRoomCustomAttributes, ApiCallback _callback) Build call for forceSetRoomCustomAttributesforceSetRoomCustomAttributesWithHttpInfo(String chatroomId, String username, EMForceSetRoomCustomAttributes emForceSetRoomCustomAttributes) 强制设置聊天室自定义属性 用户强制设置指定聊天室的自定义属性信息,即该方法可覆盖其他用户设置的聊天室自定义属性。intgetMuteRoomMemberList(String chatroomId) 获取禁言列表 获取当前聊天室的禁言用户列表。okhttp3.CallgetMuteRoomMemberListAsync(String chatroomId, ApiCallback<EMGetMuteRoomMemberListResult> _callback) 获取禁言列表 (asynchronously) 获取当前聊天室的禁言用户列表。okhttp3.CallgetMuteRoomMemberListCall(String chatroomId, ApiCallback _callback) Build call for getMuteRoomMemberListgetMuteRoomMemberListWithHttpInfo(String chatroomId) 获取禁言列表 获取当前聊天室的禁言用户列表。getRoomAdminList(String chatroomId) 获取聊天室管理员列表 获取聊天室管理员列表的接口。okhttp3.CallgetRoomAdminListAsync(String chatroomId, ApiCallback<EMGetRoomAdminListResult> _callback) 获取聊天室管理员列表 (asynchronously) 获取聊天室管理员列表的接口。okhttp3.CallgetRoomAdminListCall(String chatroomId, ApiCallback _callback) Build call for getRoomAdminListgetRoomAdminListWithHttpInfo(String chatroomId) 获取聊天室管理员列表 获取聊天室管理员列表的接口。getRoomAnnouncement(String chatroomId) 获取聊天室公告 获取指定聊天室 ID 的聊天室公告。okhttp3.CallgetRoomAnnouncementAsync(String chatroomId, ApiCallback<EMGetRoomAnnouncementResult> _callback) 获取聊天室公告 (asynchronously) 获取指定聊天室 ID 的聊天室公告。okhttp3.CallgetRoomAnnouncementCall(String chatroomId, ApiCallback _callback) Build call for getRoomAnnouncementgetRoomAnnouncementWithHttpInfo(String chatroomId) 获取聊天室公告 获取指定聊天室 ID 的聊天室公告。getRoomBlockList(String chatroomId) 查询聊天室黑名单 查询一个聊天室黑名单中的用户列表。okhttp3.CallgetRoomBlockListAsync(String chatroomId, ApiCallback<EMGetRoomBlockListResult> _callback) 查询聊天室黑名单 (asynchronously) 查询一个聊天室黑名单中的用户列表。okhttp3.CallgetRoomBlockListCall(String chatroomId, ApiCallback _callback) Build call for getRoomBlockListgetRoomBlockListWithHttpInfo(String chatroomId) 查询聊天室黑名单 查询一个聊天室黑名单中的用户列表。getRoomCustomAttributes(String chatroomId, EMGetRoomCustomAttributes emGetRoomCustomAttributes) 获取聊天室自定义属性 获取指定聊天室的自定义属性信息。okhttp3.CallgetRoomCustomAttributesAsync(String chatroomId, EMGetRoomCustomAttributes emGetRoomCustomAttributes, ApiCallback<EMGetRoomCustomAttributesResult> _callback) 获取聊天室自定义属性 (asynchronously) 获取指定聊天室的自定义属性信息。okhttp3.CallgetRoomCustomAttributesCall(String chatroomId, EMGetRoomCustomAttributes emGetRoomCustomAttributes, ApiCallback _callback) Build call for getRoomCustomAttributesgetRoomCustomAttributesWithHttpInfo(String chatroomId, EMGetRoomCustomAttributes emGetRoomCustomAttributes) 获取聊天室自定义属性 获取指定聊天室的自定义属性信息。getRoomInfo(String chatroomId) 查询聊天室详情 查询一个聊天室的详情。okhttp3.CallgetRoomInfoAsync(String chatroomId, ApiCallback<EMGetRoomInfoResult> _callback) 查询聊天室详情 (asynchronously) 查询一个聊天室的详情。okhttp3.CallgetRoomInfoCall(String chatroomId, ApiCallback _callback) Build call for getRoomInfogetRoomInfoWithHttpInfo(String chatroomId) 查询聊天室详情 查询一个聊天室的详情。getRoomList(Integer limit, String cursor) 获取 app 中的聊天室 分页获取应用下的聊天室列表和信息。okhttp3.CallgetRoomListAsync(Integer limit, String cursor, ApiCallback<EMGetRoomListResult> _callback) 获取 app 中的聊天室 (asynchronously) 分页获取应用下的聊天室列表和信息。okhttp3.CallgetRoomListCall(Integer limit, String cursor, ApiCallback _callback) Build call for getRoomListgetRoomListWithHttpInfo(Integer limit, String cursor) 获取 app 中的聊天室 分页获取应用下的聊天室列表和信息。getRoomMemberCount(String chatroomId) 获取聊天室成员数量 获取聊天室成员数量。okhttp3.CallgetRoomMemberCountAsync(String chatroomId, ApiCallback<EMGetRoomMemberCountResult> _callback) 获取聊天室成员数量 (asynchronously) 获取聊天室成员数量。okhttp3.CallgetRoomMemberCountCall(String chatroomId, ApiCallback _callback) Build call for getRoomMemberCountgetRoomMemberCountWithHttpInfo(String chatroomId) 获取聊天室成员数量 获取聊天室成员数量。getRoomMemberList(String chatroomId, Integer pagenum, Integer pagesize) 分页获取聊天室成员列表 可以分页获取聊天室成员列表。okhttp3.CallgetRoomMemberListAsync(String chatroomId, Integer pagenum, Integer pagesize, ApiCallback<EMGetRoomMemberListResult> _callback) 分页获取聊天室成员列表 (asynchronously) 可以分页获取聊天室成员列表。okhttp3.CallgetRoomMemberListCall(String chatroomId, Integer pagenum, Integer pagesize, ApiCallback _callback) Build call for getRoomMemberListgetRoomMemberListWithHttpInfo(String chatroomId, Integer pagenum, Integer pagesize) 分页获取聊天室成员列表 可以分页获取聊天室成员列表。getRoomSuperAdminList(Integer pagenum, Integer pagesize) 分页获取超级管理员列表 可以分页获取超级管理员列表的接口。okhttp3.CallgetRoomSuperAdminListAsync(Integer pagenum, Integer pagesize, ApiCallback<EMGetRoomSuperAdminListResult> _callback) 分页获取超级管理员列表 (asynchronously) 可以分页获取超级管理员列表的接口。okhttp3.CallgetRoomSuperAdminListCall(Integer pagenum, Integer pagesize, ApiCallback _callback) Build call for getRoomSuperAdminListgetRoomSuperAdminListWithHttpInfo(Integer pagenum, Integer pagesize) 分页获取超级管理员列表 可以分页获取超级管理员列表的接口。getRoomWhiteList(String chatroomId) 查询聊天室白名单 查询一个聊天室白名单中的用户列表。okhttp3.CallgetRoomWhiteListAsync(String chatroomId, ApiCallback<EMGetRoomWhiteListResult> _callback) 查询聊天室白名单 (asynchronously) 查询一个聊天室白名单中的用户列表。okhttp3.CallgetRoomWhiteListCall(String chatroomId, ApiCallback _callback) Build call for getRoomWhiteListgetRoomWhiteListWithHttpInfo(String chatroomId) 查询聊天室白名单 查询一个聊天室白名单中的用户列表。getUserJoinedRoomList(String username, Integer pagenum, Integer pagesize) 获取用户加入的聊天室 根据用户 ID 分页获取该用户加入的聊天室。okhttp3.CallgetUserJoinedRoomListAsync(String username, Integer pagenum, Integer pagesize, ApiCallback<EMGetUserJoinedRoomListResult> _callback) 获取用户加入的聊天室 (asynchronously) 根据用户 ID 分页获取该用户加入的聊天室。okhttp3.CallgetUserJoinedRoomListCall(String username, Integer pagenum, Integer pagesize, ApiCallback _callback) Build call for getUserJoinedRoomListgetUserJoinedRoomListWithHttpInfo(String username, Integer pagenum, Integer pagesize) 获取用户加入的聊天室 根据用户 ID 分页获取该用户加入的聊天室。modifyRoom(String chatroomId, EMModifyRoom emModifyRoom) 修改聊天室信息 修改指定聊天室的信息。modifyRoomAnnouncement(String chatroomId, EMModifyRoomAnnouncement emModifyRoomAnnouncement) 修改聊天室公告 修改指定聊天室 ID 的聊天室公告。okhttp3.CallmodifyRoomAnnouncementAsync(String chatroomId, EMModifyRoomAnnouncement emModifyRoomAnnouncement, ApiCallback<EMModifyRoomAnnouncementResult> _callback) 修改聊天室公告 (asynchronously) 修改指定聊天室 ID 的聊天室公告。okhttp3.CallmodifyRoomAnnouncementCall(String chatroomId, EMModifyRoomAnnouncement emModifyRoomAnnouncement, ApiCallback _callback) Build call for modifyRoomAnnouncementmodifyRoomAnnouncementWithHttpInfo(String chatroomId, EMModifyRoomAnnouncement emModifyRoomAnnouncement) 修改聊天室公告 修改指定聊天室 ID 的聊天室公告。okhttp3.CallmodifyRoomAsync(String chatroomId, EMModifyRoom emModifyRoom, ApiCallback<EMModifyRoomResult> _callback) 修改聊天室信息 (asynchronously) 修改指定聊天室的信息。okhttp3.CallmodifyRoomCall(String chatroomId, EMModifyRoom emModifyRoom, ApiCallback _callback) Build call for modifyRoommodifyRoomWithHttpInfo(String chatroomId, EMModifyRoom emModifyRoom) 修改聊天室信息 修改指定聊天室的信息。muteAllRoomMember(String chatroomId) 禁言聊天室全体成员 对所有聊天室成员一键禁言。okhttp3.CallmuteAllRoomMemberAsync(String chatroomId, ApiCallback<EMMuteAllRoomMemberResult> _callback) 禁言聊天室全体成员 (asynchronously) 对所有聊天室成员一键禁言。okhttp3.CallmuteAllRoomMemberCall(String chatroomId, ApiCallback _callback) Build call for muteAllRoomMembermuteAllRoomMemberWithHttpInfo(String chatroomId) 禁言聊天室全体成员 对所有聊天室成员一键禁言。muteRoomMember(String chatroomId, EMMuteRoomMember emMuteRoomMember) 禁言聊天室成员 禁言单个或多个聊天室成员。okhttp3.CallmuteRoomMemberAsync(String chatroomId, EMMuteRoomMember emMuteRoomMember, ApiCallback<EMMuteRoomMemberResult> _callback) 禁言聊天室成员 (asynchronously) 禁言单个或多个聊天室成员。okhttp3.CallmuteRoomMemberCall(String chatroomId, EMMuteRoomMember emMuteRoomMember, ApiCallback _callback) Build call for muteRoomMembermuteRoomMemberWithHttpInfo(String chatroomId, EMMuteRoomMember emMuteRoomMember) 禁言聊天室成员 禁言单个或多个聊天室成员。removeRoomAdmin(String chatroomId, String oldAdmin) 移除聊天室管理员 将用户的角色从聊天室管理员降为普通聊天室成员。okhttp3.CallremoveRoomAdminAsync(String chatroomId, String oldAdmin, ApiCallback<EMRemoveRoomAdminResult> _callback) 移除聊天室管理员 (asynchronously) 将用户的角色从聊天室管理员降为普通聊天室成员。okhttp3.CallremoveRoomAdminCall(String chatroomId, String oldAdmin, ApiCallback _callback) Build call for removeRoomAdminremoveRoomAdminWithHttpInfo(String chatroomId, String oldAdmin) 移除聊天室管理员 将用户的角色从聊天室管理员降为普通聊天室成员。removeRoomSuperAdmin(String superAdmin) 撤销超级管理员 撤销超级管理员权限,用户将不能再创建聊天室。okhttp3.CallremoveRoomSuperAdminAsync(String superAdmin, ApiCallback<EMRemoveRoomSuperAdminResult> _callback) 撤销超级管理员 (asynchronously) 撤销超级管理员权限,用户将不能再创建聊天室。okhttp3.CallremoveRoomSuperAdminCall(String superAdmin, ApiCallback _callback) Build call for removeRoomSuperAdminremoveRoomSuperAdminWithHttpInfo(String superAdmin) 撤销超级管理员 撤销超级管理员权限,用户将不能再创建聊天室。removeUserFromRoom(String chatroomId, String username) 移除单个聊天室成员 从聊天室移除一个成员。okhttp3.CallremoveUserFromRoomAsync(String chatroomId, String username, ApiCallback<EMRemoveUserFromRoomResult> _callback) 移除单个聊天室成员 (asynchronously) 从聊天室移除一个成员。removeUserFromRoomBlockList(String chatroomId, String username) 从聊天室黑名单移出单个用户 将指定用户移出聊天室黑名单。okhttp3.CallremoveUserFromRoomBlockListAsync(String chatroomId, String username, ApiCallback<EMRemoveUserFromRoomBlockListResult> _callback) 从聊天室黑名单移出单个用户 (asynchronously) 将指定用户移出聊天室黑名单。okhttp3.CallremoveUserFromRoomBlockListCall(String chatroomId, String username, ApiCallback _callback) Build call for removeUserFromRoomBlockListremoveUserFromRoomBlockListWithHttpInfo(String chatroomId, String username) 从聊天室黑名单移出单个用户 将指定用户移出聊天室黑名单。okhttp3.CallremoveUserFromRoomCall(String chatroomId, String username, ApiCallback _callback) Build call for removeUserFromRoomremoveUserFromRoomWhiteList(String chatroomId, String username) 将用户移出聊天室白名单 将指定用户从聊天室白名单移除。okhttp3.CallremoveUserFromRoomWhiteListAsync(String chatroomId, String username, ApiCallback<EMRemoveUserFromRoomWhiteListResult> _callback) 将用户移出聊天室白名单 (asynchronously) 将指定用户从聊天室白名单移除。okhttp3.CallremoveUserFromRoomWhiteListCall(String chatroomId, String username, ApiCallback _callback) Build call for removeUserFromRoomWhiteListremoveUserFromRoomWhiteListWithHttpInfo(String chatroomId, String username) 将用户移出聊天室白名单 将指定用户从聊天室白名单移除。removeUserFromRoomWithHttpInfo(String chatroomId, String username) 移除单个聊天室成员 从聊天室移除一个成员。voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) setRoomCustomAttributes(String chatroomId, String username, EMSetRoomCustomAttributes emSetRoomCustomAttributes) 设置聊天室自定义属性 指定用户设置特定聊天室的自定义属性。okhttp3.CallsetRoomCustomAttributesAsync(String chatroomId, String username, EMSetRoomCustomAttributes emSetRoomCustomAttributes, ApiCallback<EMSetRoomCustomAttributesResult> _callback) 设置聊天室自定义属性 (asynchronously) 指定用户设置特定聊天室的自定义属性。okhttp3.CallsetRoomCustomAttributesCall(String chatroomId, String username, EMSetRoomCustomAttributes emSetRoomCustomAttributes, ApiCallback _callback) Build call for setRoomCustomAttributessetRoomCustomAttributesWithHttpInfo(String chatroomId, String username, EMSetRoomCustomAttributes emSetRoomCustomAttributes) 设置聊天室自定义属性 指定用户设置特定聊天室的自定义属性。unmuteAllRoomMember(String chatroomId) 解除聊天室全员禁言 一键取消对聊天室全体成员的禁言。okhttp3.CallunmuteAllRoomMemberAsync(String chatroomId, ApiCallback<EMUnmuteAllRoomMemberResult> _callback) 解除聊天室全员禁言 (asynchronously) 一键取消对聊天室全体成员的禁言。okhttp3.CallunmuteAllRoomMemberCall(String chatroomId, ApiCallback _callback) Build call for unmuteAllRoomMemberunmuteAllRoomMemberWithHttpInfo(String chatroomId) 解除聊天室全员禁言 一键取消对聊天室全体成员的禁言。unmuteRoomMember(String chatroomId, String username) 解除聊天室禁言成员 解除对一个聊天室成员的禁言。okhttp3.CallunmuteRoomMemberAsync(String chatroomId, String username, ApiCallback<EMUnmuteRoomMemberResult> _callback) 解除聊天室禁言成员 (asynchronously) 解除对一个聊天室成员的禁言。okhttp3.CallunmuteRoomMemberCall(String chatroomId, String username, ApiCallback _callback) Build call for unmuteRoomMemberunmuteRoomMemberWithHttpInfo(String chatroomId, String username) 解除聊天室禁言成员 解除对一个聊天室成员的禁言。
-
构造器详细资料
-
RoomApi
public RoomApi() -
RoomApi
-
-
方法详细资料
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
addMultipleUserToRoomCall
public okhttp3.Call addMultipleUserToRoomCall(String chatroomId, EMAddMultipleUserToRoom emAddMultipleUserToRoom, ApiCallback _callback) throws ApiException Build call for addMultipleUserToRoom- 参数:
chatroomId- (required)emAddMultipleUserToRoom- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
addMultipleUserToRoom
public void addMultipleUserToRoom(String chatroomId, EMAddMultipleUserToRoom emAddMultipleUserToRoom) throws ApiException 批量添加聊天室成员 向聊天室添加多位用户,一次性最多可添加 60 位用户。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98- 参数:
chatroomId- (required)emAddMultipleUserToRoom- (optional)- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addMultipleUserToRoomWithHttpInfo
public ApiResponse<Void> addMultipleUserToRoomWithHttpInfo(String chatroomId, EMAddMultipleUserToRoom emAddMultipleUserToRoom) throws ApiException 批量添加聊天室成员 向聊天室添加多位用户,一次性最多可添加 60 位用户。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98- 参数:
chatroomId- (required)emAddMultipleUserToRoom- (optional)- 返回:
- ApiResponse<Void>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addMultipleUserToRoomAsync
public okhttp3.Call addMultipleUserToRoomAsync(String chatroomId, EMAddMultipleUserToRoom emAddMultipleUserToRoom, ApiCallback<Void> _callback) throws ApiException 批量添加聊天室成员 (asynchronously) 向聊天室添加多位用户,一次性最多可添加 60 位用户。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98- 参数:
chatroomId- (required)emAddMultipleUserToRoom- (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
-
addMultipleUserToRoomBlockListCall
public okhttp3.Call addMultipleUserToRoomBlockListCall(String chatroomId, EMAddMultipleUserToRoomBlockList emAddMultipleUserToRoomBlockList, ApiCallback _callback) throws ApiException Build call for addMultipleUserToRoomBlockList- 参数:
chatroomId- (required)emAddMultipleUserToRoomBlockList- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
addMultipleUserToRoomBlockList
public EMAddMultipleUserToRoomBlockListResult addMultipleUserToRoomBlockList(String chatroomId, EMAddMultipleUserToRoomBlockList emAddMultipleUserToRoomBlockList) throws ApiException 批量添加用户至聊天室黑名单 将多个用户加入指定聊天室的黑名单。你一次最多可以添加 60 个用户至聊天室黑名单。聊天室所有者无法被加入聊天室的黑名单。用户进入聊天室黑名单后,无法查看和收发该聊天室的信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%94%A8%E6%88%B7%E8%87%B3%E8%81%8A%E5%A4%A9%E5%AE%A4%E9%BB%91%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)emAddMultipleUserToRoomBlockList- (optional)- 返回:
- EMAddMultipleUserToRoomBlockListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addMultipleUserToRoomBlockListWithHttpInfo
public ApiResponse<EMAddMultipleUserToRoomBlockListResult> addMultipleUserToRoomBlockListWithHttpInfo(String chatroomId, EMAddMultipleUserToRoomBlockList emAddMultipleUserToRoomBlockList) throws ApiException 批量添加用户至聊天室黑名单 将多个用户加入指定聊天室的黑名单。你一次最多可以添加 60 个用户至聊天室黑名单。聊天室所有者无法被加入聊天室的黑名单。用户进入聊天室黑名单后,无法查看和收发该聊天室的信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%94%A8%E6%88%B7%E8%87%B3%E8%81%8A%E5%A4%A9%E5%AE%A4%E9%BB%91%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)emAddMultipleUserToRoomBlockList- (optional)- 返回:
- ApiResponse<EMAddMultipleUserToRoomBlockListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addMultipleUserToRoomBlockListAsync
public okhttp3.Call addMultipleUserToRoomBlockListAsync(String chatroomId, EMAddMultipleUserToRoomBlockList emAddMultipleUserToRoomBlockList, ApiCallback<EMAddMultipleUserToRoomBlockListResult> _callback) throws ApiException 批量添加用户至聊天室黑名单 (asynchronously) 将多个用户加入指定聊天室的黑名单。你一次最多可以添加 60 个用户至聊天室黑名单。聊天室所有者无法被加入聊天室的黑名单。用户进入聊天室黑名单后,无法查看和收发该聊天室的信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%94%A8%E6%88%B7%E8%87%B3%E8%81%8A%E5%A4%A9%E5%AE%A4%E9%BB%91%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)emAddMultipleUserToRoomBlockList- (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
-
addMultipleUserToRoomWhiteListCall
public okhttp3.Call addMultipleUserToRoomWhiteListCall(String chatroomId, EMAddMultipleUserToRoomWhiteList emAddMultipleUserToRoomWhiteList, ApiCallback _callback) throws ApiException Build call for addMultipleUserToRoomWhiteList- 参数:
chatroomId- (required)emAddMultipleUserToRoomWhiteList- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
addMultipleUserToRoomWhiteList
public EMAddMultipleUserToRoomWhiteListResult addMultipleUserToRoomWhiteList(String chatroomId, EMAddMultipleUserToRoomWhiteList emAddMultipleUserToRoomWhiteList) throws ApiException 批量添加用户至聊天室白名单 添加多个用户至聊天室白名单。你一次最多可添加 60 个用户。用户添加至聊天室白名单后,在聊天室全员禁言时,仍可以在聊天室中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%94%A8%E6%88%B7%E8%87%B3%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%99%BD%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)emAddMultipleUserToRoomWhiteList- (optional)- 返回:
- EMAddMultipleUserToRoomWhiteListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addMultipleUserToRoomWhiteListWithHttpInfo
public ApiResponse<EMAddMultipleUserToRoomWhiteListResult> addMultipleUserToRoomWhiteListWithHttpInfo(String chatroomId, EMAddMultipleUserToRoomWhiteList emAddMultipleUserToRoomWhiteList) throws ApiException 批量添加用户至聊天室白名单 添加多个用户至聊天室白名单。你一次最多可添加 60 个用户。用户添加至聊天室白名单后,在聊天室全员禁言时,仍可以在聊天室中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%94%A8%E6%88%B7%E8%87%B3%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%99%BD%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)emAddMultipleUserToRoomWhiteList- (optional)- 返回:
- ApiResponse<EMAddMultipleUserToRoomWhiteListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addMultipleUserToRoomWhiteListAsync
public okhttp3.Call addMultipleUserToRoomWhiteListAsync(String chatroomId, EMAddMultipleUserToRoomWhiteList emAddMultipleUserToRoomWhiteList, ApiCallback<EMAddMultipleUserToRoomWhiteListResult> _callback) throws ApiException 批量添加用户至聊天室白名单 (asynchronously) 添加多个用户至聊天室白名单。你一次最多可添加 60 个用户。用户添加至聊天室白名单后,在聊天室全员禁言时,仍可以在聊天室中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%89%B9%E9%87%8F%E6%B7%BB%E5%8A%A0%E7%94%A8%E6%88%B7%E8%87%B3%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%99%BD%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)emAddMultipleUserToRoomWhiteList- (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
-
addRoomAdminCall
public okhttp3.Call addRoomAdminCall(String chatroomId, EMAddRoomAdmin emAddRoomAdmin, ApiCallback _callback) throws ApiException Build call for addRoomAdmin- 参数:
chatroomId- (required)emAddRoomAdmin- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
addRoomAdmin
public EMAddRoomAdminResult addRoomAdmin(String chatroomId, EMAddRoomAdmin emAddRoomAdmin) throws ApiException 添加聊天室管理员 将一个聊天室成员设置为聊天室管理员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%AE%A1%E7%90%86%E5%91%98- 参数:
chatroomId- (required)emAddRoomAdmin- (optional)- 返回:
- EMAddRoomAdminResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addRoomAdminWithHttpInfo
public ApiResponse<EMAddRoomAdminResult> addRoomAdminWithHttpInfo(String chatroomId, EMAddRoomAdmin emAddRoomAdmin) throws ApiException 添加聊天室管理员 将一个聊天室成员设置为聊天室管理员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%AE%A1%E7%90%86%E5%91%98- 参数:
chatroomId- (required)emAddRoomAdmin- (optional)- 返回:
- ApiResponse<EMAddRoomAdminResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addRoomAdminAsync
public okhttp3.Call addRoomAdminAsync(String chatroomId, EMAddRoomAdmin emAddRoomAdmin, ApiCallback<EMAddRoomAdminResult> _callback) throws ApiException 添加聊天室管理员 (asynchronously) 将一个聊天室成员设置为聊天室管理员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%AE%A1%E7%90%86%E5%91%98- 参数:
chatroomId- (required)emAddRoomAdmin- (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
-
addRoomSuperAdminCall
public okhttp3.Call addRoomSuperAdminCall(EMAddRoomSuperAdmin emAddRoomSuperAdmin, ApiCallback _callback) throws ApiException Build call for addRoomSuperAdmin- 参数:
emAddRoomSuperAdmin- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
addRoomSuperAdmin
public EMAddRoomSuperAdminResult addRoomSuperAdmin(EMAddRoomSuperAdmin emAddRoomSuperAdmin) throws ApiException 添加超级管理员 添加一个聊天室超级管理员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E8%B6%85%E7%BA%A7%E7%AE%A1%E7%90%86%E5%91%98- 参数:
emAddRoomSuperAdmin- (optional)- 返回:
- EMAddRoomSuperAdminResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addRoomSuperAdminWithHttpInfo
public ApiResponse<EMAddRoomSuperAdminResult> addRoomSuperAdminWithHttpInfo(EMAddRoomSuperAdmin emAddRoomSuperAdmin) throws ApiException 添加超级管理员 添加一个聊天室超级管理员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E8%B6%85%E7%BA%A7%E7%AE%A1%E7%90%86%E5%91%98- 参数:
emAddRoomSuperAdmin- (optional)- 返回:
- ApiResponse<EMAddRoomSuperAdminResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addRoomSuperAdminAsync
public okhttp3.Call addRoomSuperAdminAsync(EMAddRoomSuperAdmin emAddRoomSuperAdmin, ApiCallback<EMAddRoomSuperAdminResult> _callback) throws ApiException 添加超级管理员 (asynchronously) 添加一个聊天室超级管理员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E8%B6%85%E7%BA%A7%E7%AE%A1%E7%90%86%E5%91%98- 参数:
emAddRoomSuperAdmin- (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
-
addUserToRoomCall
public okhttp3.Call addUserToRoomCall(String chatroomId, String username, ApiCallback _callback) throws ApiException Build call for addUserToRoom- 参数:
chatroomId- (required)username- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
addUserToRoom
添加单个聊天室成员 向聊天室添加一个成员。如果待添加的用户在 app 中不存在或已经在聊天室中,则请求失败并返回错误码 400。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98- 参数:
chatroomId- (required)username- (required)- 返回:
- EMAddUserToRoomResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addUserToRoomWithHttpInfo
public ApiResponse<EMAddUserToRoomResult> addUserToRoomWithHttpInfo(String chatroomId, String username) throws ApiException 添加单个聊天室成员 向聊天室添加一个成员。如果待添加的用户在 app 中不存在或已经在聊天室中,则请求失败并返回错误码 400。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98- 参数:
chatroomId- (required)username- (required)- 返回:
- ApiResponse<EMAddUserToRoomResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addUserToRoomAsync
public okhttp3.Call addUserToRoomAsync(String chatroomId, String username, ApiCallback<EMAddUserToRoomResult> _callback) throws ApiException 添加单个聊天室成员 (asynchronously) 向聊天室添加一个成员。如果待添加的用户在 app 中不存在或已经在聊天室中,则请求失败并返回错误码 400。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98- 参数:
chatroomId- (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
-
addUserToRoomBlockListCall
public okhttp3.Call addUserToRoomBlockListCall(String chatroomId, String username, ApiCallback _callback) throws ApiException Build call for addUserToRoomBlockList- 参数:
chatroomId- (required)username- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
addUserToRoomBlockList
public EMAddUserToRoomBlockListResult addUserToRoomBlockList(String chatroomId, String username) throws ApiException 添加单个用户至聊天室黑名单 查询一个聊天室黑名单中的用户列表。黑名单中的用户无法查看或收到该聊天室的信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E8%87%B3%E8%81%8A%E5%A4%A9%E5%AE%A4%E9%BB%91%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)username- (required)- 返回:
- EMAddUserToRoomBlockListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addUserToRoomBlockListWithHttpInfo
public ApiResponse<EMAddUserToRoomBlockListResult> addUserToRoomBlockListWithHttpInfo(String chatroomId, String username) throws ApiException 添加单个用户至聊天室黑名单 查询一个聊天室黑名单中的用户列表。黑名单中的用户无法查看或收到该聊天室的信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E8%87%B3%E8%81%8A%E5%A4%A9%E5%AE%A4%E9%BB%91%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)username- (required)- 返回:
- ApiResponse<EMAddUserToRoomBlockListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addUserToRoomBlockListAsync
public okhttp3.Call addUserToRoomBlockListAsync(String chatroomId, String username, ApiCallback<EMAddUserToRoomBlockListResult> _callback) throws ApiException 添加单个用户至聊天室黑名单 (asynchronously) 查询一个聊天室黑名单中的用户列表。黑名单中的用户无法查看或收到该聊天室的信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E8%87%B3%E8%81%8A%E5%A4%A9%E5%AE%A4%E9%BB%91%E5%90%8D%E5%8D%95- 参数:
chatroomId- (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
-
addUserToRoomWhiteListCall
public okhttp3.Call addUserToRoomWhiteListCall(String chatroomId, String username, ApiCallback _callback) throws ApiException Build call for addUserToRoomWhiteList- 参数:
chatroomId- (required)username- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
addUserToRoomWhiteList
public EMAddUserToRoomWhiteListResult addUserToRoomWhiteList(String chatroomId, String username) throws ApiException 添加单个用户至聊天室白名单 将单个用户添加至聊天室白名单。用户添加至聊天室白名单后,当聊天室全员禁言时,仍可以在聊天室中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E8%87%B3%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%99%BD%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)username- (required)- 返回:
- EMAddUserToRoomWhiteListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addUserToRoomWhiteListWithHttpInfo
public ApiResponse<EMAddUserToRoomWhiteListResult> addUserToRoomWhiteListWithHttpInfo(String chatroomId, String username) throws ApiException 添加单个用户至聊天室白名单 将单个用户添加至聊天室白名单。用户添加至聊天室白名单后,当聊天室全员禁言时,仍可以在聊天室中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E8%87%B3%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%99%BD%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)username- (required)- 返回:
- ApiResponse<EMAddUserToRoomWhiteListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
addUserToRoomWhiteListAsync
public okhttp3.Call addUserToRoomWhiteListAsync(String chatroomId, String username, ApiCallback<EMAddUserToRoomWhiteListResult> _callback) throws ApiException 添加单个用户至聊天室白名单 (asynchronously) 将单个用户添加至聊天室白名单。用户添加至聊天室白名单后,当聊天室全员禁言时,仍可以在聊天室中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E8%87%B3%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%99%BD%E5%90%8D%E5%8D%95- 参数:
chatroomId- (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
-
createRoomCall
public okhttp3.Call createRoomCall(EMCreateRoom emCreateRoom, ApiCallback _callback) throws ApiException Build call for createRoom- 参数:
emCreateRoom- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
createRoom
创建聊天室 创建一个聊天室,需设置聊天室名称、聊天室描述、聊天室成员最大人数(包括管理员)、聊天室管理员和普通成员以及聊天室扩展信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%9B%E5%BB%BA%E8%81%8A%E5%A4%A9%E5%AE%A4- 参数:
emCreateRoom- (optional)- 返回:
- EMCreateRoomResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
createRoomWithHttpInfo
public ApiResponse<EMCreateRoomResult> createRoomWithHttpInfo(EMCreateRoom emCreateRoom) throws ApiException 创建聊天室 创建一个聊天室,需设置聊天室名称、聊天室描述、聊天室成员最大人数(包括管理员)、聊天室管理员和普通成员以及聊天室扩展信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%9B%E5%BB%BA%E8%81%8A%E5%A4%A9%E5%AE%A4- 参数:
emCreateRoom- (optional)- 返回:
- ApiResponse<EMCreateRoomResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
createRoomAsync
public okhttp3.Call createRoomAsync(EMCreateRoom emCreateRoom, ApiCallback<EMCreateRoomResult> _callback) throws ApiException 创建聊天室 (asynchronously) 创建一个聊天室,需设置聊天室名称、聊天室描述、聊天室成员最大人数(包括管理员)、聊天室管理员和普通成员以及聊天室扩展信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%9B%E5%BB%BA%E8%81%8A%E5%A4%A9%E5%AE%A4- 参数:
emCreateRoom- (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
-
deleteRoomCall
Build call for deleteRoom- 参数:
chatroomId- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
deleteRoom
删除聊天室 删除单个聊天室。如果要删除的聊天室不存在,会返回错误。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%A0%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4- 参数:
chatroomId- (required)- 返回:
- EMDeleteRoomResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
deleteRoomWithHttpInfo
public ApiResponse<EMDeleteRoomResult> deleteRoomWithHttpInfo(String chatroomId) throws ApiException 删除聊天室 删除单个聊天室。如果要删除的聊天室不存在,会返回错误。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%A0%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4- 参数:
chatroomId- (required)- 返回:
- ApiResponse<EMDeleteRoomResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
deleteRoomAsync
public okhttp3.Call deleteRoomAsync(String chatroomId, ApiCallback<EMDeleteRoomResult> _callback) throws ApiException 删除聊天室 (asynchronously) 删除单个聊天室。如果要删除的聊天室不存在,会返回错误。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%A0%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4- 参数:
chatroomId- (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
-
deleteRoomCustomAttributesCall
public okhttp3.Call deleteRoomCustomAttributesCall(String chatroomId, String username, EMDeleteRoomCustomAttributes emDeleteRoomCustomAttributes, ApiCallback _callback) throws ApiException Build call for deleteRoomCustomAttributes- 参数:
chatroomId- (required)username- (required)emDeleteRoomCustomAttributes- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
deleteRoomCustomAttributes
public EMDeleteRoomCustomAttributesResult deleteRoomCustomAttributes(String chatroomId, String username, EMDeleteRoomCustomAttributes emDeleteRoomCustomAttributes) throws ApiException 删除聊天室自定义属性 用户删除其设置的聊天室自定义属性。该方法只能删除当前用户设置的聊天室自定义属性,不能删除其他成员设置的自定义属性。该方法每次最多可删除 10 个自定义属性。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%A0%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)username- (required)emDeleteRoomCustomAttributes- (optional)- 返回:
- EMDeleteRoomCustomAttributesResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
deleteRoomCustomAttributesWithHttpInfo
public ApiResponse<EMDeleteRoomCustomAttributesResult> deleteRoomCustomAttributesWithHttpInfo(String chatroomId, String username, EMDeleteRoomCustomAttributes emDeleteRoomCustomAttributes) throws ApiException 删除聊天室自定义属性 用户删除其设置的聊天室自定义属性。该方法只能删除当前用户设置的聊天室自定义属性,不能删除其他成员设置的自定义属性。该方法每次最多可删除 10 个自定义属性。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%A0%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)username- (required)emDeleteRoomCustomAttributes- (optional)- 返回:
- ApiResponse<EMDeleteRoomCustomAttributesResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
deleteRoomCustomAttributesAsync
public okhttp3.Call deleteRoomCustomAttributesAsync(String chatroomId, String username, EMDeleteRoomCustomAttributes emDeleteRoomCustomAttributes, ApiCallback<EMDeleteRoomCustomAttributesResult> _callback) throws ApiException 删除聊天室自定义属性 (asynchronously) 用户删除其设置的聊天室自定义属性。该方法只能删除当前用户设置的聊天室自定义属性,不能删除其他成员设置的自定义属性。该方法每次最多可删除 10 个自定义属性。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%A0%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)username- (required)emDeleteRoomCustomAttributes- (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
-
forceDeleteRoomCustomAttributesCall
public okhttp3.Call forceDeleteRoomCustomAttributesCall(String chatroomId, String username, EMForceDeleteRoomCustomAttributes emForceDeleteRoomCustomAttributes, ApiCallback _callback) throws ApiException Build call for forceDeleteRoomCustomAttributes- 参数:
chatroomId- (required)username- (required)emForceDeleteRoomCustomAttributes- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
forceDeleteRoomCustomAttributes
public EMForceDeleteRoomCustomAttributesResult forceDeleteRoomCustomAttributes(String chatroomId, String username, EMForceDeleteRoomCustomAttributes emForceDeleteRoomCustomAttributes) throws ApiException 强制删除聊天室自定义属性 用户强制删除聊天室的自定义属性信息,即该方法除了会删除当前用户设置的聊天室自定义属性,还可以删除其他用户设置的自定义属性。该方法每次最多可删除 10 个自定义属性。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%BC%BA%E5%88%B6%E5%88%A0%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)username- (required)emForceDeleteRoomCustomAttributes- (optional)- 返回:
- EMForceDeleteRoomCustomAttributesResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
forceDeleteRoomCustomAttributesWithHttpInfo
public ApiResponse<EMForceDeleteRoomCustomAttributesResult> forceDeleteRoomCustomAttributesWithHttpInfo(String chatroomId, String username, EMForceDeleteRoomCustomAttributes emForceDeleteRoomCustomAttributes) throws ApiException 强制删除聊天室自定义属性 用户强制删除聊天室的自定义属性信息,即该方法除了会删除当前用户设置的聊天室自定义属性,还可以删除其他用户设置的自定义属性。该方法每次最多可删除 10 个自定义属性。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%BC%BA%E5%88%B6%E5%88%A0%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)username- (required)emForceDeleteRoomCustomAttributes- (optional)- 返回:
- ApiResponse<EMForceDeleteRoomCustomAttributesResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
forceDeleteRoomCustomAttributesAsync
public okhttp3.Call forceDeleteRoomCustomAttributesAsync(String chatroomId, String username, EMForceDeleteRoomCustomAttributes emForceDeleteRoomCustomAttributes, ApiCallback<EMForceDeleteRoomCustomAttributesResult> _callback) throws ApiException 强制删除聊天室自定义属性 (asynchronously) 用户强制删除聊天室的自定义属性信息,即该方法除了会删除当前用户设置的聊天室自定义属性,还可以删除其他用户设置的自定义属性。该方法每次最多可删除 10 个自定义属性。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%BC%BA%E5%88%B6%E5%88%A0%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)username- (required)emForceDeleteRoomCustomAttributes- (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
-
forceSetRoomCustomAttributesCall
public okhttp3.Call forceSetRoomCustomAttributesCall(String chatroomId, String username, EMForceSetRoomCustomAttributes emForceSetRoomCustomAttributes, ApiCallback _callback) throws ApiException Build call for forceSetRoomCustomAttributes- 参数:
chatroomId- (required)username- (required)emForceSetRoomCustomAttributes- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
forceSetRoomCustomAttributes
public EMForceSetRoomCustomAttributesResult forceSetRoomCustomAttributes(String chatroomId, String username, EMForceSetRoomCustomAttributes emForceSetRoomCustomAttributes) throws ApiException 强制设置聊天室自定义属性 用户强制设置指定聊天室的自定义属性信息,即该方法可覆盖其他用户设置的聊天室自定义属性。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%BC%BA%E5%88%B6%E8%AE%BE%E7%BD%AE%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)username- (required)emForceSetRoomCustomAttributes- (optional)- 返回:
- EMForceSetRoomCustomAttributesResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
forceSetRoomCustomAttributesWithHttpInfo
public ApiResponse<EMForceSetRoomCustomAttributesResult> forceSetRoomCustomAttributesWithHttpInfo(String chatroomId, String username, EMForceSetRoomCustomAttributes emForceSetRoomCustomAttributes) throws ApiException 强制设置聊天室自定义属性 用户强制设置指定聊天室的自定义属性信息,即该方法可覆盖其他用户设置的聊天室自定义属性。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%BC%BA%E5%88%B6%E8%AE%BE%E7%BD%AE%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)username- (required)emForceSetRoomCustomAttributes- (optional)- 返回:
- ApiResponse<EMForceSetRoomCustomAttributesResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
forceSetRoomCustomAttributesAsync
public okhttp3.Call forceSetRoomCustomAttributesAsync(String chatroomId, String username, EMForceSetRoomCustomAttributes emForceSetRoomCustomAttributes, ApiCallback<EMForceSetRoomCustomAttributesResult> _callback) throws ApiException 强制设置聊天室自定义属性 (asynchronously) 用户强制设置指定聊天室的自定义属性信息,即该方法可覆盖其他用户设置的聊天室自定义属性。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%BC%BA%E5%88%B6%E8%AE%BE%E7%BD%AE%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)username- (required)emForceSetRoomCustomAttributes- (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
-
getMuteRoomMemberListCall
public okhttp3.Call getMuteRoomMemberListCall(String chatroomId, ApiCallback _callback) throws ApiException Build call for getMuteRoomMemberList- 参数:
chatroomId- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getMuteRoomMemberList
获取禁言列表 获取当前聊天室的禁言用户列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E7%A6%81%E8%A8%80%E5%88%97%E8%A1%A8- 参数:
chatroomId- (required)- 返回:
- EMGetMuteRoomMemberListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getMuteRoomMemberListWithHttpInfo
public ApiResponse<EMGetMuteRoomMemberListResult> getMuteRoomMemberListWithHttpInfo(String chatroomId) throws ApiException 获取禁言列表 获取当前聊天室的禁言用户列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E7%A6%81%E8%A8%80%E5%88%97%E8%A1%A8- 参数:
chatroomId- (required)- 返回:
- ApiResponse<EMGetMuteRoomMemberListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getMuteRoomMemberListAsync
public okhttp3.Call getMuteRoomMemberListAsync(String chatroomId, ApiCallback<EMGetMuteRoomMemberListResult> _callback) throws ApiException 获取禁言列表 (asynchronously) 获取当前聊天室的禁言用户列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E7%A6%81%E8%A8%80%E5%88%97%E8%A1%A8- 参数:
chatroomId- (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
-
getRoomAdminListCall
public okhttp3.Call getRoomAdminListCall(String chatroomId, ApiCallback _callback) throws ApiException Build call for getRoomAdminList- 参数:
chatroomId- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getRoomAdminList
获取聊天室管理员列表 获取聊天室管理员列表的接口。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%AE%A1%E7%90%86%E5%91%98%E5%88%97%E8%A1%A8- 参数:
chatroomId- (required)- 返回:
- EMGetRoomAdminListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomAdminListWithHttpInfo
public ApiResponse<EMGetRoomAdminListResult> getRoomAdminListWithHttpInfo(String chatroomId) throws ApiException 获取聊天室管理员列表 获取聊天室管理员列表的接口。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%AE%A1%E7%90%86%E5%91%98%E5%88%97%E8%A1%A8- 参数:
chatroomId- (required)- 返回:
- ApiResponse<EMGetRoomAdminListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomAdminListAsync
public okhttp3.Call getRoomAdminListAsync(String chatroomId, ApiCallback<EMGetRoomAdminListResult> _callback) throws ApiException 获取聊天室管理员列表 (asynchronously) 获取聊天室管理员列表的接口。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%AE%A1%E7%90%86%E5%91%98%E5%88%97%E8%A1%A8- 参数:
chatroomId- (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
-
getRoomAnnouncementCall
public okhttp3.Call getRoomAnnouncementCall(String chatroomId, ApiCallback _callback) throws ApiException Build call for getRoomAnnouncement- 参数:
chatroomId- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getRoomAnnouncement
获取聊天室公告 获取指定聊天室 ID 的聊天室公告。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E8%81%8A%E5%A4%A9%E5%AE%A4%E5%85%AC%E5%91%8A- 参数:
chatroomId- (required)- 返回:
- EMGetRoomAnnouncementResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomAnnouncementWithHttpInfo
public ApiResponse<EMGetRoomAnnouncementResult> getRoomAnnouncementWithHttpInfo(String chatroomId) throws ApiException 获取聊天室公告 获取指定聊天室 ID 的聊天室公告。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E8%81%8A%E5%A4%A9%E5%AE%A4%E5%85%AC%E5%91%8A- 参数:
chatroomId- (required)- 返回:
- ApiResponse<EMGetRoomAnnouncementResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomAnnouncementAsync
public okhttp3.Call getRoomAnnouncementAsync(String chatroomId, ApiCallback<EMGetRoomAnnouncementResult> _callback) throws ApiException 获取聊天室公告 (asynchronously) 获取指定聊天室 ID 的聊天室公告。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E8%81%8A%E5%A4%A9%E5%AE%A4%E5%85%AC%E5%91%8A- 参数:
chatroomId- (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
-
getRoomBlockListCall
public okhttp3.Call getRoomBlockListCall(String chatroomId, ApiCallback _callback) throws ApiException Build call for getRoomBlockList- 参数:
chatroomId- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getRoomBlockList
查询聊天室黑名单 查询一个聊天室黑名单中的用户列表。黑名单中的用户无法查看或收到该聊天室的信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%9F%A5%E8%AF%A2%E8%81%8A%E5%A4%A9%E5%AE%A4%E9%BB%91%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)- 返回:
- EMGetRoomBlockListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomBlockListWithHttpInfo
public ApiResponse<EMGetRoomBlockListResult> getRoomBlockListWithHttpInfo(String chatroomId) throws ApiException 查询聊天室黑名单 查询一个聊天室黑名单中的用户列表。黑名单中的用户无法查看或收到该聊天室的信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%9F%A5%E8%AF%A2%E8%81%8A%E5%A4%A9%E5%AE%A4%E9%BB%91%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)- 返回:
- ApiResponse<EMGetRoomBlockListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomBlockListAsync
public okhttp3.Call getRoomBlockListAsync(String chatroomId, ApiCallback<EMGetRoomBlockListResult> _callback) throws ApiException 查询聊天室黑名单 (asynchronously) 查询一个聊天室黑名单中的用户列表。黑名单中的用户无法查看或收到该聊天室的信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%9F%A5%E8%AF%A2%E8%81%8A%E5%A4%A9%E5%AE%A4%E9%BB%91%E5%90%8D%E5%8D%95- 参数:
chatroomId- (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
-
getRoomCustomAttributesCall
public okhttp3.Call getRoomCustomAttributesCall(String chatroomId, EMGetRoomCustomAttributes emGetRoomCustomAttributes, ApiCallback _callback) throws ApiException Build call for getRoomCustomAttributes- 参数:
chatroomId- (required)emGetRoomCustomAttributes- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getRoomCustomAttributes
public EMGetRoomCustomAttributesResult getRoomCustomAttributes(String chatroomId, EMGetRoomCustomAttributes emGetRoomCustomAttributes) throws ApiException 获取聊天室自定义属性 获取指定聊天室的自定义属性信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)emGetRoomCustomAttributes- (optional)- 返回:
- EMGetRoomCustomAttributesResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomCustomAttributesWithHttpInfo
public ApiResponse<EMGetRoomCustomAttributesResult> getRoomCustomAttributesWithHttpInfo(String chatroomId, EMGetRoomCustomAttributes emGetRoomCustomAttributes) throws ApiException 获取聊天室自定义属性 获取指定聊天室的自定义属性信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)emGetRoomCustomAttributes- (optional)- 返回:
- ApiResponse<EMGetRoomCustomAttributesResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomCustomAttributesAsync
public okhttp3.Call getRoomCustomAttributesAsync(String chatroomId, EMGetRoomCustomAttributes emGetRoomCustomAttributes, ApiCallback<EMGetRoomCustomAttributesResult> _callback) throws ApiException 获取聊天室自定义属性 (asynchronously) 获取指定聊天室的自定义属性信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)emGetRoomCustomAttributes- (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
-
getRoomInfoCall
Build call for getRoomInfo- 参数:
chatroomId- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getRoomInfo
查询聊天室详情 查询一个聊天室的详情。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%9F%A5%E8%AF%A2%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%AF%A6%E6%83%85- 参数:
chatroomId- (required)- 返回:
- EMGetRoomInfoResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomInfoWithHttpInfo
public ApiResponse<EMGetRoomInfoResult> getRoomInfoWithHttpInfo(String chatroomId) throws ApiException 查询聊天室详情 查询一个聊天室的详情。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%9F%A5%E8%AF%A2%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%AF%A6%E6%83%85- 参数:
chatroomId- (required)- 返回:
- ApiResponse<EMGetRoomInfoResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomInfoAsync
public okhttp3.Call getRoomInfoAsync(String chatroomId, ApiCallback<EMGetRoomInfoResult> _callback) throws ApiException 查询聊天室详情 (asynchronously) 查询一个聊天室的详情。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%9F%A5%E8%AF%A2%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%AF%A6%E6%83%85- 参数:
chatroomId- (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
-
getRoomListCall
public okhttp3.Call getRoomListCall(Integer limit, String cursor, ApiCallback _callback) throws ApiException Build call for getRoomList- 参数:
limit- 每次期望返回的聊天室数量。取值范围为 [1,100],默认值为 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
-
getRoomList
获取 app 中的聊天室 分页获取应用下的聊天室列表和信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96-app-%E4%B8%AD%E7%9A%84%E8%81%8A%E5%A4%A9%E5%AE%A4- 参数:
limit- 每次期望返回的聊天室数量。取值范围为 [1,100],默认值为 10 (optional)cursor- 数据查询的起始位置 (optional)- 返回:
- EMGetRoomListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomListWithHttpInfo
public ApiResponse<EMGetRoomListResult> getRoomListWithHttpInfo(Integer limit, String cursor) throws ApiException 获取 app 中的聊天室 分页获取应用下的聊天室列表和信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96-app-%E4%B8%AD%E7%9A%84%E8%81%8A%E5%A4%A9%E5%AE%A4- 参数:
limit- 每次期望返回的聊天室数量。取值范围为 [1,100],默认值为 10 (optional)cursor- 数据查询的起始位置 (optional)- 返回:
- ApiResponse<EMGetRoomListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomListAsync
public okhttp3.Call getRoomListAsync(Integer limit, String cursor, ApiCallback<EMGetRoomListResult> _callback) throws ApiException 获取 app 中的聊天室 (asynchronously) 分页获取应用下的聊天室列表和信息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96-app-%E4%B8%AD%E7%9A%84%E8%81%8A%E5%A4%A9%E5%AE%A4- 参数:
limit- 每次期望返回的聊天室数量。取值范围为 [1,100],默认值为 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
-
getRoomMemberListCall
public okhttp3.Call getRoomMemberListCall(String chatroomId, Integer pagenum, Integer pagesize, ApiCallback _callback) throws ApiException Build call for getRoomMemberList- 参数:
chatroomId- (required)pagenum- 查询页码。默认值为 1 (optional)pagesize- 每页显示的聊天室成员数量。默认值为 1000。取值范围为 [0,1000] (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getRoomMemberList
public EMGetRoomMemberListResult getRoomMemberList(String chatroomId, Integer pagenum, Integer pagesize) throws ApiException 分页获取聊天室成员列表 可以分页获取聊天室成员列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%86%E9%A1%B5%E8%8E%B7%E5%8F%96%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98%E5%88%97%E8%A1%A8- 参数:
chatroomId- (required)pagenum- 查询页码。默认值为 1 (optional)pagesize- 每页显示的聊天室成员数量。默认值为 1000。取值范围为 [0,1000] (optional)- 返回:
- EMGetRoomMemberListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomMemberListWithHttpInfo
public ApiResponse<EMGetRoomMemberListResult> getRoomMemberListWithHttpInfo(String chatroomId, Integer pagenum, Integer pagesize) throws ApiException 分页获取聊天室成员列表 可以分页获取聊天室成员列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%86%E9%A1%B5%E8%8E%B7%E5%8F%96%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98%E5%88%97%E8%A1%A8- 参数:
chatroomId- (required)pagenum- 查询页码。默认值为 1 (optional)pagesize- 每页显示的聊天室成员数量。默认值为 1000。取值范围为 [0,1000] (optional)- 返回:
- ApiResponse<EMGetRoomMemberListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomMemberListAsync
public okhttp3.Call getRoomMemberListAsync(String chatroomId, Integer pagenum, Integer pagesize, ApiCallback<EMGetRoomMemberListResult> _callback) throws ApiException 分页获取聊天室成员列表 (asynchronously) 可以分页获取聊天室成员列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%86%E9%A1%B5%E8%8E%B7%E5%8F%96%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98%E5%88%97%E8%A1%A8- 参数:
chatroomId- (required)pagenum- 查询页码。默认值为 1 (optional)pagesize- 每页显示的聊天室成员数量。默认值为 1000。取值范围为 [0,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
-
getRoomSuperAdminListCall
public okhttp3.Call getRoomSuperAdminListCall(Integer pagenum, Integer pagesize, ApiCallback _callback) throws ApiException Build call for getRoomSuperAdminList- 参数:
pagenum- 当前页码,默认值为 1 (optional)pagesize- 每页返回的超级管理员数量,默认值为 10 (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getRoomSuperAdminList
public EMGetRoomSuperAdminListResult getRoomSuperAdminList(Integer pagenum, Integer pagesize) throws ApiException 分页获取超级管理员列表 可以分页获取超级管理员列表的接口。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%86%E9%A1%B5%E8%8E%B7%E5%8F%96%E8%B6%85%E7%BA%A7%E7%AE%A1%E7%90%86%E5%91%98%E5%88%97%E8%A1%A8- 参数:
pagenum- 当前页码,默认值为 1 (optional)pagesize- 每页返回的超级管理员数量,默认值为 10 (optional)- 返回:
- EMGetRoomSuperAdminListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomSuperAdminListWithHttpInfo
public ApiResponse<EMGetRoomSuperAdminListResult> getRoomSuperAdminListWithHttpInfo(Integer pagenum, Integer pagesize) throws ApiException 分页获取超级管理员列表 可以分页获取超级管理员列表的接口。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%86%E9%A1%B5%E8%8E%B7%E5%8F%96%E8%B6%85%E7%BA%A7%E7%AE%A1%E7%90%86%E5%91%98%E5%88%97%E8%A1%A8- 参数:
pagenum- 当前页码,默认值为 1 (optional)pagesize- 每页返回的超级管理员数量,默认值为 10 (optional)- 返回:
- ApiResponse<EMGetRoomSuperAdminListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomSuperAdminListAsync
public okhttp3.Call getRoomSuperAdminListAsync(Integer pagenum, Integer pagesize, ApiCallback<EMGetRoomSuperAdminListResult> _callback) throws ApiException 分页获取超级管理员列表 (asynchronously) 可以分页获取超级管理员列表的接口。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%88%86%E9%A1%B5%E8%8E%B7%E5%8F%96%E8%B6%85%E7%BA%A7%E7%AE%A1%E7%90%86%E5%91%98%E5%88%97%E8%A1%A8- 参数:
pagenum- 当前页码,默认值为 1 (optional)pagesize- 每页返回的超级管理员数量,默认值为 10 (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
-
getRoomWhiteListCall
public okhttp3.Call getRoomWhiteListCall(String chatroomId, ApiCallback _callback) throws ApiException Build call for getRoomWhiteList- 参数:
chatroomId- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getRoomWhiteList
查询聊天室白名单 查询一个聊天室白名单中的用户列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%9F%A5%E8%AF%A2%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%99%BD%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)- 返回:
- EMGetRoomWhiteListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomWhiteListWithHttpInfo
public ApiResponse<EMGetRoomWhiteListResult> getRoomWhiteListWithHttpInfo(String chatroomId) throws ApiException 查询聊天室白名单 查询一个聊天室白名单中的用户列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%9F%A5%E8%AF%A2%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%99%BD%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)- 返回:
- ApiResponse<EMGetRoomWhiteListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomWhiteListAsync
public okhttp3.Call getRoomWhiteListAsync(String chatroomId, ApiCallback<EMGetRoomWhiteListResult> _callback) throws ApiException 查询聊天室白名单 (asynchronously) 查询一个聊天室白名单中的用户列表。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%9F%A5%E8%AF%A2%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%99%BD%E5%90%8D%E5%8D%95- 参数:
chatroomId- (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
-
getUserJoinedRoomListCall
public okhttp3.Call getUserJoinedRoomListCall(String username, Integer pagenum, Integer pagesize, ApiCallback _callback) throws ApiException Build call for getUserJoinedRoomList- 参数:
username- (required)pagenum- 每次期望返回的聊天室数量。取值范围为 [1,100],默认值为 10 (optional)pagesize- 数据查询的起始位置 (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getUserJoinedRoomList
public EMGetUserJoinedRoomListResult getUserJoinedRoomList(String username, Integer pagenum, Integer pagesize) throws ApiException 获取用户加入的聊天室 根据用户 ID 分页获取该用户加入的聊天室。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E5%8A%A0%E5%85%A5%E7%9A%84%E8%81%8A%E5%A4%A9%E5%AE%A4- 参数:
username- (required)pagenum- 每次期望返回的聊天室数量。取值范围为 [1,100],默认值为 10 (optional)pagesize- 数据查询的起始位置 (optional)- 返回:
- EMGetUserJoinedRoomListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getUserJoinedRoomListWithHttpInfo
public ApiResponse<EMGetUserJoinedRoomListResult> getUserJoinedRoomListWithHttpInfo(String username, Integer pagenum, Integer pagesize) throws ApiException 获取用户加入的聊天室 根据用户 ID 分页获取该用户加入的聊天室。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E5%8A%A0%E5%85%A5%E7%9A%84%E8%81%8A%E5%A4%A9%E5%AE%A4- 参数:
username- (required)pagenum- 每次期望返回的聊天室数量。取值范围为 [1,100],默认值为 10 (optional)pagesize- 数据查询的起始位置 (optional)- 返回:
- ApiResponse<EMGetUserJoinedRoomListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getUserJoinedRoomListAsync
public okhttp3.Call getUserJoinedRoomListAsync(String username, Integer pagenum, Integer pagesize, ApiCallback<EMGetUserJoinedRoomListResult> _callback) throws ApiException 获取用户加入的聊天室 (asynchronously) 根据用户 ID 分页获取该用户加入的聊天室。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E5%8A%A0%E5%85%A5%E7%9A%84%E8%81%8A%E5%A4%A9%E5%AE%A4- 参数:
username- (required)pagenum- 每次期望返回的聊天室数量。取值范围为 [1,100],默认值为 10 (optional)pagesize- 数据查询的起始位置 (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
-
modifyRoomCall
public okhttp3.Call modifyRoomCall(String chatroomId, EMModifyRoom emModifyRoom, ApiCallback _callback) throws ApiException Build call for modifyRoom- 参数:
chatroomId- (required)emModifyRoom- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
modifyRoom
public EMModifyRoomResult modifyRoom(String chatroomId, EMModifyRoom emModifyRoom) throws ApiException 修改聊天室信息 修改指定聊天室的信息。仅支持修改聊天室名称、聊天室描述和聊天室最大成员数。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E4%BF%AE%E6%94%B9%E8%81%8A%E5%A4%A9%E5%AE%A4%E4%BF%A1%E6%81%AF- 参数:
chatroomId- (required)emModifyRoom- (optional)- 返回:
- EMModifyRoomResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
modifyRoomWithHttpInfo
public ApiResponse<EMModifyRoomResult> modifyRoomWithHttpInfo(String chatroomId, EMModifyRoom emModifyRoom) throws ApiException 修改聊天室信息 修改指定聊天室的信息。仅支持修改聊天室名称、聊天室描述和聊天室最大成员数。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E4%BF%AE%E6%94%B9%E8%81%8A%E5%A4%A9%E5%AE%A4%E4%BF%A1%E6%81%AF- 参数:
chatroomId- (required)emModifyRoom- (optional)- 返回:
- ApiResponse<EMModifyRoomResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
modifyRoomAsync
public okhttp3.Call modifyRoomAsync(String chatroomId, EMModifyRoom emModifyRoom, ApiCallback<EMModifyRoomResult> _callback) throws ApiException 修改聊天室信息 (asynchronously) 修改指定聊天室的信息。仅支持修改聊天室名称、聊天室描述和聊天室最大成员数。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E4%BF%AE%E6%94%B9%E8%81%8A%E5%A4%A9%E5%AE%A4%E4%BF%A1%E6%81%AF- 参数:
chatroomId- (required)emModifyRoom- (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
-
modifyRoomAnnouncementCall
public okhttp3.Call modifyRoomAnnouncementCall(String chatroomId, EMModifyRoomAnnouncement emModifyRoomAnnouncement, ApiCallback _callback) throws ApiException Build call for modifyRoomAnnouncement- 参数:
chatroomId- (required)emModifyRoomAnnouncement- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
modifyRoomAnnouncement
public EMModifyRoomAnnouncementResult modifyRoomAnnouncement(String chatroomId, EMModifyRoomAnnouncement emModifyRoomAnnouncement) throws ApiException 修改聊天室公告 修改指定聊天室 ID 的聊天室公告。聊天室公告内容不能超过 512 个字符。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E4%BF%AE%E6%94%B9%E8%81%8A%E5%A4%A9%E5%AE%A4%E5%85%AC%E5%91%8A- 参数:
chatroomId- (required)emModifyRoomAnnouncement- (optional)- 返回:
- EMModifyRoomAnnouncementResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
modifyRoomAnnouncementWithHttpInfo
public ApiResponse<EMModifyRoomAnnouncementResult> modifyRoomAnnouncementWithHttpInfo(String chatroomId, EMModifyRoomAnnouncement emModifyRoomAnnouncement) throws ApiException 修改聊天室公告 修改指定聊天室 ID 的聊天室公告。聊天室公告内容不能超过 512 个字符。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E4%BF%AE%E6%94%B9%E8%81%8A%E5%A4%A9%E5%AE%A4%E5%85%AC%E5%91%8A- 参数:
chatroomId- (required)emModifyRoomAnnouncement- (optional)- 返回:
- ApiResponse<EMModifyRoomAnnouncementResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
modifyRoomAnnouncementAsync
public okhttp3.Call modifyRoomAnnouncementAsync(String chatroomId, EMModifyRoomAnnouncement emModifyRoomAnnouncement, ApiCallback<EMModifyRoomAnnouncementResult> _callback) throws ApiException 修改聊天室公告 (asynchronously) 修改指定聊天室 ID 的聊天室公告。聊天室公告内容不能超过 512 个字符。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E4%BF%AE%E6%94%B9%E8%81%8A%E5%A4%A9%E5%AE%A4%E5%85%AC%E5%91%8A- 参数:
chatroomId- (required)emModifyRoomAnnouncement- (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
-
muteAllRoomMemberCall
public okhttp3.Call muteAllRoomMemberCall(String chatroomId, ApiCallback _callback) throws ApiException Build call for muteAllRoomMember- 参数:
chatroomId- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
muteAllRoomMember
禁言聊天室全体成员 对所有聊天室成员一键禁言。该操作不影响聊天室禁言列表,即一键禁言不会将聊天室所有成员加入聊天室禁言列表。设置聊天室全员禁言后,仅聊天室白名单中的用户可在聊天室内发消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E7%A6%81%E8%A8%80%E8%81%8A%E5%A4%A9%E5%AE%A4%E5%85%A8%E4%BD%93%E6%88%90%E5%91%98- 参数:
chatroomId- (required)- 返回:
- EMMuteAllRoomMemberResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
muteAllRoomMemberWithHttpInfo
public ApiResponse<EMMuteAllRoomMemberResult> muteAllRoomMemberWithHttpInfo(String chatroomId) throws ApiException 禁言聊天室全体成员 对所有聊天室成员一键禁言。该操作不影响聊天室禁言列表,即一键禁言不会将聊天室所有成员加入聊天室禁言列表。设置聊天室全员禁言后,仅聊天室白名单中的用户可在聊天室内发消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E7%A6%81%E8%A8%80%E8%81%8A%E5%A4%A9%E5%AE%A4%E5%85%A8%E4%BD%93%E6%88%90%E5%91%98- 参数:
chatroomId- (required)- 返回:
- ApiResponse<EMMuteAllRoomMemberResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
muteAllRoomMemberAsync
public okhttp3.Call muteAllRoomMemberAsync(String chatroomId, ApiCallback<EMMuteAllRoomMemberResult> _callback) throws ApiException 禁言聊天室全体成员 (asynchronously) 对所有聊天室成员一键禁言。该操作不影响聊天室禁言列表,即一键禁言不会将聊天室所有成员加入聊天室禁言列表。设置聊天室全员禁言后,仅聊天室白名单中的用户可在聊天室内发消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E7%A6%81%E8%A8%80%E8%81%8A%E5%A4%A9%E5%AE%A4%E5%85%A8%E4%BD%93%E6%88%90%E5%91%98- 参数:
chatroomId- (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
-
muteRoomMemberCall
public okhttp3.Call muteRoomMemberCall(String chatroomId, EMMuteRoomMember emMuteRoomMember, ApiCallback _callback) throws ApiException Build call for muteRoomMember- 参数:
chatroomId- (required)emMuteRoomMember- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
muteRoomMember
public EMMuteRoomMemberResult muteRoomMember(String chatroomId, EMMuteRoomMember emMuteRoomMember) throws ApiException 禁言聊天室成员 禁言单个或多个聊天室成员。你一次最多可禁言 60 个成员。用户被禁言后,将无法在聊天室中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E7%A6%81%E8%A8%80%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98- 参数:
chatroomId- (required)emMuteRoomMember- (optional)- 返回:
- EMMuteRoomMemberResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
muteRoomMemberWithHttpInfo
public ApiResponse<EMMuteRoomMemberResult> muteRoomMemberWithHttpInfo(String chatroomId, EMMuteRoomMember emMuteRoomMember) throws ApiException 禁言聊天室成员 禁言单个或多个聊天室成员。你一次最多可禁言 60 个成员。用户被禁言后,将无法在聊天室中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E7%A6%81%E8%A8%80%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98- 参数:
chatroomId- (required)emMuteRoomMember- (optional)- 返回:
- ApiResponse<EMMuteRoomMemberResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
muteRoomMemberAsync
public okhttp3.Call muteRoomMemberAsync(String chatroomId, EMMuteRoomMember emMuteRoomMember, ApiCallback<EMMuteRoomMemberResult> _callback) throws ApiException 禁言聊天室成员 (asynchronously) 禁言单个或多个聊天室成员。你一次最多可禁言 60 个成员。用户被禁言后,将无法在聊天室中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E7%A6%81%E8%A8%80%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98- 参数:
chatroomId- (required)emMuteRoomMember- (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
-
removeRoomAdminCall
public okhttp3.Call removeRoomAdminCall(String chatroomId, String oldAdmin, ApiCallback _callback) throws ApiException Build call for removeRoomAdmin- 参数:
chatroomId- (required)oldAdmin- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
removeRoomAdmin
public EMRemoveRoomAdminResult removeRoomAdmin(String chatroomId, String oldAdmin) throws ApiException 移除聊天室管理员 将用户的角色从聊天室管理员降为普通聊天室成员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%AE%A1%E7%90%86%E5%91%98- 参数:
chatroomId- (required)oldAdmin- (required)- 返回:
- EMRemoveRoomAdminResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
removeRoomAdminWithHttpInfo
public ApiResponse<EMRemoveRoomAdminResult> removeRoomAdminWithHttpInfo(String chatroomId, String oldAdmin) throws ApiException 移除聊天室管理员 将用户的角色从聊天室管理员降为普通聊天室成员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%AE%A1%E7%90%86%E5%91%98- 参数:
chatroomId- (required)oldAdmin- (required)- 返回:
- ApiResponse<EMRemoveRoomAdminResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
removeRoomAdminAsync
public okhttp3.Call removeRoomAdminAsync(String chatroomId, String oldAdmin, ApiCallback<EMRemoveRoomAdminResult> _callback) throws ApiException 移除聊天室管理员 (asynchronously) 将用户的角色从聊天室管理员降为普通聊天室成员。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%B7%BB%E5%8A%A0%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%AE%A1%E7%90%86%E5%91%98- 参数:
chatroomId- (required)oldAdmin- (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
-
removeRoomSuperAdminCall
public okhttp3.Call removeRoomSuperAdminCall(String superAdmin, ApiCallback _callback) throws ApiException Build call for removeRoomSuperAdmin- 参数:
superAdmin- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
removeRoomSuperAdmin
撤销超级管理员 撤销超级管理员权限,用户将不能再创建聊天室。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%92%A4%E9%94%80%E8%B6%85%E7%BA%A7%E7%AE%A1%E7%90%86%E5%91%98- 参数:
superAdmin- (required)- 返回:
- EMRemoveRoomSuperAdminResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
removeRoomSuperAdminWithHttpInfo
public ApiResponse<EMRemoveRoomSuperAdminResult> removeRoomSuperAdminWithHttpInfo(String superAdmin) throws ApiException 撤销超级管理员 撤销超级管理员权限,用户将不能再创建聊天室。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%92%A4%E9%94%80%E8%B6%85%E7%BA%A7%E7%AE%A1%E7%90%86%E5%91%98- 参数:
superAdmin- (required)- 返回:
- ApiResponse<EMRemoveRoomSuperAdminResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
removeRoomSuperAdminAsync
public okhttp3.Call removeRoomSuperAdminAsync(String superAdmin, ApiCallback<EMRemoveRoomSuperAdminResult> _callback) throws ApiException 撤销超级管理员 (asynchronously) 撤销超级管理员权限,用户将不能再创建聊天室。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E6%92%A4%E9%94%80%E8%B6%85%E7%BA%A7%E7%AE%A1%E7%90%86%E5%91%98- 参数:
superAdmin- (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
-
removeUserFromRoomCall
public okhttp3.Call removeUserFromRoomCall(String chatroomId, String username, ApiCallback _callback) throws ApiException Build call for removeUserFromRoom- 参数:
chatroomId- (required)username- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
removeUserFromRoom
public EMRemoveUserFromRoomResult removeUserFromRoom(String chatroomId, String username) throws ApiException 移除单个聊天室成员 从聊天室移除一个成员。如果被移除用户不在聊天室中或聊天室不存在,将返回错误。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E7%A7%BB%E9%99%A4%E5%8D%95%E4%B8%AA%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98- 参数:
chatroomId- (required)username- (required)- 返回:
- EMRemoveUserFromRoomResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
removeUserFromRoomWithHttpInfo
public ApiResponse<EMRemoveUserFromRoomResult> removeUserFromRoomWithHttpInfo(String chatroomId, String username) throws ApiException 移除单个聊天室成员 从聊天室移除一个成员。如果被移除用户不在聊天室中或聊天室不存在,将返回错误。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E7%A7%BB%E9%99%A4%E5%8D%95%E4%B8%AA%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98- 参数:
chatroomId- (required)username- (required)- 返回:
- ApiResponse<EMRemoveUserFromRoomResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
removeUserFromRoomAsync
public okhttp3.Call removeUserFromRoomAsync(String chatroomId, String username, ApiCallback<EMRemoveUserFromRoomResult> _callback) throws ApiException 移除单个聊天室成员 (asynchronously) 从聊天室移除一个成员。如果被移除用户不在聊天室中或聊天室不存在,将返回错误。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E7%A7%BB%E9%99%A4%E5%8D%95%E4%B8%AA%E8%81%8A%E5%A4%A9%E5%AE%A4%E6%88%90%E5%91%98- 参数:
chatroomId- (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
-
removeUserFromRoomBlockListCall
public okhttp3.Call removeUserFromRoomBlockListCall(String chatroomId, String username, ApiCallback _callback) throws ApiException Build call for removeUserFromRoomBlockList- 参数:
chatroomId- (required)username- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
removeUserFromRoomBlockList
public EMRemoveUserFromRoomBlockListResult removeUserFromRoomBlockList(String chatroomId, String username) throws ApiException 从聊天室黑名单移出单个用户 将指定用户移出聊天室黑名单。对于聊天室黑名单中的用户,如果需要将其再次加入聊天室,需要先将其从聊天室黑名单中移除。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E4%BB%8E%E8%81%8A%E5%A4%A9%E5%AE%A4%E9%BB%91%E5%90%8D%E5%8D%95%E7%A7%BB%E5%87%BA%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7- 参数:
chatroomId- (required)username- (required)- 返回:
- EMRemoveUserFromRoomBlockListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
removeUserFromRoomBlockListWithHttpInfo
public ApiResponse<EMRemoveUserFromRoomBlockListResult> removeUserFromRoomBlockListWithHttpInfo(String chatroomId, String username) throws ApiException 从聊天室黑名单移出单个用户 将指定用户移出聊天室黑名单。对于聊天室黑名单中的用户,如果需要将其再次加入聊天室,需要先将其从聊天室黑名单中移除。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E4%BB%8E%E8%81%8A%E5%A4%A9%E5%AE%A4%E9%BB%91%E5%90%8D%E5%8D%95%E7%A7%BB%E5%87%BA%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7- 参数:
chatroomId- (required)username- (required)- 返回:
- ApiResponse<EMRemoveUserFromRoomBlockListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
removeUserFromRoomBlockListAsync
public okhttp3.Call removeUserFromRoomBlockListAsync(String chatroomId, String username, ApiCallback<EMRemoveUserFromRoomBlockListResult> _callback) throws ApiException 从聊天室黑名单移出单个用户 (asynchronously) 将指定用户移出聊天室黑名单。对于聊天室黑名单中的用户,如果需要将其再次加入聊天室,需要先将其从聊天室黑名单中移除。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E4%BB%8E%E8%81%8A%E5%A4%A9%E5%AE%A4%E9%BB%91%E5%90%8D%E5%8D%95%E7%A7%BB%E5%87%BA%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7- 参数:
chatroomId- (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
-
removeUserFromRoomWhiteListCall
public okhttp3.Call removeUserFromRoomWhiteListCall(String chatroomId, String username, ApiCallback _callback) throws ApiException Build call for removeUserFromRoomWhiteList- 参数:
chatroomId- (required)username- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
removeUserFromRoomWhiteList
public EMRemoveUserFromRoomWhiteListResult removeUserFromRoomWhiteList(String chatroomId, String username) throws ApiException 将用户移出聊天室白名单 将指定用户从聊天室白名单移除。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%B0%86%E7%94%A8%E6%88%B7%E7%A7%BB%E5%87%BA%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%99%BD%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)username- (required)- 返回:
- EMRemoveUserFromRoomWhiteListResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
removeUserFromRoomWhiteListWithHttpInfo
public ApiResponse<EMRemoveUserFromRoomWhiteListResult> removeUserFromRoomWhiteListWithHttpInfo(String chatroomId, String username) throws ApiException 将用户移出聊天室白名单 将指定用户从聊天室白名单移除。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%B0%86%E7%94%A8%E6%88%B7%E7%A7%BB%E5%87%BA%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%99%BD%E5%90%8D%E5%8D%95- 参数:
chatroomId- (required)username- (required)- 返回:
- ApiResponse<EMRemoveUserFromRoomWhiteListResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
removeUserFromRoomWhiteListAsync
public okhttp3.Call removeUserFromRoomWhiteListAsync(String chatroomId, String username, ApiCallback<EMRemoveUserFromRoomWhiteListResult> _callback) throws ApiException 将用户移出聊天室白名单 (asynchronously) 将指定用户从聊天室白名单移除。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E5%B0%86%E7%94%A8%E6%88%B7%E7%A7%BB%E5%87%BA%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%99%BD%E5%90%8D%E5%8D%95- 参数:
chatroomId- (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
-
setRoomCustomAttributesCall
public okhttp3.Call setRoomCustomAttributesCall(String chatroomId, String username, EMSetRoomCustomAttributes emSetRoomCustomAttributes, ApiCallback _callback) throws ApiException Build call for setRoomCustomAttributes- 参数:
chatroomId- (required)username- (required)emSetRoomCustomAttributes- (optional)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
setRoomCustomAttributes
public EMSetRoomCustomAttributesResult setRoomCustomAttributes(String chatroomId, String username, EMSetRoomCustomAttributes emSetRoomCustomAttributes) throws ApiException 设置聊天室自定义属性 指定用户设置特定聊天室的自定义属性。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%AE%BE%E7%BD%AE%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)username- (required)emSetRoomCustomAttributes- (optional)- 返回:
- EMSetRoomCustomAttributesResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
setRoomCustomAttributesWithHttpInfo
public ApiResponse<EMSetRoomCustomAttributesResult> setRoomCustomAttributesWithHttpInfo(String chatroomId, String username, EMSetRoomCustomAttributes emSetRoomCustomAttributes) throws ApiException 设置聊天室自定义属性 指定用户设置特定聊天室的自定义属性。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%AE%BE%E7%BD%AE%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)username- (required)emSetRoomCustomAttributes- (optional)- 返回:
- ApiResponse<EMSetRoomCustomAttributesResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
setRoomCustomAttributesAsync
public okhttp3.Call setRoomCustomAttributesAsync(String chatroomId, String username, EMSetRoomCustomAttributes emSetRoomCustomAttributes, ApiCallback<EMSetRoomCustomAttributesResult> _callback) throws ApiException 设置聊天室自定义属性 (asynchronously) 指定用户设置特定聊天室的自定义属性。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%AE%BE%E7%BD%AE%E8%81%8A%E5%A4%A9%E5%AE%A4%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7- 参数:
chatroomId- (required)username- (required)emSetRoomCustomAttributes- (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
-
unmuteAllRoomMemberCall
public okhttp3.Call unmuteAllRoomMemberCall(String chatroomId, ApiCallback _callback) throws ApiException Build call for unmuteAllRoomMember- 参数:
chatroomId- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
unmuteAllRoomMember
解除聊天室全员禁言 一键取消对聊天室全体成员的禁言。解除禁言后,聊天室成员可以在聊天室中正常发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%A7%A3%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4%E5%85%A8%E5%91%98%E7%A6%81%E8%A8%80- 参数:
chatroomId- (required)- 返回:
- EMUnmuteAllRoomMemberResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
unmuteAllRoomMemberWithHttpInfo
public ApiResponse<EMUnmuteAllRoomMemberResult> unmuteAllRoomMemberWithHttpInfo(String chatroomId) throws ApiException 解除聊天室全员禁言 一键取消对聊天室全体成员的禁言。解除禁言后,聊天室成员可以在聊天室中正常发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%A7%A3%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4%E5%85%A8%E5%91%98%E7%A6%81%E8%A8%80- 参数:
chatroomId- (required)- 返回:
- ApiResponse<EMUnmuteAllRoomMemberResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
unmuteAllRoomMemberAsync
public okhttp3.Call unmuteAllRoomMemberAsync(String chatroomId, ApiCallback<EMUnmuteAllRoomMemberResult> _callback) throws ApiException 解除聊天室全员禁言 (asynchronously) 一键取消对聊天室全体成员的禁言。解除禁言后,聊天室成员可以在聊天室中正常发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%A7%A3%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4%E5%85%A8%E5%91%98%E7%A6%81%E8%A8%80- 参数:
chatroomId- (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
-
unmuteRoomMemberCall
public okhttp3.Call unmuteRoomMemberCall(String chatroomId, String username, ApiCallback _callback) throws ApiException Build call for unmuteRoomMember- 参数:
chatroomId- (required)username- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
unmuteRoomMember
public EMUnmuteRoomMemberResult unmuteRoomMember(String chatroomId, String username) throws ApiException 解除聊天室禁言成员 解除对一个聊天室成员的禁言。解除禁言后,该成员可以正常在聊天室中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%A7%A3%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%A6%81%E8%A8%80%E6%88%90%E5%91%98- 参数:
chatroomId- (required)username- (required)- 返回:
- EMUnmuteRoomMemberResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
unmuteRoomMemberWithHttpInfo
public ApiResponse<EMUnmuteRoomMemberResult> unmuteRoomMemberWithHttpInfo(String chatroomId, String username) throws ApiException 解除聊天室禁言成员 解除对一个聊天室成员的禁言。解除禁言后,该成员可以正常在聊天室中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%A7%A3%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%A6%81%E8%A8%80%E6%88%90%E5%91%98- 参数:
chatroomId- (required)username- (required)- 返回:
- ApiResponse<EMUnmuteRoomMemberResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
unmuteRoomMemberAsync
public okhttp3.Call unmuteRoomMemberAsync(String chatroomId, String username, ApiCallback<EMUnmuteRoomMemberResult> _callback) throws ApiException 解除聊天室禁言成员 (asynchronously) 解除对一个聊天室成员的禁言。解除禁言后,该成员可以正常在聊天室中发送消息。文档介绍:https://docs-im-beta.easemob.com/document/server-side/chatroom.html#%E8%A7%A3%E9%99%A4%E8%81%8A%E5%A4%A9%E5%AE%A4%E7%A6%81%E8%A8%80%E6%88%90%E5%91%98- 参数:
chatroomId- (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
-
getRoomMemberCountCall
public okhttp3.Call getRoomMemberCountCall(@Nonnull String chatroomId, ApiCallback _callback) throws ApiException Build call for getRoomMemberCount- 参数:
chatroomId- (required)_callback- Callback for upload/download progress- 返回:
- Call to execute
- 抛出:
ApiException- If fail to serialize the request body object http.response.details
-
getRoomMemberCount
public EMGetRoomMemberCountResult getRoomMemberCount(@Nonnull String chatroomId) throws ApiException 获取聊天室成员数量 获取聊天室成员数量。- 参数:
chatroomId- (required)- 返回:
- EMGetRoomMemberCountResult
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomMemberCountWithHttpInfo
public ApiResponse<EMGetRoomMemberCountResult> getRoomMemberCountWithHttpInfo(@Nonnull String chatroomId) throws ApiException 获取聊天室成员数量 获取聊天室成员数量。- 参数:
chatroomId- (required)- 返回:
- ApiResponse<EMGetRoomMemberCountResult>
- 抛出:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body http.response.details
-
getRoomMemberCountAsync
public okhttp3.Call getRoomMemberCountAsync(@Nonnull String chatroomId, ApiCallback<EMGetRoomMemberCountResult> _callback) throws ApiException 获取聊天室成员数量 (asynchronously) 获取聊天室成员数量。- 参数:
chatroomId- (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
-