Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/document/android/message_send_receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -664,3 +664,7 @@ EMClient.getInstance().chatManager().sendMessage(message);
message.getStringAttribute("attribute1",null);
message.getBooleanAttribute("attribute2", false)
```

## 注意事项

[内容审核服务会关注消息 body 中指定字段的内容,不同类型的消息审核不同的字段](/product/moderation/moderation_mechanism.html),若创建消息时在这些字段中传入了很多业务信息,可能会影响审核效果。因此,创建消息时需要注意内容审核的字段不涉及业务信息,建议业务信息放在扩展字段中。
4 changes: 4 additions & 0 deletions docs/document/applet/message_send_receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -825,3 +825,7 @@ function sendTextMessage() {
});
}
```

## 注意事项

[内容审核服务会关注消息 body 中指定字段的内容,不同类型的消息审核不同的字段](/product/moderation/moderation_mechanism.html),若创建消息时在这些字段中传入了很多业务信息,可能会影响审核效果。因此,创建消息时需要注意内容审核的字段不涉及业务信息,建议业务信息放在扩展字段中。
6 changes: 5 additions & 1 deletion docs/document/flutter/message_send_receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -652,4 +652,8 @@ try {
msg.attributes = {'k': 'v'};
EMClient.getInstance.chatManager.sendMessage(msg);
} on EMError catch (e) {}
```
```

## 注意事项

[内容审核服务会关注消息 body 中指定字段的内容,不同类型的消息审核不同的字段](/product/moderation/moderation_mechanism.html),若创建消息时在这些字段中传入了很多业务信息,可能会影响审核效果。因此,创建消息时需要注意内容审核的字段不涉及业务信息,建议业务信息放在扩展字段中。
4 changes: 4 additions & 0 deletions docs/document/harmonyos/message_send_receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -549,3 +549,7 @@ let exts = message.ext();
let attr1 = exts.get("attribute1") as string;
let attr2 = exts.get("attribute2") as boolean;
```

## 注意事项

[内容审核服务会关注消息 body 中指定字段的内容,不同类型的消息审核不同的字段](/product/moderation/moderation_mechanism.html),若创建消息时在这些字段中传入了很多业务信息,可能会影响审核效果。因此,创建消息时需要注意内容审核的字段不涉及业务信息,建议业务信息放在扩展字段中。
4 changes: 4 additions & 0 deletions docs/document/ios/message_send_receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -589,3 +589,7 @@ message.chatType = EMChatTypeChat;
NSString *value = [message.ext objectForKey:@"attribute"]; }
}
```

## 注意事项

[内容审核服务会关注消息 body 中指定字段的内容,不同类型的消息审核不同的字段](/product/moderation/moderation_mechanism.html),若创建消息时在这些字段中传入了很多业务信息,可能会影响审核效果。因此,创建消息时需要注意内容审核的字段不涉及业务信息,建议业务信息放在扩展字段中。
4 changes: 4 additions & 0 deletions docs/document/react-native/message_send_receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -535,3 +535,7 @@ msg.attributes = {
};
EMClient.getInstance().chatManager().sendMessage(msg, callback).then().catch();
```

## 注意事项

[内容审核服务会关注消息 body 中指定字段的内容,不同类型的消息审核不同的字段](/product/moderation/moderation_mechanism.html),若创建消息时在这些字段中传入了很多业务信息,可能会影响审核效果。因此,创建消息时需要注意内容审核的字段不涉及业务信息,建议业务信息放在扩展字段中。
1 change: 1 addition & 0 deletions docs/document/server-side/message_chatroom.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
1. 接口调用过程中,请求体和扩展字段的总长度不能超过 5 KB。
2. 聊天室中发消息时,不会同步给发送方。
3. 通过 RESTful 接口发送的消息默认不写入会话列表,若需要此类消息写入会话列表,需在[环信即时通讯控制台开通](/product/enable_and_configure_IM.html#设置通过-restful-api-发送的消息写入会话列表)。
4. [内容审核服务会关注消息 body 中指定字段的内容,不同类型的消息审核不同的字段](/product/moderation/moderation_mechanism.html),若创建消息时在这些字段中传入了很多业务信息,可能会影响审核效果。因此,创建消息时需要注意内容审核的字段不涉及业务信息,建议业务信息放在扩展字段中。
:::

**发送频率**:对于单个 app,该 REST API 存在以下三个限制:
Expand Down
1 change: 1 addition & 0 deletions docs/document/server-side/message_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
1. 接口调用过程中,请求体和扩展字段的总长度不能超过 5 KB。
2. 群组中发送的消息均同步给发送方。
3. 通过 RESTful 接口发送的消息默认不写入会话列表,若需要此类消息写入会话列表,需在[环信即时通讯控制台开通](/product/enable_and_configure_IM.html#设置通过-restful-api-发送的消息写入会话列表)。
4. [内容审核服务会关注消息 body 中指定字段的内容,不同类型的消息审核不同的字段](/product/moderation/moderation_mechanism.html),若创建消息时在这些字段中传入了很多业务信息,可能会影响审核效果。因此,创建消息时需要注意内容审核的字段不涉及业务信息,建议业务信息放在扩展字段中。
:::

**发送频率**:对于单个 app,该 REST API 存在以下三个限制:
Expand Down
1 change: 1 addition & 0 deletions docs/document/server-side/message_single.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
:::tip
1. 接口调用过程中,请求体和扩展字段的总长度不能超过 5 KB。
2. 通过 RESTful 接口发送的消息默认不写入会话列表,若需要此类消息写入会话列表,需在[环信即时通讯控制台开通](/product/enable_and_configure_IM.html#设置通过-restful-api-发送的消息写入会话列表)。
3. [内容审核服务会关注消息 body 中指定字段的内容,不同类型的消息审核不同的字段](/product/moderation/moderation_mechanism.html),若创建消息时在这些字段中传入了很多业务信息,可能会影响审核效果。因此,创建消息时需要注意内容审核的字段不涉及业务信息,建议业务信息放在扩展字段中。
:::

**发送频率**:对于单个 app,该 REST API 存在以下三个限制:
Expand Down
4 changes: 4 additions & 0 deletions docs/document/unity/message_send_receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -643,3 +643,7 @@ if (found) {
}
```

## 注意事项

[内容审核服务会关注消息 body 中指定字段的内容,不同类型的消息审核不同的字段](/product/moderation/moderation_mechanism.html),若创建消息时在这些字段中传入了很多业务信息,可能会影响审核效果。因此,创建消息时需要注意内容审核的字段不涉及业务信息,建议业务信息放在扩展字段中。

4 changes: 4 additions & 0 deletions docs/document/web/message_send_receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -843,3 +843,7 @@ function sendTextMessage() {
});
}
```

## 注意事项

[内容审核服务会关注消息 body 中指定字段的内容,不同类型的消息审核不同的字段](/product/moderation/moderation_mechanism.html),若创建消息时在这些字段中传入了很多业务信息,可能会影响审核效果。因此,创建消息时需要注意内容审核的字段不涉及业务信息,建议业务信息放在扩展字段中。
4 changes: 4 additions & 0 deletions docs/document/windows/message_send_receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -646,3 +646,7 @@ if (found) {
}
```

## 注意事项

[内容审核服务会关注消息 body 中指定字段的内容,不同类型的消息审核不同的字段](/product/moderation/moderation_mechanism.html),若创建消息时在这些字段中传入了很多业务信息,可能会影响审核效果。因此,创建消息时需要注意内容审核的字段不涉及业务信息,建议业务信息放在扩展字段中。