| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
Chatroom.create(ChatroomModel[] chatrooms)
创建聊天室方法
|
ResponseResult |
Chatroom.destroy(ChatroomModel chatroom)
销毁聊天室方法
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
Ban.add(ChatroomModel chatroom)
添加用户聊天室全局禁言方法
|
ResponseResult |
Ban.remove(ChatroomModel chatroom)
移除用户聊天室全局禁言方法
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
Block.add(ChatroomModel chatroom)
添加封禁聊天室成员方法
|
ResponseResult |
Block.remove(ChatroomModel chatroom)
移除封禁聊天室成员方法
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
Demotion.add(String[] objectName)
添加应用内聊天室降级消息
|
ResponseResult |
Demotion.remove(String[] objectNames)
移除应用内聊天室降级消息
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
Distribute.resume(ChatroomModel chatroom)
恢复聊天室消息分发
|
ResponseResult |
Distribute.stop(ChatroomModel chatroom)
停止聊天室消息分发(可实现控制对聊天室中消息是否进行分发,停止分发后聊天室中用户发送的消息,融云服务端不会再将消息发送给聊天室中其他用户。)
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
Gag.add(ChatroomModel chatroom)
已过时。
添加禁言聊天室成员方法(在 App 中如果不想让某一用户在聊天室中发言时,可将此用户在聊天室中禁言,被禁言用户可以接收查看聊天室中用户聊天信息,但不能发送消息.)
|
ResponseResult |
Gag.remove(ChatroomModel chatroom)
已过时。
移除禁言聊天室成员方法
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
Keepalive.add(ChatroomModel chatroom)
添加聊天室保活方法
|
ResponseResult |
Keepalive.remove(ChatroomModel chatroom)
删除聊天室保活方法
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
MuteMembers.add(ChatroomModel chatroom)
添加禁言聊天室成员方法(在 App 中如果不想让某一用户在聊天室中发言时,可将此用户在聊天室中禁言,被禁言用户可以接收查看聊天室中用户聊天信息,但不能发送消息.)
|
ResponseResult |
MuteMembers.remove(ChatroomModel chatroom)
移除禁言聊天室成员方法
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
User.add(ChatroomModel chatroom)
添加聊天室白名单成员方法
|
ResponseResult |
Messages.add(String[] objectNames)
添加聊天室消息白名单成员方法
|
ResponseResult |
User.remove(ChatroomModel chatroom)
添加聊天室白名单成员方法
|
ResponseResult |
Messages.remove(String[] objectNames)
删除聊天室消息白名单方法
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
Conversation.mute(ConversationModel conversation)
设置用户某会话接收新消息时是否进行消息提醒。
|
ResponseResult |
Conversation.unMute(ConversationModel conversation)
设置用户某会话接收新消息时是否进行消息提醒。
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
Private.send(PrivateMessage message)
发送单聊消息方法(一个用户向另外一个用户发送消息,单条消息最大 128k。
|
ResponseResult |
Private.sendTemplate(TemplateMessage message)
发送单聊模板消息方法(一个用户向多个用户发送不同消息内容,单条消息最大 128k。
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
Chatroom.broadcast(ChatroomMessage message)
发送聊天室消广播消息方法(一个用户向聊天室发送消息,单条消息最大 128k。
|
ResponseResult |
Chatroom.send(ChatroomMessage message)
发送聊天室消息方法(一个用户向聊天室发送消息,单条消息最大 128k。
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
Discussion.send(DiscussionMessage message)
发送讨论组消息方法(以一个用户身份向讨论组发送消息,单条消息最大 128k,每秒钟最多发送 20 条消息.)
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
Group.send(GroupMessage message)
发送群组消息方法(以一个用户身份向群组发送消息,单条消息最大 128k.每秒钟最多发送 20 条消息,每次最多向 3 个群组发送,如:一次向 3 个群组发送消息,示为 3 条消息。)
|
ResponseResult |
Group.sendDirection(GroupMessage message)
群定向消息功能,向群中指定的一个或多个用户发送消息,群中其他用户无法收到该消息,当 toGroupId 为一个群组时此参数有效。
|
ResponseResult |
Group.sendMention(MentionMessage message)
发送群组@消息方法(以一个用户身份向群组发送消息,单条消息最大 128k.每秒钟最多发送 20 条消息,每次最多向 3 个群组发送,如:一次向 3 个群组发送消息,示为 3 条消息。)
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
History.remove(String date)
消息历史记录删除方法(删除 APP 内指定某天某小时内的所有会话消息记录。
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
MsgSystem.broadcast(BroadcastMessage message)
发送广播消息方法(发送消息给一个应用下的所有注册用户,如用户未在线会对满足条件(绑定手机终端)的用户发送 Push 信息,单条消息最大 128k,会话类型为 SYSTEM。
|
ResponseResult |
MsgSystem.send(MessageModel message)
发送系统消息方法(一个用户向一个或多个用户发送系统消息,单条消息最大 128k,会话类型为 SYSTEM。
|
ResponseResult |
MsgSystem.sendTemplate(TemplateMessage template)
发送系统模板消息方法(一个用户向一个或多个用户发送系统消息,单条消息最大 128k,会话类型为 SYSTEM.每秒钟最多发送 100 条消息,每次最多同时向 100 人发送,如:一次发送 100 人时,示为 100 条消息。)
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
SensitiveWord.add(SensitiveWordModel sensitiveword)
添加敏感词方法(设置敏感词后,App 中用户不会收到含有敏感词的消息内容,默认最多设置 50 个敏感词。)
|
ResponseResult |
Wordfilter.add(String word)
添加敏感词方法(设置敏感词后,App 中用户不会收到含有敏感词的消息内容,默认最多设置 50 个敏感词。)
|
ResponseResult |
SensitiveWord.batchDelete(String[] words)
批量移除敏感词方法(从敏感词列表中,移除某一敏感词。)
|
ResponseResult |
SensitiveWord.remove(String word)
移除敏感词方法(从敏感词列表中,移除某一敏感词。)
|
ResponseResult |
Wordfilter.remove(String word)
移除敏感词方法(从敏感词列表中,移除某一敏感词。)
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
Block.remove(String userId)
解除用户封禁方法(每秒钟限 100 次)
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseResult |
MuteChatrooms.add(ChatroomModel chatroom)
添加用户聊天室全局禁言方法
|
ResponseResult |
MuteChatrooms.remove(ChatroomModel chatroom)
移除用户聊天室全局禁言方法
|
Copyright © 2020 RcongCloud Group. All rights reserved.