@rongcloud/imlib-next 5.8.2-enterprise-alpha.6 → 5.8.2-enterprise-alpha.7
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.d.ts +10 -2
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -545,6 +545,10 @@ interface IAReceivedConversation {
|
|
|
545
545
|
* @since 5.7.9
|
|
546
546
|
*/
|
|
547
547
|
unreadMentionedMeCount?: number;
|
|
548
|
+
/**
|
|
549
|
+
* 会话草稿
|
|
550
|
+
*/
|
|
551
|
+
draft?: string;
|
|
548
552
|
}
|
|
549
553
|
/**
|
|
550
554
|
* @category Interface
|
|
@@ -1072,8 +1076,12 @@ declare function getBlockedConversationList(): Promise<IAsyncRes<IBaseConversati
|
|
|
1072
1076
|
/**
|
|
1073
1077
|
* 设置会话是否置顶
|
|
1074
1078
|
* @category 会话
|
|
1079
|
+
* @param options 回话信息
|
|
1080
|
+
* @param isTop 置顶状态
|
|
1081
|
+
* @param isUpdateTime 是否更新会话操作时间,默认为更新
|
|
1082
|
+
* @returns
|
|
1075
1083
|
*/
|
|
1076
|
-
declare function setConversationToTop(options: IConversationOption, isTop?: boolean): Promise<IAsyncRes<void>>;
|
|
1084
|
+
declare function setConversationToTop(options: IConversationOption, isTop?: boolean, isUpdateTime?: boolean): Promise<IAsyncRes<void>>;
|
|
1077
1085
|
/**
|
|
1078
1086
|
* 获取置顶会话
|
|
1079
1087
|
* @category 会话
|
|
@@ -2054,7 +2062,7 @@ declare function getAllConversationList(channelId?: string): Promise<IAsyncRes<I
|
|
|
2054
2062
|
* @param count 数量
|
|
2055
2063
|
* @param channelId 频道 ID,不传则获取全部频道 ID 类型
|
|
2056
2064
|
*/
|
|
2057
|
-
declare function getConversationList(startTime: number, count: number, channelId?: string): Promise<IAsyncRes<IAReceivedConversation[]>>;
|
|
2065
|
+
declare function getConversationList(startTime: number, count: number, channelId?: string, topPriority?: boolean): Promise<IAsyncRes<IAReceivedConversation[]>>;
|
|
2058
2066
|
/**
|
|
2059
2067
|
* 根据消息内容搜索会话列表
|
|
2060
2068
|
* @param keyword 搜索关键字
|