@rongcloud/engine 5.24.1-c-dq.1 → 5.24.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
@@ -167,9 +167,9 @@ declare const LogTagId: {
167
167
  /** 实时日志上报 */
168
168
  readonly L_REALTIME_LOG_R: "L_REALTIME_LOG_R";
169
169
  readonly L_REALTIME_LOG_O: "L_REALTIME_LOG_O";
170
- readonly L_SEND_RMTP_E: "L-send-rmtp-E";
171
- readonly L_RECV_RMTP_O: "L-recv-rmtp-O";
172
- readonly L_RECV_RMTP_E: "L-recv-rmtp-E";
170
+ readonly L_SEND_RMTP_E: "L-send-rmpt-E";
171
+ readonly L_RECV_RMTP_O: "L-recv-rmpt-O";
172
+ readonly L_RECV_RMTP_E: "L-recv-rmpt-E";
173
173
  readonly L_RECV_S_NTF_O: "L-recv_s_ntf_O";
174
174
  readonly L_RECV_S_CMD_O: "L-recv_s_cmd_O";
175
175
  /** 版本号上报 */
@@ -297,12 +297,6 @@ declare const LogTagId: {
297
297
  readonly A_SET_AUTO_TRANSLATE_ENABLED_R: "A-set_auto_translate_enabled-R";
298
298
  readonly A_GET_AUTO_TRANSLATE_ENABLED_T: "A-get_auto_translate_enabled-T";
299
299
  readonly A_GET_AUTO_TRANSLATE_ENABLED_R: "A-get_auto_translate_enabled-R";
300
- readonly A_MODIFY_MESSAGE_WITH_PARAMS_T: "A-modify_msg_with_params-T";
301
- readonly A_MODIFY_MESSAGE_WITH_PARAMS_R: "A-modify_msg_with_params-R";
302
- readonly A_REFRESH_REFERENCE_MESSAGE_WITH_PARAMS_T: "A-refresh_refer_msg_with_params-T";
303
- readonly A_REFRESH_REFERENCE_MESSAGE_WITH_PARAMS_R: "A-refresh_refer_msg_with_params-R";
304
- readonly L_PULL_MODIFY_MSG_T: "L-pull_modify_msg-T";
305
- readonly L_PULL_MODIFY_MSG_R: "L-pull_modify_msg-R";
306
300
  };
307
301
 
308
302
  /**
@@ -711,24 +705,6 @@ declare enum ErrorCode {
711
705
  * @since 5.8.2
712
706
  */
713
707
  SYS_CONVERSATION_NOT_SUPPORT_MESSAGE = 20109,
714
- /**
715
- * 20112
716
- * 消息内容存在敏感词
717
- * @since 5.26.0
718
- */
719
- DANGEROUS_CONTENT = 20112,
720
- /**
721
- * 20113
722
- * 消息内容未通过审核
723
- * @since 5.26.0
724
- */
725
- CONTENT_REVIEW_REJECTED = 20113,
726
- /**
727
- * 20115
728
- * 消息尺寸超出限制
729
- * @since 5.26.0
730
- */
731
- MESSAGE_SIZE_EXCEEDED = 20115,
732
708
  /**
733
709
  * 20512
734
710
  * appkey的数据中心与请求云控的数据中心不匹配
@@ -772,7 +748,7 @@ declare enum ErrorCode {
772
748
  SENSITIVE_REPLACE = 21502,
773
749
  /**
774
750
  * 22201
775
- * 原始消息不存在。
751
+ * 超级群扩展消息,但是原始消息不存在。
776
752
  */
777
753
  MESSAGE_EXPAND_NOT_EXIST = 22201,
778
754
  /**
@@ -1459,54 +1435,6 @@ declare enum ErrorCode {
1459
1435
  * 用量超过限制
1460
1436
  */
1461
1437
  SERVICE_STT_USAGE_EXCEED = 28307,
1462
- /**
1463
- * 28400
1464
- * Translation service not open
1465
- * @since 5.24.0
1466
- */
1467
- TRANS_SERVICE_NOT_OPEN = 28400,
1468
- /**
1469
- * 28401
1470
- * Translation failed
1471
- * @since 5.24.0
1472
- */
1473
- TRANS_FAILED = 28401,
1474
- /**
1475
- * 28402
1476
- * Translation Server error.
1477
- * @since 5.24.0
1478
- */
1479
- TRANS_INTERNAL_ERROR = 28402,
1480
- /**
1481
- * 28403
1482
- * Missing required parameters. Please review and retry.
1483
- * @since 5.24.0
1484
- */
1485
- TRANS_PARAM_MISSING = 28403,
1486
- /**
1487
- * 28404
1488
- * Invalid parameter format
1489
- * @since 5.24.0
1490
- */
1491
- TRANS_PARAM_ERROR = 28404,
1492
- /**
1493
- * 28405
1494
- * Over the usage quota.
1495
- * @since 5.24.0
1496
- */
1497
- TRANS_QUOTA_LIMIT = 28405,
1498
- /**
1499
- * 28406
1500
- * Text length exceeds limit
1501
- * @since 5.24.0
1502
- */
1503
- TRANS_TEXT_LENGTH_EXCEEDS_LIMIT = 28406,
1504
- /**
1505
- * 28407
1506
- * Language not support
1507
- * @since 5.24.0
1508
- */
1509
- TRANS_LANGUAGE_NOT_SUPPORT = 28407,
1510
1438
  /**
1511
1439
  * 30001
1512
1440
  * 当前连接已经被释放
@@ -1881,18 +1809,6 @@ declare enum ErrorCode {
1881
1809
  * @since 5.2.0
1882
1810
  */
1883
1811
  NO_TAG_IN_CONVER = 33102,
1884
- /**
1885
- * 33401
1886
- * 被编辑消息是接收的或者没有发送成功的
1887
- * @since 5.26.0
1888
- */
1889
- MODIFIED_MESSAGE_IS_NOT_SENT = 33401,
1890
- /**
1891
- * 33402
1892
- * 被编辑的消息超过修改时限
1893
- * @since 5.26.0
1894
- */
1895
- MODIFIED_MESSAGE_TIMEOUT = 33402,
1896
1812
  /**
1897
1813
  * 34001
1898
1814
  * 连接已存在
@@ -2499,18 +2415,6 @@ declare enum ErrorCode {
2499
2415
  * @since 5.12.3
2500
2416
  */
2501
2417
  RC_REAL_TIME_CONVERSATION_UNAVAILABLE = 34336,
2502
- /**
2503
- * 34344
2504
- * 服务器数据解析失败
2505
- * @since 5.26.0
2506
- */
2507
- SERVER_DATA_ERROR = 34344,
2508
- /**
2509
- * 34345
2510
- * 参数 messageInfoMap 非法
2511
- * @since 5.26.0
2512
- */
2513
- INVALID_PARAMETER_MESSAGE_INFO_MAP = 34345,
2514
2418
  /**
2515
2419
  * 35001
2516
2420
  * 群组信息异常
@@ -4778,6 +4682,10 @@ interface IReceivedMessage {
4778
4682
  * 超级群专有字段,是否断档,服务端收到大量消息可能会断档,所以消息存在此标志位,断档需要客户手动拉取历史消息
4779
4683
  */
4780
4684
  isInterrupt?: boolean;
4685
+ /**
4686
+ * 拉取历史消息时表示该消息是否修改过(仅超级群有效)
4687
+ */
4688
+ isModifyMessage?: boolean;
4781
4689
  /**
4782
4690
  * 拉取历史消息时表示该消息是否为超级群频道类型(仅超级群有效)
4783
4691
  */
@@ -4804,18 +4712,6 @@ interface IReceivedMessage {
4804
4712
  * @since 5.20.0
4805
4713
  */
4806
4714
  sendReceipt?: boolean;
4807
- /**
4808
- * 用于判断消息是否被修改过,仅获取历史消息接口时有效;接收在线或离线消息时无效。
4809
- * * 5.26.0 版本之前,仅支持超级群历史消息
4810
- * * 从 5.26.0 版本开始,增加支持单聊、群聊历史消息
4811
- */
4812
- isModifyMessage?: boolean;
4813
- /**
4814
- * 消息修改信息,建议结合 `isModifyMessage` 属性使用。
4815
- * @since 5.26.0
4816
- * * 仅支持单聊、群聊历史消息,接收在线、离线消息时无效
4817
- */
4818
- modifyInfo?: MessageModifyInfo;
4819
4715
  }
4820
4716
  /**
4821
4717
  * 第一条未读消息信息
@@ -5269,6 +5165,31 @@ interface IUltraExMsgOptions {
5269
5165
  */
5270
5166
  removeAll?: boolean;
5271
5167
  }
5168
+ interface IUltraModifyMsgOptions {
5169
+ canIncludeExpansion?: boolean;
5170
+ channelId: string;
5171
+ conversationType: ConversationType;
5172
+ targetId: string;
5173
+ messageUId: string;
5174
+ sendTime: number;
5175
+ /**
5176
+ * 消息内容
5177
+ */
5178
+ content: {
5179
+ /**
5180
+ * 消息内容 key-value,最终会进行 JSON 序列化后发送
5181
+ */
5182
+ [key: string]: any;
5183
+ /**
5184
+ * 消息可携带的用户数据
5185
+ */
5186
+ user?: IUserProfile;
5187
+ /**
5188
+ * 其他拓展信息
5189
+ */
5190
+ extra?: string;
5191
+ };
5192
+ }
5272
5193
  interface IUltraMsgQueryInfo {
5273
5194
  sendTime: number;
5274
5195
  messageUId: string;
@@ -5400,98 +5321,6 @@ declare type IGetHistoryMessageResult = {
5400
5321
  list: IReceivedMessage[];
5401
5322
  hasMore: boolean;
5402
5323
  };
5403
- /**
5404
- * 修改消息内容信息
5405
- * @since 5.26.0
5406
- */
5407
- interface MessageModifyInfo {
5408
- /**
5409
- * 消息修改时间,单位毫秒。
5410
- */
5411
- timestamp: number;
5412
- /**
5413
- * 待更新的消息内容,为 Electron 平台独有的临时性缓存数据。
5414
- * * 仅支持 Electron 平台,Web 平台值始终为空对象
5415
- * * 仅当消息修改状态 `MessageModifyStatus.UPDATING` 或 `MessageModifyStatus.FAILED` 时值有效。
5416
- */
5417
- content: Record<string, any>;
5418
- /**
5419
- * 消息修改的更新状态,Web 平台始终为 `MessageModifyStatus.SUCCESS`。
5420
- */
5421
- status: MessageModifyStatus;
5422
- }
5423
- /**
5424
- * 修改消息内容的更新状态
5425
- * @since 5.26.0
5426
- */
5427
- declare const MessageModifyStatus: {
5428
- /**
5429
- * 成功。
5430
- */
5431
- SUCCESS: number;
5432
- /**
5433
- * 更新中。
5434
- */
5435
- UPDATING: number;
5436
- /**
5437
- * 更新失败。
5438
- */
5439
- FAILED: number;
5440
- };
5441
- declare type MessageModifyStatus = typeof MessageModifyStatus[keyof typeof MessageModifyStatus];
5442
- /**
5443
- * 修改消息内容参数
5444
- * @since 5.26.0
5445
- */
5446
- interface IModifyMessageParams {
5447
- /**
5448
- * 消息 UId
5449
- */
5450
- messageUId: string;
5451
- /**
5452
- * 消息内容,修改后的消息内容应与原消息类型结构一致
5453
- */
5454
- messageContent: Record<string, any>;
5455
- /**
5456
- * 会话信息
5457
- */
5458
- conversation: IConversationOption;
5459
- }
5460
- /**
5461
- * 刷新引用消息参数
5462
- * @since 5.26.0
5463
- */
5464
- interface IRefreshReferenceMessageParams {
5465
- /**
5466
- * 消息 UId 列表
5467
- */
5468
- messageUIds: string[];
5469
- /**
5470
- * 会话信息
5471
- */
5472
- conversationIdentifier: IConversationOption;
5473
- /**
5474
- * 本地消息回调
5475
- */
5476
- localMessageBlock: (results: IEnginRefreshReferenceMessageResult[]) => void;
5477
- /**
5478
- * 远端消息回调
5479
- */
5480
- remoteMessageBlock: (results: IEnginRefreshReferenceMessageResult[]) => void;
5481
- /**
5482
- * 消息映射关系,非 Electron 平台为必传参数,Electron 平台无需传递。key 为引用消息 UId,value 为被引用消息 UId。
5483
- */
5484
- messageInfoMap?: Record<string, string>;
5485
- }
5486
- /**
5487
- * engine 刷新引用消息结果
5488
- * @since 5.26.0
5489
- */
5490
- interface IEnginRefreshReferenceMessageResult {
5491
- messageUId: string;
5492
- message?: IReceivedMessage;
5493
- code: number;
5494
- }
5495
5324
 
5496
5325
  /**
5497
5326
  * 消息中的用户附加信息数据
@@ -5944,29 +5773,6 @@ interface ILocationMessageContent extends IExtraDataKeyInMessage, IUserExtraKeyI
5944
5773
  */
5945
5774
  content: string;
5946
5775
  }
5947
- /**
5948
- * 被引用消息的状态
5949
- * @since 5.26.0
5950
- */
5951
- declare const ReferenceMessageStatus: {
5952
- /**
5953
- * 默认状态。
5954
- */
5955
- DEFAULT: number;
5956
- /**
5957
- * 状态非法,比如:引用的消息被修改。
5958
- */
5959
- INVALID: number;
5960
- /**
5961
- * 引用消息被撤回
5962
- */
5963
- RECALLED: number;
5964
- /**
5965
- * 引用消息被删除
5966
- */
5967
- DELETE: number;
5968
- };
5969
- declare type ReferenceMessageStatus = typeof ReferenceMessageStatus[keyof typeof ReferenceMessageStatus];
5970
5776
  /**
5971
5777
  * 引用消息 content 数据,仅支持文字回复
5972
5778
  * @category Interface
@@ -5992,12 +5798,6 @@ interface IReferenceMessageContent extends IExtraDataKeyInMessage, IUserExtraKey
5992
5798
  * 发送的引用消息类型
5993
5799
  */
5994
5800
  objName: string;
5995
- /**
5996
- * 引用消息状态
5997
- * @since 5.26.0
5998
- * @description 该属性仅 Electron 平台支持,Web 不支持该属性
5999
- */
6000
- referMsgStatus?: ReferenceMessageStatus;
6001
5801
  }
6002
5802
  /**
6003
5803
  * 富文本消息 content 数据
@@ -7176,12 +6976,6 @@ declare class Validator {
7176
6976
  * @hidden
7177
6977
  */
7178
6978
  constructor(_apiName: string);
7179
- /**
7180
- * 检查参数是否合规
7181
- * @param handler 检查方法
7182
- * @returns 检查器
7183
- */
7184
- check(handler: (validator: Validator) => void): Validator;
7185
6979
  /**
7186
6980
  * 验证参数是否合规
7187
6981
  * @param key
@@ -7608,10 +7402,6 @@ interface INaviInfo {
7608
7402
  * * 0001 - 语音转文字功能:1 开启,0 关闭
7609
7403
  */
7610
7404
  AIBusinessSub?: number;
7611
- /**
7612
- * 消息修改时间限制,单位:分钟
7613
- */
7614
- msgModifyMinute?: number;
7615
7405
  }
7616
7406
 
7617
7407
  /**
@@ -9367,20 +9157,6 @@ interface IIPCMethods {
9367
9157
  * @param from 翻译来源,0: 消息;1: 自定义文本
9368
9158
  */
9369
9159
  translateWithParams(list: InnerTransParam[], mode: TranslateMode, force: boolean, from: 0 | 1): Promise<RCResult>;
9370
- /**
9371
- * 修改消息
9372
- * @param params 修改消息参数
9373
- */
9374
- modifyMessageWithParams(params: IModifyMessageParams): Promise<RCResult>;
9375
- /**
9376
- * 刷新引用消息
9377
- * @param messageUIds 引用的消息 UId 列表
9378
- * @param conversationIdentifier 所属会话标识
9379
- * @param remoteMessageBlock 远端消息回调
9380
- * @param localMessageBlock 本地消息回调
9381
- * @param messageInfoMap 消息发送时间映射,仅 Web 端超级群会话有效
9382
- */
9383
- refreshReferenceMessageWithParams(messageUIds: string[], conversationIdentifier: IConversationOption, remoteMessageBlock: ((results: IEnginRefreshReferenceMessageResult[]) => void) | string, localMessageBlock: ((results: IEnginRefreshReferenceMessageResult[]) => void) | string, messageInfoMap?: Record<string, string>): Promise<RCResult>;
9384
9160
  }
9385
9161
 
9386
9162
  /**
@@ -9559,6 +9335,7 @@ interface IEngineWatcher extends IConnectionListener {
9559
9335
  sgRelationsSynced: () => void;
9560
9336
  operateStatus: (status: IOperateStatusNotify) => void;
9561
9337
  ultraGroupMessageExpansionUpdated: (list: IReceivedMessage[]) => void;
9338
+ ultraGroupMessageModified: (list: IReceivedMessage[]) => void;
9562
9339
  ultraGroupMessageRecalled: (list: IReceivedMessage[]) => void;
9563
9340
  ultraGroupChannelChangeType: (list: IUltraChannelChangeInfo[]) => void;
9564
9341
  ultraGroupChannelUserKicked: (list: IUltraChannelUserKickedInfo[]) => void;
@@ -9618,14 +9395,6 @@ interface IEngineWatcher extends IConnectionListener {
9618
9395
  * @param response 翻译结果
9619
9396
  */
9620
9397
  translateResponse: (response: TranslateItem[]) => void;
9621
- /**
9622
- * 消息编辑通知
9623
- */
9624
- messagesModified?: (messages: IReceivedMessage[]) => void;
9625
- /**
9626
- * 消息编辑同步完成(目前只有单、群聊编辑同步事件,超级群不需要同步)
9627
- */
9628
- messageModifiedSyncCompleted?: () => void;
9629
9398
  }
9630
9399
 
9631
9400
  declare type IErrorKeys = {
@@ -10808,6 +10577,7 @@ interface IWatcher {
10808
10577
  sgRelationsSynced?: () => void;
10809
10578
  operateStatus?: (status: IOperateStatusNotify) => void;
10810
10579
  ultraGroupMessageExpansionUpdated?: (list: IReceivedMessage[]) => void;
10580
+ ultraGroupMessageModified?: (list: IReceivedMessage[]) => void;
10811
10581
  ultraGroupMessageRecalled?: (list: IReceivedMessage[]) => void;
10812
10582
  ultraGroupChannelChangeType?: (list: IUltraChannelChangeInfo[]) => void;
10813
10583
  ultraGroupChannelUserKicked?: (list: IUltraChannelUserKickedInfo[]) => void;
@@ -10845,8 +10615,6 @@ interface IWatcher {
10845
10615
  * 翻译结果通知
10846
10616
  */
10847
10617
  translateResponse?: (response: TranslateItem[]) => void;
10848
- messagesModified?: (messages: IReceivedMessage[]) => void;
10849
- messageModifiedSyncCompleted?: () => void;
10850
10618
  }
10851
10619
  interface IAPIContextOption {
10852
10620
  /**
@@ -10956,11 +10724,6 @@ declare class AppSettings {
10956
10724
  * @since 5.24.0
10957
10725
  */
10958
10726
  get isConversationListIncludeUltraGroup(): boolean;
10959
- /**
10960
- * 消息可编辑的有效时间
10961
- * @since 5.26.0
10962
- */
10963
- get messageModifiableMinutes(): number;
10964
10727
  }
10965
10728
 
10966
10729
  declare class APIContext {
@@ -11111,6 +10874,7 @@ declare class APIContext {
11111
10874
  private _sgRelationsSyncedListener;
11112
10875
  private _operateStatusListener;
11113
10876
  private _ultraGroupMessageExpansionUpdatedListener;
10877
+ private _ultraGroupMessageModifiedListener;
11114
10878
  private _ultraGroupMessageRecalledListener;
11115
10879
  private _ultraGroupChannelChangeTypeListener;
11116
10880
  private _ultraGroupChannelUserKickedListener;
@@ -11156,8 +10920,6 @@ declare class APIContext {
11156
10920
  private _readReceiptResponseV5;
11157
10921
  private _speechToTextResponse;
11158
10922
  private _translateResponse;
11159
- private _messagesModified;
11160
- private _messageModifiedSyncCompleted;
11161
10923
  /**
11162
10924
  * 业务层事件监听器挂载点
11163
10925
  */
@@ -11626,6 +11388,11 @@ declare class APIContext {
11626
11388
  * @param options 设置的扩展
11627
11389
  */
11628
11390
  expandUltraMessage(options: IUltraExMsgOptions): Promise<IAsyncRes<ErrorCode>>;
11391
+ /**
11392
+ * 修改已有的超级群消息
11393
+ * @param options 设置的扩展
11394
+ */
11395
+ modifyMessage(options: IUltraModifyMsgOptions): Promise<IAsyncRes<ErrorCode>>;
11629
11396
  /**
11630
11397
  * 根据会话 ID 获取所有子频道 @ 消息未读数
11631
11398
  * @param targetId
@@ -11956,8 +11723,6 @@ declare class APIContext {
11956
11723
  getTranslationLanguage(): Promise<RCResult<string>>;
11957
11724
  setAutoTranslateEnabled(enabled: boolean): Promise<RCResult>;
11958
11725
  getAutoTranslateEnabled(): Promise<RCResult<boolean>>;
11959
- modifyMessageWithParams(params: IModifyMessageParams): Promise<RCResult>;
11960
- refreshReferenceMessageWithParams(params: IRefreshReferenceMessageParams): Promise<RCResult>;
11961
11726
  }
11962
11727
 
11963
11728
  declare class RTCPluginContext extends PluginContext {
@@ -12162,7 +11927,7 @@ declare class RTCPluginContext extends PluginContext {
12162
11927
  /**
12163
11928
  * 会话聊天模块
12164
11929
  */
12165
- declare type IChatModule = Pick<IIPCMethods, 'getConversationListByFilter' | 'getTotalUnreadCount' | 'getConversation' | 'batchSetConversationToTop' | 'batchSetConversationNotificationLevel' | 'getConversationNotificationLevel' | 'setConversationTypeNotificationLevel' | 'getConversationTypeNotificationLevel' | 'clearAllUnreadCount' | 'deleteRemoteMessage' | 'deleteRemoteMessageByTimestamp' | 'batchClearRemoteHistoryMessages' | 'sendReadReceiptResponseV5' | 'getMessageReadReceiptInfoV5ByIdentifiers' | 'getMessagesReadReceiptUsersByPageV5' | 'getMessagesReadReceiptByUsersV5' | 'searchConversationByContent' | 'requestSpeechToTextForMessage' | 'setMessageSpeechToTextVisible' | 'addTagForConversations' | 'getTagsForConversation' | 'setConversationStatusInTag' | 'removeTagForConversations' | 'removeTagsForConversation' | 'getConversationListByTag' | 'getUnreadCountByTag' | 'getUntaggedConversationListByPage' | 'batchSetConversationTranslateStrategy' | 'modifyMessageWithParams' | 'refreshReferenceMessageWithParams'>;
11930
+ declare type IChatModule = Pick<IIPCMethods, 'getConversationListByFilter' | 'getTotalUnreadCount' | 'getConversation' | 'batchSetConversationToTop' | 'batchSetConversationNotificationLevel' | 'getConversationNotificationLevel' | 'setConversationTypeNotificationLevel' | 'getConversationTypeNotificationLevel' | 'clearAllUnreadCount' | 'deleteRemoteMessage' | 'deleteRemoteMessageByTimestamp' | 'batchClearRemoteHistoryMessages' | 'sendReadReceiptResponseV5' | 'getMessageReadReceiptInfoV5ByIdentifiers' | 'getMessagesReadReceiptUsersByPageV5' | 'getMessagesReadReceiptByUsersV5' | 'searchConversationByContent' | 'requestSpeechToTextForMessage' | 'setMessageSpeechToTextVisible' | 'addTagForConversations' | 'getTagsForConversation' | 'setConversationStatusInTag' | 'removeTagForConversations' | 'removeTagsForConversation' | 'getConversationListByTag' | 'getUnreadCountByTag' | 'getUntaggedConversationListByPage' | 'batchSetConversationTranslateStrategy'>;
12166
11931
 
12167
11932
  /**
12168
11933
  * 聊天室模块
@@ -12568,6 +12333,11 @@ declare abstract class BasicEngine implements IIPCMethodsInEngine {
12568
12333
  * @param options
12569
12334
  */
12570
12335
  abstract expandUltraMessage(options: IUltraExMsgOptions): Promise<IAsyncRes>;
12336
+ /**
12337
+ * 对已有的消息进行修改
12338
+ * @param options
12339
+ */
12340
+ abstract modifyMessage(options: IUltraModifyMsgOptions): Promise<IAsyncRes>;
12571
12341
  /**
12572
12342
  * 超级群获取历史消息
12573
12343
  * @param targetId
@@ -13247,4 +13017,4 @@ declare class AppStorage {
13247
13017
  }): void;
13248
13018
  }
13249
13019
 
13250
- export { APIContext, AbsCodec, AppSettings, AppStorage, AreaCode, AssertRules, BasicEngine, BasicLogger, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectionStatus, ConversationListFilter, ConversationListFilterType, ConversationType, DirectionType, EnableLogL, ErrorCode, EventEmitter, FileType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendRelationType, GetAllConversationListFilterParams, GetConversationListByPageIndexParams, GetConversationListByTimestampParams, GetConversationListResponse, GetTopConversationListParams, GetUnreadConversationListParams, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupOperation, GroupOperationPermission, GroupOperationRole, GroupOperationStatus, GroupOperationType, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAppPushConfig, IAsyncRes, IAuditInfoKeyInMessage, IAuditInfoValueInMessage, IBaseConversationInfo, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChatModule, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListener, IChatroomListenerData, IChatroomModule, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IChrmKVEntries, IChrmKVEntry, IClearMessageOption, ICombineMessageContent, ICombineV2MessageContent, ICombinedMessage, ICommandMessageContent, IConnectionStatusListener, IConversationFilter, IConversationIdentifier, IConversationOption, IConversationStateListener, IConversationTag, IConversationTagListener, IConversationUnreadCount, IConvertHQVoiceMessageToTextOption, IConvertSpeechToTextOption, IConvertVoiceMessageToTextOption, ICreateGroupFail, IDataHostingModule, IDeletedExpansion, IDeliveredUser, IDownloadAuth, IEnginRefreshReferenceMessageResult, IEngineWatcher, IErrorKeys, IEventListener, IExpansionListener, IExpansionListenerData, IExtraDataKeyInMessage, IFileMessageContent, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendRelationInfo, IGIFMessageContent, IGetHistoryMessageResult, IGetMsgOption, IGetUltraGroupListOption, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IGroupNotificationMessageContent, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHQVoiceMessageContent, IHarmonyOSPushConfig, IIPCMethods, IImageMessageContent, IInformationNotificationMessageContent, IInsertMessage, IInsertMsgOptions, ILocalTagStatus, ILocationMessageContent, ILogData, ILogger, IMentionedInfoKeyInMessage, IMessageDeliver, IMessageDeliveredListener, IMessageFilter, IMessageIdentifier, IMessageListnenr, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IModifyMessageParams, INaviInfo, INetwork, INotificationQuietHoursSetting, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessCode, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCUsers, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IReferContentInMessage, IReferContentKeyInMessage, IReferenceMessageContent, IRefreshReferenceMessageParams, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IRequest, IResponse, IRichContentMessageContent, IRuntime, ISearchMessageParams, ISearchMessagesResult, ISendMsgOptions, IServerGroupBaseInfo, ISightMessageContent, ISpeechToTextInfo, ISpeechToTextResponse, IStorage, IStreamMessageContent, IStreamMessageResponseChunkData, IStreamMessageResponseEventData, ISubscribeRelationInfo, ISubscribeStatusDetail, ISubscribeUserStatusInfo, ISyncReadStatusData, ITagInfo, ITagListener, ITagParam, ITextMessageContent, ITimeRange, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraExMsgOptions, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraMsgQueryOptions, IUltraUnreadMsg, IUpdateItem, IUpdateMyProfileFail, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserExtraKeyInMessage, IUserExtraValueInMessage, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IUserProfileInfo, IUserSettingsChangedEvent, IUserSettingsModule, IVoiceMessageContent, IWatcher, IiOSPushConfig, InnerRTCKeyMaps, InnerTransParam, InterruptionLevel, ItypingStateListener, KVString, LogDBProxy, LogL, LogLevel, LogSource, LogTagId, LogType, MAX_MESSAGE_CONTENT_BYTES, MAX_U32_INTEGER, MAX_UPLOAD_FILE_SIZE, MentionedInfo, MentionedType, MessageAuditType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageRegisterParams, MessageType, MessageTypeDescription, NotificationLevel, NotificationStatus, OnlineStatus, OperateStatus, Codec$1 as PBCodec, PlatformInfo, PluginContext, PushImportanceHonor, PushNotificationQuietHoursLevel, QueryFriendsDirectionType, RCConnectionStatus, RCResult, RTCApiType, RTCJoinType, RTCMode, RTCPluginContext, ReadReceiptInfoV5, ReadReceiptResponseV5, ReadReceiptUser, ReadReceiptUsersOption, ReadReceiptUsersResult, ReceivedStatus, SSEModule, SentStatus, SpeechToTextStatus, StreamMessageResponseEventType, SubscribeOperationType, SubscribeType, SuspendablePromise, TranslateInfo, TranslateItem, TranslateMessageParam, TranslateMessagesParams, TranslateMode, TranslateStatus, TranslateStrategy, TranslateTextParam, TranslateTextsParams, UPLOAD_FILE_CHUNK_SIZE, UUId, UltraGroupChannelChangeType, UltraGroupChannelType, UploadMethod, UserProfileVisibility, UserSettingsChangedKey, UserType, Validator, ValidatorManage, VersionManage, assert, createLogDBProxy, fail, fixUrlProtocol, forEach, getMessageTypeDescription, getUUID, getUUID22, hasMessageTypeDescription, httpRequest, isArray, isBoolean, isFunction, isHttpUrl, isInteger, isLimitedArray, isLimitedString, isNull, isNumber, isObject, isString, isUndefined, isValidConversation, isValidConversationType, isValidEnum, isValidFileType, isValidGroupId, isValidNotificationLevel, isValidTargetId, logger, map, notEmptyArray, notEmptyObject, notEmptyString, ok, runtime, trans2IReceivedStatusInfo, trans2NotificationLevel, trans2NotificationStatus, transformReceivedStatusFlag, usingCppEngine, validate };
13020
+ export { APIContext, AbsCodec, AppSettings, AppStorage, AreaCode, AssertRules, BasicEngine, BasicLogger, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectionStatus, ConversationListFilter, ConversationListFilterType, ConversationType, DirectionType, EnableLogL, ErrorCode, EventEmitter, FileType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendRelationType, GetAllConversationListFilterParams, GetConversationListByPageIndexParams, GetConversationListByTimestampParams, GetConversationListResponse, GetTopConversationListParams, GetUnreadConversationListParams, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupOperation, GroupOperationPermission, GroupOperationRole, GroupOperationStatus, GroupOperationType, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAppPushConfig, IAsyncRes, IAuditInfoKeyInMessage, IAuditInfoValueInMessage, IBaseConversationInfo, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChatModule, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListener, IChatroomListenerData, IChatroomModule, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IChrmKVEntries, IChrmKVEntry, IClearMessageOption, ICombineMessageContent, ICombineV2MessageContent, ICombinedMessage, ICommandMessageContent, IConnectionStatusListener, IConversationFilter, IConversationIdentifier, IConversationOption, IConversationStateListener, IConversationTag, IConversationTagListener, IConversationUnreadCount, IConvertHQVoiceMessageToTextOption, IConvertSpeechToTextOption, IConvertVoiceMessageToTextOption, ICreateGroupFail, IDataHostingModule, IDeletedExpansion, IDeliveredUser, IDownloadAuth, IEngineWatcher, IErrorKeys, IEventListener, IExpansionListener, IExpansionListenerData, IExtraDataKeyInMessage, IFileMessageContent, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendRelationInfo, IGIFMessageContent, IGetHistoryMessageResult, IGetMsgOption, IGetUltraGroupListOption, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IGroupNotificationMessageContent, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHQVoiceMessageContent, IHarmonyOSPushConfig, IIPCMethods, IImageMessageContent, IInformationNotificationMessageContent, IInsertMessage, IInsertMsgOptions, ILocalTagStatus, ILocationMessageContent, ILogData, ILogger, IMentionedInfoKeyInMessage, IMessageDeliver, IMessageDeliveredListener, IMessageFilter, IMessageIdentifier, IMessageListnenr, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, INaviInfo, INetwork, INotificationQuietHoursSetting, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessCode, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCUsers, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IReferContentInMessage, IReferContentKeyInMessage, IReferenceMessageContent, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IRequest, IResponse, IRichContentMessageContent, IRuntime, ISearchMessageParams, ISearchMessagesResult, ISendMsgOptions, IServerGroupBaseInfo, ISightMessageContent, ISpeechToTextInfo, ISpeechToTextResponse, IStorage, IStreamMessageContent, IStreamMessageResponseChunkData, IStreamMessageResponseEventData, ISubscribeRelationInfo, ISubscribeStatusDetail, ISubscribeUserStatusInfo, ISyncReadStatusData, ITagInfo, ITagListener, ITagParam, ITextMessageContent, ITimeRange, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraExMsgOptions, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraModifyMsgOptions, IUltraMsgQueryOptions, IUltraUnreadMsg, IUpdateItem, IUpdateMyProfileFail, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserExtraKeyInMessage, IUserExtraValueInMessage, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IUserProfileInfo, IUserSettingsChangedEvent, IUserSettingsModule, IVoiceMessageContent, IWatcher, IiOSPushConfig, InnerRTCKeyMaps, InnerTransParam, InterruptionLevel, ItypingStateListener, KVString, LogDBProxy, LogL, LogLevel, LogSource, LogTagId, LogType, MAX_MESSAGE_CONTENT_BYTES, MAX_U32_INTEGER, MAX_UPLOAD_FILE_SIZE, MentionedInfo, MentionedType, MessageAuditType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageRegisterParams, MessageType, MessageTypeDescription, NotificationLevel, NotificationStatus, OnlineStatus, OperateStatus, Codec$1 as PBCodec, PlatformInfo, PluginContext, PushImportanceHonor, PushNotificationQuietHoursLevel, QueryFriendsDirectionType, RCConnectionStatus, RCResult, RTCApiType, RTCJoinType, RTCMode, RTCPluginContext, ReadReceiptInfoV5, ReadReceiptResponseV5, ReadReceiptUser, ReadReceiptUsersOption, ReadReceiptUsersResult, ReceivedStatus, SSEModule, SentStatus, SpeechToTextStatus, StreamMessageResponseEventType, SubscribeOperationType, SubscribeType, SuspendablePromise, TranslateInfo, TranslateItem, TranslateMessageParam, TranslateMessagesParams, TranslateMode, TranslateStatus, TranslateStrategy, TranslateTextParam, TranslateTextsParams, UPLOAD_FILE_CHUNK_SIZE, UUId, UltraGroupChannelChangeType, UltraGroupChannelType, UploadMethod, UserProfileVisibility, UserSettingsChangedKey, UserType, Validator, ValidatorManage, VersionManage, assert, createLogDBProxy, fail, fixUrlProtocol, forEach, getMessageTypeDescription, getUUID, getUUID22, hasMessageTypeDescription, httpRequest, isArray, isBoolean, isFunction, isHttpUrl, isInteger, isLimitedArray, isLimitedString, isNull, isNumber, isObject, isString, isUndefined, isValidConversation, isValidConversationType, isValidEnum, isValidFileType, isValidGroupId, isValidNotificationLevel, isValidTargetId, logger, map, notEmptyArray, notEmptyObject, notEmptyString, ok, runtime, trans2IReceivedStatusInfo, trans2NotificationLevel, trans2NotificationStatus, transformReceivedStatusFlag, usingCppEngine, validate };