easemob-websdk 4.15.0 → 4.16.0
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/Easemob-chat.d.ts +54 -0
- package/Easemob-chat.js +1 -1
- package/chatroom/chatroom.js +1 -1
- package/circleSdk/Easemob-chat.d.ts +8066 -0
- package/circleSdk/Easemob-chat.js +1 -0
- package/contact/contact.d.ts +14 -0
- 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/readme.md +6 -5
- 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 +0 -350
- package/websdk/Easemob-chat.js +0 -1
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.
|
|
@@ -5374,6 +5410,24 @@ export declare namespace EasemobChat {
|
|
|
5374
5410
|
}
|
|
5375
5411
|
): Promise<AsyncResult<CursorPinnedMessagesResult>>;
|
|
5376
5412
|
|
|
5413
|
+
getUserIdByRTCUIds(
|
|
5414
|
+
this: Connection,
|
|
5415
|
+
RTCUIds: number[]
|
|
5416
|
+
): Promise<AsyncResult<Record<number, string>>>;
|
|
5417
|
+
|
|
5418
|
+
getRTCToken(
|
|
5419
|
+
this: Connection,
|
|
5420
|
+
channelName: string
|
|
5421
|
+
): Promise<
|
|
5422
|
+
AsyncResult<{
|
|
5423
|
+
appId: string;
|
|
5424
|
+
RTCToken: string;
|
|
5425
|
+
channelName: string;
|
|
5426
|
+
RTCUId: number;
|
|
5427
|
+
expire: number;
|
|
5428
|
+
}>
|
|
5429
|
+
>;
|
|
5430
|
+
|
|
5377
5431
|
/**
|
|
5378
5432
|
* Set the DND Settings for the current login user.
|
|
5379
5433
|
*
|