@rongcloud/imlib-next 5.12.1 → 5.12.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
@@ -303,6 +303,10 @@ interface IAReceivedMessage {
303
303
  * 定向用户列表(仅支持群聊, 超级群)
304
304
  */
305
305
  directedUserIds?: string[];
306
+ /**
307
+ * 禁止更新到会话最新一条消息,默认 false: 更新,true: 不更新
308
+ */
309
+ disableUpdateLastMessage?: boolean;
306
310
  }
307
311
  /**
308
312
  * 获取历史消息配置项
@@ -1007,6 +1011,10 @@ interface ISendMessageOptions {
1007
1011
  * 消息审核配置
1008
1012
  */
1009
1013
  auditInfo?: IAuditInfo;
1014
+ /**
1015
+ * 禁止更新到会话最新一条消息,默认 false: 更新,true: 不更新
1016
+ */
1017
+ disableUpdateLastMessage?: boolean;
1010
1018
  }
1011
1019
  /**
1012
1020
  * 文件消息配置
@@ -1041,6 +1049,10 @@ interface IInsertOptions {
1041
1049
  * 消息搜索关键字
1042
1050
  */
1043
1051
  searchContent?: string;
1052
+ /**
1053
+ * 禁止更新到会话最新一条消息,默认 false: 更新,true: 不更新
1054
+ */
1055
+ disableUpdateLastMessage?: boolean;
1044
1056
  }
1045
1057
  /**
1046
1058
  * 用户信息结构
@@ -1158,6 +1170,11 @@ interface IRecallMessageOptions {
1158
1170
  * 用于标识定向消息撤回,只当 conversationType 值为 群、超级群 时有效
1159
1171
  */
1160
1172
  directionalUserIdList?: string[];
1173
+ /**
1174
+ * 禁止更新到会话最新一条消息,默认 false: 更新,true: 不更新。
1175
+ * 注意:需要传原消息的 disableUpdateLastMessage 值
1176
+ */
1177
+ disableUpdateLastMessage?: boolean;
1161
1178
  }
1162
1179
  /**
1163
1180
  * 上传过程中的回调钩子