@rongcloud/imlib-next 5.8.2-enterprise.1 → 5.8.2-enterprise.2

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 CHANGED
@@ -82,6 +82,10 @@ declare type IInitOption = {
82
82
  * @since 5.7.7
83
83
  */
84
84
  logServerUrl?: string;
85
+ /**
86
+ * 私有云环境配置
87
+ */
88
+ environment?: string;
85
89
  };
86
90
  /**
87
91
  * 用户收到的消息结构
@@ -541,6 +545,16 @@ interface IAReceivedConversation {
541
545
  * @since 5.7.9
542
546
  */
543
547
  unreadMentionedMeCount?: number;
548
+ /**
549
+ * 会话草稿
550
+ */
551
+ draft?: string;
552
+ /**
553
+ * 会话操作时间
554
+ * @description 仅 Electron 平台支持,超级群不支持
555
+ * @since 5.8.4
556
+ */
557
+ operationTime?: number;
544
558
  }
545
559
  /**
546
560
  * @category Interface
@@ -1068,8 +1082,12 @@ declare function getBlockedConversationList(): Promise<IAsyncRes<IBaseConversati
1068
1082
  /**
1069
1083
  * 设置会话是否置顶
1070
1084
  * @category 会话
1085
+ * @param options 回话信息
1086
+ * @param isTop 置顶状态
1087
+ * @param isUpdateTime 是否更新会话操作时间,默认为更新
1088
+ * @returns
1071
1089
  */
1072
- declare function setConversationToTop(options: IConversationOption, isTop?: boolean): Promise<IAsyncRes<void>>;
1090
+ declare function setConversationToTop(options: IConversationOption, isTop?: boolean, isUpdateTime?: boolean): Promise<IAsyncRes<void>>;
1073
1091
  /**
1074
1092
  * 获取置顶会话
1075
1093
  * @category 会话
@@ -2050,7 +2068,7 @@ declare function getAllConversationList(channelId?: string): Promise<IAsyncRes<I
2050
2068
  * @param count 数量
2051
2069
  * @param channelId 频道 ID,不传则获取全部频道 ID 类型
2052
2070
  */
2053
- declare function getConversationList(startTime: number, count: number, channelId?: string): Promise<IAsyncRes<IAReceivedConversation[]>>;
2071
+ declare function getConversationList(startTime: number, count: number, channelId?: string, topPriority?: boolean): Promise<IAsyncRes<IAReceivedConversation[]>>;
2054
2072
  /**
2055
2073
  * 根据消息内容搜索会话列表
2056
2074
  * @param keyword 搜索关键字