Skip to content

Commit

Permalink
Merge pull request #617 from haoxiuwen/doc-v2
Browse files Browse the repository at this point in the history
Modify IM/UIKit Docs
  • Loading branch information
haoxiuwen authored Jan 22, 2024
2 parents 3ee65cd + 8777bcc commit fdba371
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/document/ios/group_manage.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

2. 受邀用户需要确认才能进群。

只有 `AgoraChatGroupOptions#IsInviteNeedConfirm` 设置为 `true``isAutoAcceptGroupInvitation` 设置为 `false` 时,受邀用户需要确认才能进群。这种情况下,受邀用户收到 `EMGroupManagerDelegate#onInvitationReceived` 回调,并选择同意或拒绝进群邀请:
只有 `EMGroupOptions#IsInviteNeedConfirm` 设置为 `true``isAutoAcceptGroupInvitation` 设置为 `false` 时,受邀用户需要确认才能进群。这种情况下,受邀用户收到 `EMGroupManagerDelegate#onInvitationReceived` 回调,并选择同意或拒绝进群邀请:

- 用户同意入群邀请后,邀请人收到 `EMGroupManagerDelegate#groupInvitationDidAccept` 回调和 `EMGroupManagerDelegate#userDidJoinGroup` 回调;其他群成员收到 `EMGroupManagerDelegate#userDidJoinGroup` 回调;
- 用户拒绝入群邀请后,邀请人收到 `EMGroupManagerDelegate#groupInvitationDidDecline` 回调。
Expand Down
4 changes: 2 additions & 2 deletions docs/uikit/chatroomuikit/web/roomuikit_best_practice.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ const ChatroomApp = () => {

useEffect(() => {
client.addEventHandler("chatroom", {
onChatroomEvent: (event: AgoraChat.EventData) => {
onChatroomEvent: (event: EasemobChat.EventData) => {
if (event.operation === "muteMember") {
// console.log('你已被禁言')
}
// 全部事件请参考 https://docs-im-beta.easemob.com/document/web/room_manage.html#%E7%9B%91%E5%90%AC%E8%81%8A%E5%A4%A9%E5%AE%A4%E4%BA%8B%E4%BB%B6
// 全部事件请参考 https://docs-im-beta.easemob.com/document/web/room_manage.html#监听聊天室事件
},
});
}, []);
Expand Down

0 comments on commit fdba371

Please sign in to comment.