easemob-websdk 4.15.0 → 4.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/Easemob-chat.d.ts +36 -0
- package/Easemob-chat.js +1 -1
- package/chatroom/chatroom.js +1 -1
- package/contact/contact.js +1 -1
- package/group/group.d.ts +30 -0
- package/group/group.js +1 -1
- package/localCache/localCache.js +1 -1
- package/miniCore/miniCore.js +1 -1
- package/miniProgram/Easemob-chat.js +1 -1
- package/package.json +1 -1
- package/presence/presence.js +1 -1
- package/silent/silent.js +1 -1
- package/thread/thread.js +1 -1
- package/translation/translation.js +1 -1
- package/uniApp/Easemob-chat.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changes to easemob chat
|
|
2
2
|
|
|
3
|
+
## 4.15.1 (June 6, 2025)
|
|
4
|
+
|
|
5
|
+
### 新增特性
|
|
6
|
+
|
|
7
|
+
1. 获取加入的群组数量
|
|
8
|
+
|
|
9
|
+
自 WEB SDK 4.15.1 开始,增加 `getJoinedGroupCount`方法,用来获取加入的群组数量。
|
|
10
|
+
|
|
11
|
+
2. 屏蔽群消息
|
|
12
|
+
|
|
13
|
+
自 WEB SDK 4.15.1 开始,增加 `blockGroupMessage`方法,用来屏蔽群组消息,增加`unblockGroupMessage`方法解除屏蔽。
|
|
14
|
+
|
|
15
|
+
### 修复
|
|
16
|
+
|
|
17
|
+
1. 修复撤回消息时报错。
|
|
18
|
+
|
|
3
19
|
## 4.15.0 (May 20, 2025)
|
|
4
20
|
|
|
5
21
|
### 新增特性
|
package/Easemob-chat.d.ts
CHANGED
|
@@ -4206,6 +4206,42 @@ export declare namespace EasemobChat {
|
|
|
4206
4206
|
}
|
|
4207
4207
|
): Promise<AsyncResult<GetGroupMembersAttributesResult>>;
|
|
4208
4208
|
|
|
4209
|
+
/**
|
|
4210
|
+
* Gets the count of groups that the user has joined.
|
|
4211
|
+
* ```typescript
|
|
4212
|
+
* connection.getJoinedGroupsCount()
|
|
4213
|
+
* ```
|
|
4214
|
+
*/
|
|
4215
|
+
getJoinedGroupsCount(this: Connection): Promise<AsyncResult<number>>;
|
|
4216
|
+
|
|
4217
|
+
/**
|
|
4218
|
+
* Blocks group messages.
|
|
4219
|
+
* ```typescript
|
|
4220
|
+
* connection.blockGroupMessage({groupId: 'groupId'})
|
|
4221
|
+
* ```
|
|
4222
|
+
*/
|
|
4223
|
+
blockGroupMessage(
|
|
4224
|
+
this: Connection,
|
|
4225
|
+
params: {
|
|
4226
|
+
/** The group ID. */
|
|
4227
|
+
groupId: string;
|
|
4228
|
+
}
|
|
4229
|
+
): Promise<AsyncResult<GroupRequestResult>>;
|
|
4230
|
+
|
|
4231
|
+
/**
|
|
4232
|
+
* Unblocks group messages.
|
|
4233
|
+
* ```typescript
|
|
4234
|
+
* connection.unblockGroupMessage({groupId: 'groupId'})
|
|
4235
|
+
* ```
|
|
4236
|
+
*/
|
|
4237
|
+
unblockGroupMessage(
|
|
4238
|
+
this: Connection,
|
|
4239
|
+
params: {
|
|
4240
|
+
/** The group ID. */
|
|
4241
|
+
groupId: string;
|
|
4242
|
+
}
|
|
4243
|
+
): Promise<AsyncResult<GroupRequestResult>>;
|
|
4244
|
+
|
|
4209
4245
|
// Contact API
|
|
4210
4246
|
/**
|
|
4211
4247
|
* @deprecated Use {@link getBlocklist} instead.
|