easemob-websdk 4.12.0 → 4.12.1-beta
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 +7 -7
- package/Easemob-chat.js +1 -1
- package/chatroom/chatroom.d.ts +1 -1
- package/chatroom/chatroom.js +1 -1
- package/contact/contact.js +1 -1
- 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/Easemob-chat.d.ts
CHANGED
|
@@ -1668,7 +1668,7 @@ export declare namespace EasemobChat {
|
|
|
1668
1668
|
/** (Optional) The members in the chat room. An array of user IDs. If you set this parameter, ensure that the array contains at least one user. */
|
|
1669
1669
|
members?: UserId[];
|
|
1670
1670
|
/** The super admin token. */
|
|
1671
|
-
token
|
|
1671
|
+
token?: string;
|
|
1672
1672
|
success?: (res: AsyncResult<CreateDeleteChatRoomResult>) => any;
|
|
1673
1673
|
error?: (error: ErrorEvent) => any;
|
|
1674
1674
|
}
|
|
@@ -2431,8 +2431,8 @@ export declare namespace EasemobChat {
|
|
|
2431
2431
|
params: {
|
|
2432
2432
|
/** The chat room ID. */
|
|
2433
2433
|
chatRoomId: string;
|
|
2434
|
-
success
|
|
2435
|
-
error
|
|
2434
|
+
success?: (res: AsyncResult<UserId[]>) => void;
|
|
2435
|
+
error?: (error: ErrorEvent) => void;
|
|
2436
2436
|
}
|
|
2437
2437
|
): Promise<AsyncResult<UserId[]>>;
|
|
2438
2438
|
|
|
@@ -2448,8 +2448,8 @@ export declare namespace EasemobChat {
|
|
|
2448
2448
|
params: {
|
|
2449
2449
|
/** The chat room ID. */
|
|
2450
2450
|
chatRoomId: string;
|
|
2451
|
-
success
|
|
2452
|
-
error
|
|
2451
|
+
success?: (res: AsyncResult<UserId[]>) => void;
|
|
2452
|
+
error?: (error: ErrorEvent) => void;
|
|
2453
2453
|
}
|
|
2454
2454
|
): Promise<AsyncResult<UserId[]>>;
|
|
2455
2455
|
|
|
@@ -2540,10 +2540,10 @@ export declare namespace EasemobChat {
|
|
|
2540
2540
|
roomId: string;
|
|
2541
2541
|
/** The announcement content. */
|
|
2542
2542
|
announcement: string;
|
|
2543
|
-
success
|
|
2543
|
+
success?: (
|
|
2544
2544
|
res: AsyncResult<UpdateChatRoomAnnouncementResult>
|
|
2545
2545
|
) => void;
|
|
2546
|
-
error
|
|
2546
|
+
error?: (error: ErrorEvent) => void;
|
|
2547
2547
|
}
|
|
2548
2548
|
): Promise<AsyncResult<UpdateChatRoomAnnouncementResult>>;
|
|
2549
2549
|
|