Skip to content

Commit e546ebe

Browse files
authored
Merge pull request #1101 from haoxiuwen/doc-v2
Modify IM Docs
2 parents c167a90 + e4a3b20 commit e546ebe

18 files changed

+21
-21
lines changed

docs/document/electron/message.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- 发送消息
66

7-
- 接受消息
7+
- 接收消息
88

99
同时对于发送不超过2分钟的消息,允许主动撤回。
1010

docs/document/flutter/conversation_receipt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
1. 开启已读回执功能,即 SDK 初始化时设置 `EMOptions#requireAck``true`
3131

3232
```dart
33-
// 设置是否需要接受方已读确认,默认为 true
33+
// 设置是否需要接收方已读确认,默认为 true
3434
final options = EMOptions(
3535
appKey: appKey,
3636
requireAck: true,

docs/document/flutter/message_send_receive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ void _sendBeginTyping() async {
485485
486486
```
487487

488-
以下示例代码展示如何接受和解析输入状态的透传消息
488+
以下示例代码展示如何接收和解析输入状态的透传消息
489489

490490
```dart
491491
final int typingTime = 10;

docs/document/harmonyos/message_receipt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ ChatClient.getInstance().chatManager()?.removeMessageListener(msgListener);
8080

8181
1. App 开启已读回执功能,即 SDK 初始化时将 `ChatOptions.setRequireReadAck` 设置为 `true`
8282
```TypeScript
83-
// 设置是否需要接受方已读确认,默认为true
83+
// 设置是否需要接收方已读确认,默认为true
8484
options.setRequireReadAck(true);
8585
```
8686

@@ -155,7 +155,7 @@ ChatClient.getInstance().chatManager()?.addMessageListener(msgListener);
155155
该功能开启后,接收方阅读消息后,SDK 底层会自动进行消息已读回执。
156156

157157
```TypeScript
158-
// 设置是否需要接受方已读确认,默认为 `true`。
158+
// 设置是否需要接收方已读确认,默认为 `true`。
159159
options.setRequireReadAck(true);
160160
```
161161

docs/document/react-native/conversation_receipt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
1. 开启已读回执功能,即 SDK 初始化时设置 `ChatOptions#requireAck``true`
3131

3232
```TypeScript
33-
// 设置是否需要接受方已读确认,默认为 true
33+
// 设置是否需要接收方已读确认,默认为 true
3434
options.requireAck = true;
3535
```
3636

docs/document/react-native/message_receipt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ChatClient.getInstance().chatManager.addMessageListener({
7474
1. App 开启已读回执功能,即 SDK 初始化时将 `ChatOptions#requireAck` 设置为 `true`
7575

7676
```TypeScript
77-
// 设置是否需要接受方已读确认,默认为true
77+
// 设置是否需要接收方已读确认,默认为true
7878
options.requireAck = true;
7979
```
8080

docs/document/server-side/callback_offline_push.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
| `invalid message` | 无效的消息(协议内容一般不会有这个错误)。 |
6969
| `expire message` | 过期的消息,推送延迟超过一天的消息,不再推送。 |
7070
| `user ignore push` | 主动免打扰。 |
71-
| `ignore push device id` | 忽略用户设备推送(扩展限制接收或不接受推送设备)。 |
71+
| `ignore push device id` | 忽略用户设备推送(扩展限制接收或不接收推送设备)。 |
7272
| `invalid VOIP notification` | 无效的 APNs VoIP 类型推送。 |
7373
| `get push token fail` | 获取推送 token 失败。 |
7474
| `push yet but fail ` | 已经推送,但是返回失败。 |

docs/document/server-side/chatroom_manage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ POST https://{host}/{org_name}/{app_name}/chatrooms
378378
| :------------ | :----- | :------- | :------------------------------------------------------------------------------ |
379379
| `name` | String || 聊天室名称,最大长度为 128 个字符。 |
380380
| `description` | String || 聊天室描述,最大长度为 512 个字符。 |
381-
| `maxusers` | Int || 聊天室最大成员数(包括聊天室所有者)。取值范围为 [1,10,000],默认值为 `1000`。如需调整请联系商务。 |
381+
| `maxusers` | Int || 聊天室最大成员数(包括聊天室所有者)。取值范围为 [1, 10,000],默认值为 `1000`。如需调整请联系商务。 |
382382
| `owner` | String || 聊天室所有者。 |
383383
| `members` | Array || 聊天室普通成员和管理员的用户 ID 数组,不包含聊天室所有者的用户 ID。该数组可包含的元素数量不超过 `maxusers` 的值。若传该参数,确保至少设置一个数组元素。<Container type="tip" title="提示"> 创建聊天室时拉入的这些用户若从未登录过,会一直存在于聊天室中。</Container> |
384384
| `custom` | String || 聊天室扩展信息,例如,可以给聊天室添加业务相关的标记,不能超过 8 KB。 |

docs/document/unity/conversation_receipt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
1. 开启已读回执功能,即 SDK 初始化时设置 `Options#RequireAck``true`
3131

3232
```C#
33-
// 设置是否需要接受方已读确认,默认为 true
33+
// 设置是否需要接收方已读确认,默认为 true
3434
options.RequireAck = true;
3535
```
3636

docs/document/unity/message_receipt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ SDKClient.Instance.ChatManager.RemoveChatManagerDelegate(myDelegate);
8888

8989
1. App 开启已读回执功能,即 SDK 初始化时将 `Options#RequireAck` 设置为 `true`
9090
```C#
91-
// 设置是否需要接受方已读确认,默认为true
91+
// 设置是否需要接收方已读确认,默认为true
9292
options.RequireAck = true;
9393
```
9494

@@ -207,7 +207,7 @@ SDKClient.Instance.ChatManager.RemoveChatManagerDelegate(myDelegate);
207207

208208
该功能开启后,接收方阅读消息后,SDK 底层会自动进行消息已读回执。
209209
```C#
210-
// 设置是否需要接受方已读确认,默认为 `true`。
210+
// 设置是否需要接收方已读确认,默认为 `true`。
211211
options.RequireAck = true;
212212
```
213213

0 commit comments

Comments
 (0)