@rongcloud/imlib-next 5.26.2 → 5.28.0-c-tmp.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/index.cjs +1 -1
- package/index.cjs.js +1 -1
- package/index.d.ts +8 -2
- package/index.esm.js +1 -1
- package/index.mjs +1 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -424,7 +424,7 @@ declare enum Events {
|
|
|
424
424
|
/**
|
|
425
425
|
* 单群聊会话列表同步完成
|
|
426
426
|
* * 非 Electron 平台下,仅在“会话列表支持超级群”功能开启后有效。开关关闭的情况下,本地不会缓存单群聊会话列表。
|
|
427
|
-
* * 5.
|
|
427
|
+
* * 5.26.2 版本开始,Electron 平台开启了“同步服务器会话信息到本地”功能后,该事件将在同步服务器会话列表完成时触发。
|
|
428
428
|
* @since 5.20.0
|
|
429
429
|
*/
|
|
430
430
|
CONVERSATIONS_SYNCED = "CONVERSATIONS_SYNCED",
|
|
@@ -5487,10 +5487,16 @@ declare function getConversations(conversations: IConversationOption[]): Promise
|
|
|
5487
5487
|
* @returns 返回一个 {@link RCResult} 类型 Promise,data 为 {@link IAReceivedConversation} 类型数组
|
|
5488
5488
|
*/
|
|
5489
5489
|
declare function getUntaggedConversationListByPage(timestamp: number, count: number, topPriority: boolean): Promise<RCResult<IAReceivedConversation[]>>;
|
|
5490
|
+
/** [EN]
|
|
5491
|
+
* Sync server conversation list to local database. The event `Events.CONVERSATIONS_SYNCED` will be triggered after the synchronization is completed.
|
|
5492
|
+
* @category Electron Only
|
|
5493
|
+
* @since 5.26.2
|
|
5494
|
+
*/
|
|
5490
5495
|
/**
|
|
5491
5496
|
* 同步服务器会话列表至本地数据库,同步完成后,SDK 将通知 `Events.CONVERSATIONS_SYNCED` 事件。
|
|
5492
5497
|
* 该接口需要开通“同步服务端会话信息到本地”,且未开启“SDK 自动拉取服务端会话”功能时才能使用,否则将返回错误码。
|
|
5493
|
-
* @
|
|
5498
|
+
* @category Electron 独有
|
|
5499
|
+
* @since 5.26.2
|
|
5494
5500
|
*/
|
|
5495
5501
|
declare function getRemoteConversations(): Promise<RCResult>;
|
|
5496
5502
|
|