public class Block extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
add(ChatroomModel chatroom)
添加封禁聊天室成员方法
|
ListBlockChatroomUserResult |
getList(String chatroomId)
查询被封禁聊天室成员方法
|
RongCloud |
getRongCloud() |
ResponseResult |
remove(ChatroomModel chatroom)
移除封禁聊天室成员方法
|
void |
setRongCloud(RongCloud rongCloud) |
public RongCloud getRongCloud()
public void setRongCloud(RongCloud rongCloud)
public ResponseResult add(ChatroomModel chatroom) throws Exception
chatroom:聊天室信息,memberIds(必传支持多个最多20个),minute:封禁时长,以分钟为单位,最大值为43200分钟。(必传) - Exceptionpublic ListBlockChatroomUserResult getList(String chatroomId) throws Exception
chatroomId:聊天室 - Id。(必传)Exceptionpublic ResponseResult remove(ChatroomModel chatroom) throws Exception
chatroom: - 封禁的聊天室信息 其中聊天室 Id。(必传),用户 Id。(必传)ExceptionCopyright © 2020 RcongCloud Group. All rights reserved.