Skip to content

Commit

Permalink
Merge pull request #7 from Spencer17x/main
Browse files Browse the repository at this point in the history
feat: release 1.0.3
  • Loading branch information
spencer17x authored Sep 14, 2021
2 parents 06b6d14 + 973a492 commit 6039f3e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,20 @@ im.groupManage.asyncUpdateAvatar({
im.groupManage.asyncUpdateDescription({
group_id,
value
})
.then(() => {
//
});
}).then(() => {
//
});
```

#### 更新群扩展

```ts
this.im.groupManage.asyncUpdateExt({
group_id,
value
}).then(() => {
//
});
```

#### 更新群名称
Expand Down Expand Up @@ -1026,4 +1036,7 @@ im.chatroomManage.destroy(group_id).then(() => {
| fromServer | boolean | true表示从服务器取数据, false表示从本地缓存取数据 |
| apply_approval | 0 \| 1 \| 2 | 入群申请审批设置。0:同意所有申请 1:需要管理员确认 2:拒绝所有申请 |
| 禁言群成员 duration | number | 禁言时长,单位为分钟。-1 为永久禁言 |
| file_type | number | 文件类型 100: 普通聊天文件, 101: 语音聊天文件(amr格式),102: 图片聊天文件, 103: 视频聊天文件, 104: 语音聊天文件(mp3格式), 200: 普通共享文件, 201: 语音共享文件, 202: 图片共享文件, 203: 视频共享文件 |
| to_type | number | 1: 用户,2: 群组 |
| to_id | number | 用户ID或群ID |

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qnweb-im-demo",
"version": "1.0.2",
"version": "1.0.3",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/qnweb-im.umd.js

Large diffs are not rendered by default.

0 comments on commit 6039f3e

Please sign in to comment.