Skip to content

Commit

Permalink
Merge pull request #505 from haoxiuwen/doc-v2
Browse files Browse the repository at this point in the history
Modify Release Notes
  • Loading branch information
haoxiuwen authored Nov 17, 2023
2 parents 7a86356 + c173c12 commit b59dd08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/document/android/message_send_receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ EMClient.getInstance().chatManager().sendMessage(message);

在新消息到来时,你会收到 `onMessageReceived` 的回调,消息接收时可能是一条,也可能是多条。你可以在该回调里遍历消息队列,解析并显示收到的消息。

对于聊天室消息,你可以通过消息的 `EMMessage#isBroadcast` 属性判断通过该消息是否为[通过 REST API 发送的聊天室全局广播消息](/server-side/message_chatroom.html#发送聊天室全局广播消息)
对于聊天室消息,你可以通过消息的 `EMMessage#isBroadcast` 属性判断通过该消息是否为[通过 REST API 发送的聊天室全局广播消息](/document/server-side/message_chatroom.html#发送聊天室全局广播消息)

```java
EMMessageListener msgListener = new EMMessageListener() {
Expand Down
2 changes: 1 addition & 1 deletion docs/document/ios/message_send_receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ message.priority = EMChatRoomMessagePriorityHigh;

在新消息到来时,你会收到 `messagesDidReceive` 的回调,消息接收时可能是一条,也可能是多条。你可以在该回调里遍历消息队列,解析并显示收到的消息。

对于聊天室消息,你可以通过消息的 `EMChatMessage#broadcast` 属性判断通过该消息是否为[通过 REST API 发送的聊天室全局广播消息](/server-side/message_chatroom.html#发送聊天室全局广播消息)
对于聊天室消息,你可以通过消息的 `EMChatMessage#broadcast` 属性判断通过该消息是否为[通过 REST API 发送的聊天室全局广播消息](/document/server-side/message_chatroom.html#发送聊天室全局广播消息)

```objectivec
// 添加代理。
Expand Down
2 changes: 1 addition & 1 deletion docs/document/web/message_send_receive.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function sendTextMessage() {

当消息到达时,接收方会收到 `onXXXMessage` 回调。每个回调包含一条或多条消息。你可以遍历消息列表,并可以解析和展示回调中的消息。

对于聊天室消息,你可以通过消息的 `broadcast` 属性判断通过该消息是否为[通过 REST API 发送的聊天室全局广播消息](/server-side/message_chatroom.html#发送聊天室全局广播消息)
对于聊天室消息,你可以通过消息的 `broadcast` 属性判断通过该消息是否为[通过 REST API 发送的聊天室全局广播消息](/document/server-side/message_chatroom.html#发送聊天室全局广播消息)

```javascript
// 使用 `addEventHandler` 监听回调事件
Expand Down

0 comments on commit b59dd08

Please sign in to comment.