Skip to content

Commit b1284ef

Browse files
authored
Merge pull request #1024 from haoxiuwen/doc-v2
Modify IM Docs
2 parents 1a5b805 + 1117ef5 commit b1284ef

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

docs/document/server-side/message_chatroom.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ curl -L 'https://XXXX/XXXX/XXXX/messages/chatrooms/broadcast' \
11691169
| 400 | message_send_error | message is too large | 请求体内容中 `body``ext` 字段的内容过大。 | 限制 `body``ext` 字段的内容。 |
11701170
| 403 | message_send_error | message send reach limit | 消息发送频率超出限制(默认 1 秒内只允许发送 100 条聊天室消息)。 | 限制消息发送频率,详见[文档说明](message_group.html#发送定向消息)|
11711171

1172-
1. 对于聊天室广播消息,如果返回的 HTTP 状态码非 `200`,表示请求失败。除了发送普通消息的常见错误码,还可能提示以下错误码:
1172+
3. 对于聊天室广播消息,如果返回的 HTTP 状态码非 `200`,表示请求失败。除了发送普通消息的常见错误码,还可能提示以下错误码:
11731173

11741174
| HTTP 状态码 | 错误类型 | 错误提示 | 可能原因 | 处理建议 |
11751175
|:---------|:-------------------|:-----------------|:-----------|:----------|

docs/uikit/chatroomuikit/ios/roomuikit_best_practice.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 最佳实践
22

3+
若要了解以上最佳实践的详情,请访问 [GitHub 仓库](https://github.com/easemob/ChatroomDemo/tree/dev/iOS/ChatroomDemo)
4+
35
## 初始化 ChatroomUIKit
46

57
初始化是使用 ChatroomUIKit 的必要步骤,需在所有接口方法调用前完成。
@@ -72,6 +74,3 @@ addSubView(roomView)
7274
ChatroomUIKitClient.shared.registerRoomEventsListener(self)
7375
```
7476

75-
## 参考
76-
77-
若要了解以上最佳实践的详情,请访问 [GitHub 仓库](https://github.com/easemob/ChatroomDemo/tree/dev/iOS/ChatroomDemo)

docs/uikit/chatroomuikit/ios/roomuikit_quickstart.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,5 @@ let roomView = ChatroomUIKitClient.shared.launchRoomView(roomId: "Chat room ID",
8585
点击屏幕下方的 `说点什么` 按钮唤起键盘,输入消息内容,点击 **发送** 按钮,发送消息。
8686

8787
![img](/images/uikit/chatroomios/click_chat.png =500x500)
88+
89+
上图为聊天室 Demo 显示的内容,如果要实现类似的样式,可以点击[这里](https://github.com/easemob/ChatroomDemo/tree/dev/iOS/ChatroomDemo)

0 commit comments

Comments
 (0)