@rongcloud/engine 5.24.0-alpha.1 → 5.24.0

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,8 +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_RECV_RMTP_O: "L_RECV_RMTP_O";
171
- 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";
172
173
  readonly L_RECV_S_NTF_O: "L-recv_s_ntf_O";
173
174
  readonly L_RECV_S_CMD_O: "L-recv_s_cmd_O";
174
175
  /** 版本号上报 */
@@ -238,8 +239,10 @@ declare const LogTagId: {
238
239
  readonly A_GET_CONVERSATION_R: "A-get_conversation-R";
239
240
  readonly A_BATCH_SET_CONVERSATION_TO_TOP_T: "A-batch_set_conversation_to_top-T";
240
241
  readonly A_BATCH_SET_CONVERSATION_TO_TOP_R: "A-batch_set_conversation_to_top-R";
241
- readonly A_BATCH_SET_CONVERSATION_NOTIFICATION_LEVEL_T: "A-batch_set_conversation_notification_level-T";
242
- readonly A_BATCH_SET_CONVERSATION_NOTIFICATION_LEVEL_R: "A-batch_set_conversation_notification_level-R";
242
+ readonly A_BATCH_SET_CONVERSATION_NOTIFICATION_LEVEL_T: "A-batch_set_convers_notification_level-T";
243
+ readonly A_BATCH_SET_CONVERSATION_NOTIFICATION_LEVEL_R: "A-batch_set_convers_notification_level-R";
244
+ readonly A_BATCH_SET_CONVERSATION_TRANSLATE_STRATEGY_T: "A-batch_set_convers_translate_strategy-T";
245
+ readonly A_BATCH_SET_CONVERSATION_TRANSLATE_STRATEGY_R: "A-batch_set_convers_translate_strategy-R";
243
246
  readonly A_CLEAR_ALL_UNREAD_COUNT_O: "A-clear_all_unread_count-O";
244
247
  readonly A_DELETE_REMOTE_MESSAGE_BY_TIMESTAMP_T: "A-delete_remote_message_by_timestamp-T";
245
248
  readonly A_DELETE_REMOTE_MESSAGE_BY_TIMESTAMP_R: "A-delete_remote_message_by_timestamp-R";
@@ -262,6 +265,38 @@ declare const LogTagId: {
262
265
  readonly A_GET_CHATROOM_HISTORY_MESSAGES_R: "A-get_chatroom_history_messages-R";
263
266
  readonly A_REQUEST_SPEECH_TO_TEXT_FOR_MESSAGE_T: "A-request_speech_to_text_for_message-T";
264
267
  readonly A_REQUEST_SPEECH_TO_TEXT_FOR_MESSAGE_R: "A-request_speech_to_text_for_message-R";
268
+ readonly L_SYNC_USER_SETTINGS_T: "L-sync_user_settings-T";
269
+ readonly L_SYNC_USER_SETTINGS_R: "L-sync_user_settings-R";
270
+ readonly A_ADD_TAG_T: "A-add_tag-T";
271
+ readonly A_ADD_TAG_R: "A-add_tag-R";
272
+ readonly A_REMOVE_TAG_T: "A-remove_tag-T";
273
+ readonly A_REMOVE_TAG_R: "A-remove_tag-R";
274
+ readonly A_UPDATE_TAG_T: "A-update_tag-T";
275
+ readonly A_UPDATE_TAG_R: "A-update_tag-R";
276
+ readonly A_GET_TAGS_T: "A-get_tags-T";
277
+ readonly A_GET_TAGS_R: "A-get_tags-R";
278
+ readonly A_ADD_TAG_FOR_CONVERSATIONS_T: "A-add_tag_for_conversations-T";
279
+ readonly A_ADD_TAG_FOR_CONVERSATIONS_R: "A-add_tag_for_conversations-R";
280
+ readonly A_GET_TAGS_OF_CONVERSATION_T: "A-get_tags_of_conversation-T";
281
+ readonly A_GET_TAGS_OF_CONVERSATION_R: "A-get_tags_of_conversation-R";
282
+ readonly A_SET_CONVER_TO_TOP_IN_TAG_T: "A-set_conver_to_top_in_tag-T";
283
+ readonly A_SET_CONVER_TO_TOP_IN_TAG_R: "A-set_conver_to_top_in_tag-R";
284
+ readonly A_REMOVE_TAG_FOR_CONVERS_T: "A-remove_tag_for_conversations-T";
285
+ readonly A_REMOVE_TAG_FOR_CONVERS_R: "A-remove_tag_for_conversations-R";
286
+ readonly A_REMOVE_TAGS_FOR_CONVER_T: "A-remove_tags_for_conversation-T";
287
+ readonly A_REMOVE_TAGS_FOR_CONVER_R: "A-remove_tags_for_conversation-R";
288
+ readonly A_GET_UNREAD_COUNT_BY_TAG_T: "A-get_unread_count_by_tag-T";
289
+ readonly A_GET_UNREAD_COUNT_BY_TAG_R: "A-get_unread_count_by_tag-R";
290
+ readonly A_GET_UNTAGGED_CONVERSATION_LIST_BY_PAGE_T: "A-get_untagged_conversation_list_by_page-T";
291
+ readonly A_GET_UNTAGGED_CONVERSATION_LIST_BY_PAGE_R: "A-get_untagged_conversation_list_by_page-R";
292
+ readonly A_SET_TRANSLATION_LANGUAGE_T: "A-set_translation_language-T";
293
+ readonly A_SET_TRANSLATION_LANGUAGE_R: "A-set_translation_language-R";
294
+ readonly A_GET_TRANSLATION_LANGUAGE_T: "A-get_translation_language-T";
295
+ readonly A_GET_TRANSLATION_LANGUAGE_R: "A-get_translation_language-R";
296
+ readonly A_SET_AUTO_TRANSLATE_ENABLED_T: "A-set_auto_translate_enabled-T";
297
+ readonly A_SET_AUTO_TRANSLATE_ENABLED_R: "A-set_auto_translate_enabled-R";
298
+ readonly A_GET_AUTO_TRANSLATE_ENABLED_T: "A-get_auto_translate_enabled-T";
299
+ readonly A_GET_AUTO_TRANSLATE_ENABLED_R: "A-get_auto_translate_enabled-R";
265
300
  };
266
301
 
267
302
  /**
@@ -1395,6 +1430,11 @@ declare enum ErrorCode {
1395
1430
  * 语音转文本参数缺失
1396
1431
  */
1397
1432
  SERVICE_STT_PARAM_MISS = 28306,
1433
+ /**
1434
+ * 28307
1435
+ * 用量超过限制
1436
+ */
1437
+ SERVICE_STT_USAGE_EXCEED = 28307,
1398
1438
  /**
1399
1439
  * 30001
1400
1440
  * 当前连接已经被释放
@@ -1864,6 +1904,12 @@ declare enum ErrorCode {
1864
1904
  * @since 5.2.0
1865
1905
  */
1866
1906
  INCONSISTENT_CONVERSATION_TYPE = 34025,
1907
+ /**
1908
+ * 34200
1909
+ * 开发者接口调用时传入的语言非法
1910
+ * @since 5.24
1911
+ */
1912
+ INVALID_PARAMETER_LAUGUAGE = 34200,
1867
1913
  /**
1868
1914
  * 34201
1869
1915
  * 开发者调用的接口不支持传入的会话类型
@@ -2629,6 +2675,42 @@ declare enum ErrorCode {
2629
2675
  * @since 5.22.0
2630
2676
  */
2631
2677
  SPEECH_TO_TEXT_MESSAGE_CONTENT_UNSUPPORTED = 35059,
2678
+ /**
2679
+ * 35060
2680
+ * 翻译功能输入参数类型错误
2681
+ * @since 5.24
2682
+ */
2683
+ TRANSLATION_PARAMS_TYPE_INVALID = 35060,
2684
+ /**
2685
+ * 35061
2686
+ * 翻译接口入参列表长度无效
2687
+ * @since 5.24
2688
+ */
2689
+ TRANSLATION_PARAMS_LIST_INVALID = 35061,
2690
+ /**
2691
+ * 35062
2692
+ * 会话翻译策略值无效
2693
+ * @since 5.24
2694
+ */
2695
+ INVALID_PARAMETER_TRANSLATE_STRATEGY = 35062,
2696
+ /**
2697
+ * 35063
2698
+ * 翻译设置的源语言与目标语言一致
2699
+ * @since 5.24
2700
+ */
2701
+ TRANSLATION_LANGUAGE_SAME = 35063,
2702
+ /**
2703
+ * 35064
2704
+ * 调用翻译接口时传入的翻译模式值非法
2705
+ * @since 5.24
2706
+ */
2707
+ INVALID_PARAMETER_TRANSLATE_MODE = 35064,
2708
+ /**
2709
+ * 35065
2710
+ * 调用翻译接口时,指定待翻译内容无效。
2711
+ * @since 5.24
2712
+ */
2713
+ TRANSLATION_TEXT_INVALID = 35065,
2632
2714
  /**
2633
2715
  * 36001
2634
2716
  * 加入聊天室Id为空
@@ -3499,6 +3581,175 @@ declare const UUId: {
3499
3581
  genWithLen(strLen?: number): string;
3500
3582
  };
3501
3583
 
3584
+ /**
3585
+ * 翻译模式
3586
+ */
3587
+ declare const TranslateMode: {
3588
+ /**
3589
+ * 机械翻译
3590
+ */
3591
+ readonly MECHANICAL: 0;
3592
+ /**
3593
+ * 智能翻译
3594
+ */
3595
+ readonly INTELLIGENT: 1;
3596
+ };
3597
+ declare type TranslateMode = typeof TranslateMode[keyof typeof TranslateMode];
3598
+ declare type InnerTransParam = {
3599
+ identifier: string;
3600
+ sourceLanguage: string;
3601
+ targetLanguage?: string;
3602
+ content?: string;
3603
+ };
3604
+ declare abstract class BaseTranslateParam {
3605
+ /**
3606
+ * 标识符,用于匹配翻译结果
3607
+ */
3608
+ readonly identifier: string;
3609
+ /**
3610
+ * 源语言
3611
+ */
3612
+ readonly sourceLanguage: string;
3613
+ /**
3614
+ * 目标语言
3615
+ */
3616
+ readonly targetLanguage?: string;
3617
+ /**
3618
+ * 待翻译内容
3619
+ */
3620
+ readonly text?: string;
3621
+ constructor(identifier: string, sourceLanguage?: string, targetLanguage?: string, content?: string);
3622
+ /**
3623
+ * 验证参数是否合法
3624
+ * @param requireContent 是否需要 content 参数
3625
+ * @hidden
3626
+ */
3627
+ isValid(requireContent: boolean): boolean;
3628
+ /**
3629
+ * 转换为内部参数,用于 IPC 跨进程传参
3630
+ * @returns 内部参数
3631
+ */
3632
+ toInnerParam(): InnerTransParam;
3633
+ }
3634
+ declare class TranslateMessageParam extends BaseTranslateParam {
3635
+ /**
3636
+ * @param messageUId 消息 UId
3637
+ * @param sourceLanguage 源语言,默认值 'auto'
3638
+ * @param targetLanguage 目标语言,选填,未传时取用户级配置,未取到配置时默认翻译为 'zh'
3639
+ * @param text 原始文本消息内容,仅 Web 需要传递,Electron 从数据库读取,该参数无效
3640
+ */
3641
+ constructor(messageUId: string, sourceLanguage?: string, targetLanguage?: string, text?: string);
3642
+ }
3643
+ declare class TranslateTextParam extends BaseTranslateParam {
3644
+ /**
3645
+ * @param text 待翻译内容
3646
+ * @param sourceLanguage 源语言,默认值 'auto'
3647
+ * @param targetLanguage 目标语言,选填,未传时取用户级配置,未取到配置时默认翻译为 'zh'
3648
+ */
3649
+ constructor(text: string, sourceLanguage?: string, targetLanguage?: string);
3650
+ }
3651
+ /**
3652
+ * 翻译消息参数
3653
+ */
3654
+ declare type TranslateMessagesParams = {
3655
+ /**
3656
+ * 长度限制 [1, 10]
3657
+ */
3658
+ list: TranslateMessageParam[];
3659
+ /**
3660
+ * 是否忽略缓存结果,强制重新翻译,默认为 `false`
3661
+ */
3662
+ force?: boolean;
3663
+ /**
3664
+ * 翻译模式,默认为 `TranslateMode.MECHANICAL`
3665
+ */
3666
+ mode?: TranslateMode;
3667
+ };
3668
+ /**
3669
+ * 翻译文本参数
3670
+ */
3671
+ declare type TranslateTextsParams = {
3672
+ /**
3673
+ * 文本参数列表
3674
+ */
3675
+ list: TranslateTextParam[];
3676
+ /**
3677
+ * 翻译模式,默认为 `TranslateMode.MECHANICAL`
3678
+ */
3679
+ mode?: TranslateMode;
3680
+ };
3681
+ declare type TranslateItem = {
3682
+ /**
3683
+ * 翻译内容标识:消息的 UId 或内容的 md5
3684
+ */
3685
+ identifier: string;
3686
+ /**
3687
+ * 源内容来源:
3688
+ * * 0: 消息
3689
+ * * 1: 自定义文本
3690
+ */
3691
+ from: 0 | 1;
3692
+ /**
3693
+ * 状态码,当值为 `ErrorCode.SUCCESS` 时,表示翻译成功,否则为翻译失败
3694
+ */
3695
+ code: number;
3696
+ /**
3697
+ * 翻译信息
3698
+ */
3699
+ translateInfo: TranslateInfo;
3700
+ };
3701
+ declare const TranslateStatus: {
3702
+ /**
3703
+ * 未翻译
3704
+ */
3705
+ readonly NONE: 0;
3706
+ /**
3707
+ * 翻译中
3708
+ */
3709
+ readonly TRANSLATING: 1;
3710
+ /**
3711
+ * 翻译成功
3712
+ */
3713
+ readonly SUCCESS: 2;
3714
+ /**
3715
+ * 翻译失败
3716
+ */
3717
+ readonly FAILED: 3;
3718
+ };
3719
+ declare type TranslateStatus = typeof TranslateStatus[keyof typeof TranslateStatus];
3720
+ /**
3721
+ * 翻译信息
3722
+ */
3723
+ declare type TranslateInfo = {
3724
+ /**
3725
+ * 翻译语言
3726
+ */
3727
+ targetLanguage: string;
3728
+ /**
3729
+ * 已翻译内容
3730
+ */
3731
+ translatedText: string;
3732
+ /**
3733
+ * 翻译状态
3734
+ */
3735
+ status: TranslateStatus;
3736
+ };
3737
+ declare const TranslateStrategy: {
3738
+ /**
3739
+ * 默认跟随用户级配置
3740
+ */
3741
+ readonly DEFAULT: 0;
3742
+ /**
3743
+ * 开启自动翻译
3744
+ */
3745
+ readonly AUTO_ON: 1;
3746
+ /**
3747
+ * 关闭自动翻译
3748
+ */
3749
+ readonly AUTO_OFF: 2;
3750
+ };
3751
+ declare type TranslateStrategy = typeof TranslateStrategy[keyof typeof TranslateStrategy];
3752
+
3502
3753
  /**
3503
3754
  * @category Interface
3504
3755
  */
@@ -3801,6 +4052,14 @@ interface IUpdateItem {
3801
4052
  time: number;
3802
4053
  val: NotificationLevel;
3803
4054
  };
4055
+ /**
4056
+ * 翻译策略变更
4057
+ * @since 5.24.0
4058
+ */
4059
+ translateStrategy?: {
4060
+ time: number;
4061
+ val: TranslateStrategy;
4062
+ };
3804
4063
  /**
3805
4064
  * 存在 @ 信息
3806
4065
  */
@@ -3901,6 +4160,11 @@ interface IReceivedConversation {
3901
4160
  * 会话是否已置顶
3902
4161
  */
3903
4162
  isTop?: boolean;
4163
+ /**
4164
+ * 会话翻译策略
4165
+ * @since 5.24.0
4166
+ */
4167
+ translateStrategy?: TranslateStrategy;
3904
4168
  /**
3905
4169
  * 会话项变更时间戳
3906
4170
  * @deprecated 字段已废弃即将删除,请勿使用
@@ -5295,15 +5559,15 @@ interface IHQVoiceMessageContent extends IExtraDataKeyInMessage, IUserExtraKeyIn
5295
5559
  */
5296
5560
  sampleRate?: number;
5297
5561
  /**
5298
- * 语音转文字信息,仅 Electron 平台支持,数据为本地数据库存储
5562
+ * 音频编码格式,目前仅支持 aac 音频
5299
5563
  * @since 5.22.0
5300
5564
  */
5301
- sttInfo?: ISpeechToTextInfo;
5565
+ format?: string;
5302
5566
  /**
5303
- * 音频编码格式,目前仅支持 aac 音频
5567
+ * 语音转文字信息,仅 Electron 平台支持,数据为本地数据库存储
5304
5568
  * @since 5.22.0
5305
5569
  */
5306
- format?: string;
5570
+ sttInfo?: ISpeechToTextInfo;
5307
5571
  }
5308
5572
  /**
5309
5573
  * 语音消息 content 数据
@@ -5593,6 +5857,11 @@ interface ITextMessageContent extends IExtraDataKeyInMessage, IUserExtraKeyInMes
5593
5857
  * 文本消息内容
5594
5858
  */
5595
5859
  content: string;
5860
+ /**
5861
+ * 翻译信息,仅 Electron 平台支持,数据为本地数据库存储
5862
+ * @since 5.24.0
5863
+ */
5864
+ translateInfo?: TranslateInfo;
5596
5865
  }
5597
5866
 
5598
5867
  /**
@@ -6895,6 +7164,7 @@ interface INaviInfo {
6895
7164
  openMp: 0 | 1;
6896
7165
  /**
6897
7166
  * 是否开启用户级配置,若开启,需连接成功后立即拉取实时配置,0 | 1
7167
+ * @deprecated 已废弃,有产品设计问题;目前实际没有任何作用,服务并不检查,导致开关关闭的情况下也可能存在相关配置数据;
6898
7168
  * @description
6899
7169
  * 配置来源:
6900
7170
  * 1. 导航
@@ -7129,7 +7399,7 @@ interface INaviInfo {
7129
7399
  };
7130
7400
  /**
7131
7401
  * 按位读取
7132
- * * 0001 - 是否已开启语音转文字功能:1 开启,0 关闭
7402
+ * * 0001 - 语音转文字功能:1 开启,0 关闭
7133
7403
  */
7134
7404
  AIBusinessSub?: number;
7135
7405
  }
@@ -8361,6 +8631,13 @@ interface IIPCMethods {
8361
8631
  * @returns 会话列表,始终保持时间升序返回
8362
8632
  */
8363
8633
  getConversationListByFilter(filter: ConversationListFilter): Promise<RCResult<GetConversationListResponse>>;
8634
+ /**
8635
+ * 分页获取未打标签的会话列表
8636
+ * @param timestamp 获取会话起始时间,需要精确到毫秒,0 表示当前时间
8637
+ * @param count 获取会话数量,有效值 [1, 100]
8638
+ * @param topPriority 是否置顶优先,默认 false
8639
+ */
8640
+ getUntaggedConversationListByPage(timestamp: number, count: number, topPriority: boolean): Promise<RCResult<IReceivedConversation[]>>;
8364
8641
  /**
8365
8642
  * 获取单一会话数据
8366
8643
  * @param conversationType
@@ -8382,6 +8659,12 @@ interface IIPCMethods {
8382
8659
  * @param notificationLevel 免打扰级别
8383
8660
  */
8384
8661
  batchSetConversationNotificationLevel(conversations: IConversationOption[], notificationLevel: NotificationLevel): Promise<RCResult>;
8662
+ /**
8663
+ * 批量设置会话翻译策略
8664
+ * @param conversations 会话列表
8665
+ * @param strategy 翻译策略
8666
+ */
8667
+ batchSetConversationTranslateStrategy(conversations: IConversationOption[], strategy: TranslateStrategy): Promise<RCResult>;
8385
8668
  /**
8386
8669
  * 设置指定会话类型默认免打扰级别
8387
8670
  * @param conversationType 会话类型
@@ -8531,61 +8814,61 @@ interface IIPCMethods {
8531
8814
  * 创建标签
8532
8815
  * @param tag 标签
8533
8816
  */
8534
- createTag(tag: ITagParam): IPromiseResult;
8817
+ createTag(tag: ITagParam): Promise<RCResult>;
8535
8818
  /**
8536
8819
  * 删除标签
8537
8820
  * @param tagId 标签 id
8538
8821
  */
8539
- removeTag(tagId: string): IPromiseResult;
8822
+ removeTag(tagId: string): Promise<RCResult>;
8540
8823
  /**
8541
8824
  * 编辑标签
8542
8825
  * @param tag 标签
8543
8826
  */
8544
- updateTag(tag: ITagParam): IPromiseResult;
8827
+ updateTag(tag: ITagParam): Promise<RCResult>;
8545
8828
  /**
8546
8829
  * 获取标签列表
8547
8830
  */
8548
- getTagList(): IPromiseResult<Array<ITagInfo>>;
8831
+ getTagList(): Promise<RCResult<ITagInfo[]>>;
8549
8832
  /**
8550
8833
  * 添加会话到标签(给多个会话增加标签)
8551
8834
  * @param tagId 标签 id
8552
8835
  * @param conversations 要添加的会话列表
8553
8836
  */
8554
- addTagForConversations(tagId: string, conversations: IConversationOption[]): IPromiseResult;
8837
+ addTagForConversations(tagId: string, conversations: IConversationOption[]): Promise<RCResult>;
8555
8838
  /**
8556
- * 删除标签中的会话 (从多个会话中批量删除指定标签)
8839
+ * 删除标签中的会话(等同于从多个会话中删除指定标签)
8557
8840
  * @param tagId 标签 id
8558
8841
  * @param conversations 要删除的会话列表
8559
8842
  */
8560
- removeTagForConversations(tagId: string, conversations: IConversationOption[]): IPromiseResult;
8843
+ removeTagForConversations(tagId: string, conversations: IConversationOption[]): Promise<RCResult>;
8561
8844
  /**
8562
8845
  * 删除会话中的标签 (从单一会话中批量删除标签)
8563
8846
  * @param conversationType 会话类型
8564
8847
  * @param targetId 会话 id
8565
8848
  * @param tagIds 要删除的标签列表
8566
8849
  */
8567
- removeTagsForConversation(conversation: IConversationOption, tagIds: string[]): IPromiseResult;
8850
+ removeTagsForConversation(conversation: IConversationOption, tagIds: string[]): Promise<RCResult>;
8568
8851
  /**
8569
8852
  * 获取标签下的会话列表
8570
8853
  * @param tagId 标签 id
8571
8854
  */
8572
- getConversationListByTag(tagId: string, startTime: number, count?: number, channelId?: string): IPromiseResult<IReceivedConversationByTag[]>;
8855
+ getConversationListByTag(tagId: string, startTime: number, count: number): Promise<RCResult<IReceivedConversationByTag[]>>;
8573
8856
  /**
8574
8857
  * 获取标签下的未读消息数
8575
8858
  * @param tagId 标签 id
8576
8859
  * @param containMuted 是否包含免打扰会话
8577
8860
  */
8578
- getUnreadCountByTag(tagId: string, containMuted: boolean): IPromiseResult<number>;
8861
+ getUnreadCountByTag(tagId: string, containMuted: boolean): Promise<RCResult<number>>;
8579
8862
  /**
8580
8863
  * 设置标签中会话置顶
8581
8864
  * @param conversation 会话
8582
8865
  */
8583
- setConversationStatusInTag(tagId: string, conversation: IConversationOption, status: ITagStatus): IPromiseResult;
8866
+ setConversationStatusInTag(tagId: string, conversation: IConversationOption, status: ITagStatus): Promise<RCResult>;
8584
8867
  /**
8585
8868
  * 获取会话里的标签
8586
8869
  * @param config
8587
8870
  */
8588
- getTagsForConversation(conversation: IConversationOption): IPromiseResult<IConversationTag[]>;
8871
+ getTagsForConversation(conversation: IConversationOption): Promise<RCResult<IConversationTag[]>>;
8589
8872
  /**
8590
8873
  * 发送群组消息已读回执
8591
8874
  * 导航下发已读回执开关为 1 时调用
@@ -8842,6 +9125,22 @@ interface IIPCMethods {
8842
9125
  * 按人查询消息是否已读(V5 版本)
8843
9126
  */
8844
9127
  getMessagesReadReceiptByUsersV5(conId: IConversationOption, messageUId: string, userList: Array<string>): Promise<RCResult<ReadReceiptUsersResult>>;
9128
+ /**
9129
+ * 设置全局默认翻译语言
9130
+ */
9131
+ setTranslationLanguage(language: string): Promise<RCResult>;
9132
+ /**
9133
+ * 获取全局默认翻译语言
9134
+ */
9135
+ getTranslationLanguage(): Promise<RCResult<string>>;
9136
+ /**
9137
+ * 设置自动翻译全局开关
9138
+ */
9139
+ setAutoTranslateEnabled(enabled: boolean): Promise<RCResult>;
9140
+ /**
9141
+ * 获取自动翻译全局开关
9142
+ */
9143
+ getAutoTranslateEnabled(): Promise<RCResult<boolean>>;
8845
9144
  rtcPing(roomId: string, mode: number, broadcastType?: number): Promise<IAsyncRes<any>>;
8846
9145
  rtcSignaling(roomId: string, method: string, isQuery: boolean, sourceData: any): Promise<{
8847
9146
  code: ErrorCode;
@@ -8850,6 +9149,14 @@ interface IIPCMethods {
8850
9149
  removeChatroomFromCatch(roomId: string): void;
8851
9150
  requestSpeechToTextForMessage(messageUId: string, option?: IConvertSpeechToTextOption): Promise<RCResult>;
8852
9151
  setMessageSpeechToTextVisible(messageId: number, isVisible: boolean): Promise<RCResult>;
9152
+ /**
9153
+ * 翻译
9154
+ * @param list 待翻译列表
9155
+ * @param mode 翻译模式
9156
+ * @param force 是否强制翻译
9157
+ * @param from 翻译来源,0: 消息;1: 自定义文本
9158
+ */
9159
+ translateWithParams(list: InnerTransParam[], mode: TranslateMode, force: boolean, from: 0 | 1): Promise<RCResult>;
8853
9160
  }
8854
9161
 
8855
9162
  /**
@@ -9016,6 +9323,9 @@ interface IEngineWatcher extends IConnectionListener {
9016
9323
  chatroom: (event: IChatroomListenerData) => void;
9017
9324
  conversation: (event: IUpdatedConversation[]) => void;
9018
9325
  expansion: (event: IExpansionListenerData) => void;
9326
+ /**
9327
+ * 用户 tag 列表变更
9328
+ */
9019
9329
  tag: () => void;
9020
9330
  /**
9021
9331
  * C++ 协议栈对外通知会话 tag 变更时,不携带任何数据; 为保持 Web 与 C++ 协议栈通知一致,不抛数据
@@ -9068,6 +9378,23 @@ interface IEngineWatcher extends IConnectionListener {
9068
9378
  databaseUpgradeDidComplete: (code: ErrorCode) => void;
9069
9379
  readReceiptResponseV5?: (data: ReadReceiptResponseV5[]) => void;
9070
9380
  speechToTextResponse?: (response: ISpeechToTextResponse) => void;
9381
+ /**
9382
+ * 用户级配置同步完成
9383
+ */
9384
+ userSettingsSynced: (code: number) => void;
9385
+ /**
9386
+ * 用户级配置变更
9387
+ */
9388
+ userSettingsChanged: (evt: IUserSettingsChangedEvent) => void;
9389
+ /**
9390
+ * 会话状态数据同步完成
9391
+ */
9392
+ conversationStatusSynced: (code: number) => void;
9393
+ /**
9394
+ * 翻译结果通知
9395
+ * @param response 翻译结果
9396
+ */
9397
+ translateResponse: (response: TranslateItem[]) => void;
9071
9398
  }
9072
9399
 
9073
9400
  declare type IErrorKeys = {
@@ -9124,6 +9451,26 @@ declare type ISpeechToTextResponse = {
9124
9451
  */
9125
9452
  sttInfo: ISpeechToTextInfo;
9126
9453
  };
9454
+ /**
9455
+ * 用户级配置变更类型
9456
+ * @since 5.24.0
9457
+ */
9458
+ declare const UserSettingsChangedKey: {
9459
+ readonly TranslationLanguage: 0;
9460
+ readonly AutoTranslateEnable: 1;
9461
+ };
9462
+ declare type UserSettingsChangedKey = typeof UserSettingsChangedKey[keyof typeof UserSettingsChangedKey];
9463
+ /**
9464
+ * 用户级配置变更事件
9465
+ * @since 5.24.0
9466
+ */
9467
+ declare type IUserSettingsChangedEvent = {
9468
+ key: typeof UserSettingsChangedKey.TranslationLanguage;
9469
+ value: string;
9470
+ } | {
9471
+ key: typeof UserSettingsChangedKey.AutoTranslateEnable;
9472
+ value: boolean;
9473
+ };
9127
9474
 
9128
9475
  /**
9129
9476
  * 检查参数是否为字符串
@@ -10183,6 +10530,18 @@ interface IWatcher {
10183
10530
  * 标签的增删改监听
10184
10531
  */
10185
10532
  tag?: ITagListener;
10533
+ /**
10534
+ * 用户级配置同步完成
10535
+ */
10536
+ userSettingsSynced?: (code: number) => void;
10537
+ /**
10538
+ * 用户级配置变更
10539
+ */
10540
+ userSettingsChanged?: (evt: IUserSettingsChangedEvent) => void;
10541
+ /**
10542
+ * 会话状态数据同步完成
10543
+ */
10544
+ conversationStatusSynced?: (code: number) => void;
10186
10545
  /**
10187
10546
  * 会话中标签状态变更监听
10188
10547
  */
@@ -10245,6 +10604,10 @@ interface IWatcher {
10245
10604
  databaseUpgradeDidComplete?: (code: ErrorCode) => void;
10246
10605
  readReceiptResponseV5?: (data: ReadReceiptResponseV5[]) => void;
10247
10606
  speechToTextResponse?: (response: ISpeechToTextResponse) => void;
10607
+ /**
10608
+ * 翻译结果通知
10609
+ */
10610
+ translateResponse?: (response: TranslateItem[]) => void;
10248
10611
  }
10249
10612
  interface IAPIContextOption {
10250
10613
  /**
@@ -10349,6 +10712,11 @@ declare class AppSettings {
10349
10712
  * @since 5.22.0
10350
10713
  */
10351
10714
  get isSpeechToTextEnabled(): boolean;
10715
+ /**
10716
+ * 是否在会话列表中展示超级群
10717
+ * @since 5.24.0
10718
+ */
10719
+ get isConversationListIncludeUltraGroup(): boolean;
10352
10720
  }
10353
10721
 
10354
10722
  declare class APIContext {
@@ -10482,6 +10850,9 @@ declare class APIContext {
10482
10850
  * 标签增删改监听
10483
10851
  */
10484
10852
  private _tagListener;
10853
+ private _onUserSettingsSynced;
10854
+ private _onUserSettingsChanged;
10855
+ private _onConversationStatusSynced;
10485
10856
  /**
10486
10857
  * 会话标签状态监听
10487
10858
  */
@@ -10541,6 +10912,7 @@ declare class APIContext {
10541
10912
  private _databaseUpgradeDidComplete;
10542
10913
  private _readReceiptResponseV5;
10543
10914
  private _speechToTextResponse;
10915
+ private _translateResponse;
10544
10916
  /**
10545
10917
  * 业务层事件监听器挂载点
10546
10918
  */
@@ -10580,7 +10952,7 @@ declare class APIContext {
10580
10952
  * 高阶函数,生成一个验证方法,验证是否处于登录状态
10581
10953
  * * 本地数据查询时,只需要验证用户已经登录过且未主动断开,无需校验当前连接状态
10582
10954
  */
10583
- get validateLogin(): () => RCResult<INaviInfo>;
10955
+ private get validateLogin();
10584
10956
  get token(): string;
10585
10957
  refetchNaviInfo(): IPromiseResult<INaviInfo | null>;
10586
10958
  /**
@@ -10779,6 +11151,7 @@ declare class APIContext {
10779
11151
  batchSetConversationNotificationLevel(conversations: IConversationOption[], notificationLevel: NotificationLevel): Promise<RCResult>;
10780
11152
  /** 批量设置会话置顶 */
10781
11153
  batchSetConversationToTop(conversations: IConversationOption[], isTop: boolean, isUpdateTime?: boolean, isCreateConversation?: boolean): Promise<RCResult>;
11154
+ batchSetConversationTranslateStrategy(conversations: IConversationOption[], strategy: TranslateStrategy): Promise<RCResult>;
10782
11155
  saveConversationMessageDraft(conversationType: ConversationType, targetId: string, draft: string, channelId?: string): Promise<ErrorCode>;
10783
11156
  getConversationMessageDraft(conversationType: ConversationType, targetId: string, channelId?: string): Promise<IAsyncRes<string>>;
10784
11157
  clearConversationMessageDraft(conversationType: ConversationType, targetId: string, channelId?: string): Promise<ErrorCode>;
@@ -10929,63 +11302,63 @@ declare class APIContext {
10929
11302
  * 创建标签
10930
11303
  * @param tag 标签
10931
11304
  */
10932
- createTag(tag: ITagParam): Promise<IAsyncRes>;
11305
+ createTag(tag: ITagParam): Promise<RCResult>;
10933
11306
  /**
10934
11307
  * 删除标签
10935
11308
  * @param tagId 标签 Id
10936
11309
  */
10937
- removeTag(tagId: string): Promise<IAsyncRes>;
11310
+ removeTag(tagId: string): Promise<RCResult>;
10938
11311
  /**
10939
11312
  * 更新标签
10940
11313
  * @param tag 标签
10941
11314
  */
10942
- updateTag(tag: ITagParam): Promise<IAsyncRes>;
11315
+ updateTag(tag: ITagParam): Promise<RCResult>;
10943
11316
  /**
10944
11317
  * 获取标签列表
10945
11318
  */
10946
- getTagList(): Promise<IAsyncRes<Array<ITagInfo>>>;
11319
+ getTagList(): Promise<RCResult<ITagInfo[]>>;
10947
11320
  /**
10948
11321
  * 添加会话到标签(给多个会话增加标签)
10949
11322
  * @param tagId 标签 Id
10950
11323
  * @param conversations 要添加的会话列表
10951
11324
  */
10952
- addTagForConversations(tagId: string, conversations: IConversationOption[]): Promise<IAsyncRes>;
11325
+ addTagForConversations(tagId: string, conversations: IConversationOption[]): Promise<RCResult>;
10953
11326
  /**
10954
- * 删除标签中的会话(从多个会话中批量删除指定标签)
11327
+ * 删除标签中的会话(等同于从多个会话中批量删除指定标签)
10955
11328
  * @param tagId 标签 Id
10956
11329
  * @param conversations 要删除的会话列表
10957
11330
  */
10958
- removeTagForConversations(tagId: string, conversations: IConversationOption[]): Promise<IAsyncRes>;
11331
+ removeTagForConversations(tagId: string, conversations: IConversationOption[]): Promise<RCResult>;
10959
11332
  /**
10960
11333
  * 删除会话中的标签(从单一会话中批量删除标签)
10961
11334
  * @param conversationType 会话类型
10962
11335
  * @param targetId 会话 Id
10963
11336
  * @param tagIds 要删除的标签列表
10964
11337
  */
10965
- removeTagsForConversation(conversation: IConversationOption, tagIds: string[]): Promise<IAsyncRes>;
11338
+ removeTagsForConversation(conversation: IConversationOption, tagIds: string[]): Promise<RCResult>;
10966
11339
  /**
10967
11340
  * 获取标签下的会话列表
10968
11341
  * @param tagId 标签 Id
10969
11342
  */
10970
- getConversationListByTag(tagId: string, startTime: number, count?: number, channelId?: string): Promise<IAsyncRes<IReceivedConversationByTag[]>>;
11343
+ getConversationListByTag(tagId: string, startTime: number, count: number): Promise<RCResult<IReceivedConversationByTag[]>>;
10971
11344
  /**
10972
11345
  * 获取标签下的未读消息数
10973
11346
  * @param tagId 标签 Id
10974
11347
  * @param containMuted 是否包含免打扰会话
10975
11348
  */
10976
- getUnreadCountByTag(tagId: string, containMuted: boolean): Promise<IAsyncRes<number>>;
11349
+ getUnreadCountByTag(tagId: string, containMuted: boolean): Promise<RCResult<number>>;
10977
11350
  /**
10978
11351
  * 设置标签中会话置顶
10979
11352
  * @param conversation 会话
10980
11353
  */
10981
11354
  setConversationStatusInTag(tagId: string, conversation: IConversationOption, status: {
10982
11355
  isTop: boolean;
10983
- }): Promise<IAsyncRes>;
11356
+ }): Promise<RCResult>;
10984
11357
  /**
10985
11358
  * 获取会话里的标签
10986
11359
  * @param conversation
10987
11360
  */
10988
- getTagsForConversation(conversation: IConversationOption): Promise<IAsyncRes<IConversationTag[]>>;
11361
+ getTagsForConversation(conversation: IConversationOption): Promise<RCResult<IConversationTag[]>>;
10989
11362
  getUnreadMentionedCount(conversation: IConversationOption): Promise<RCResult<number>>;
10990
11363
  /**
10991
11364
  * 获取所有群聊会话 @ 消息未读数
@@ -11015,7 +11388,6 @@ declare class APIContext {
11015
11388
  modifyMessage(options: IUltraModifyMsgOptions): Promise<IAsyncRes<ErrorCode>>;
11016
11389
  /**
11017
11390
  * 根据会话 ID 获取所有子频道 @ 消息未读数
11018
- * @todo
11019
11391
  * @param targetId
11020
11392
  */
11021
11393
  getUltraGroupUnreadMentionedCountByTargetId(targetId: string, levels?: NotificationLevel[]): Promise<IAsyncRes<number>>;
@@ -11337,6 +11709,13 @@ declare class APIContext {
11337
11709
  getMessagesReadReceiptByUsersV5(conId: IConversationOption, messageUId: string, userList: Array<string>): Promise<RCResult<ReadReceiptUsersResult>>;
11338
11710
  requestSpeechToTextForMessage(messageUId: string, option?: IConvertSpeechToTextOption): Promise<RCResult>;
11339
11711
  setMessageSpeechToTextVisible(messageId: number, isVisible: boolean): Promise<RCResult>;
11712
+ getUntaggedConversationListByPage(timestamp: number, count: number, topPriority: boolean): Promise<RCResult<IReceivedConversation[]>>;
11713
+ translateMessagesWithParams(params: TranslateMessagesParams): Promise<RCResult>;
11714
+ translateTextsWithParams(params: TranslateTextsParams): Promise<RCResult>;
11715
+ setTranslationLanguage(language: string): Promise<RCResult>;
11716
+ getTranslationLanguage(): Promise<RCResult<string>>;
11717
+ setAutoTranslateEnabled(enabled: boolean): Promise<RCResult>;
11718
+ getAutoTranslateEnabled(): Promise<RCResult<boolean>>;
11340
11719
  }
11341
11720
 
11342
11721
  declare class RTCPluginContext extends PluginContext {
@@ -11541,7 +11920,7 @@ declare class RTCPluginContext extends PluginContext {
11541
11920
  /**
11542
11921
  * 会话聊天模块
11543
11922
  */
11544
- declare type IChatModule = Pick<IIPCMethods, 'getConversationListByFilter' | 'getTotalUnreadCount' | 'getConversation' | 'batchSetConversationToTop' | 'batchSetConversationNotificationLevel' | 'getConversationNotificationLevel' | 'setConversationTypeNotificationLevel' | 'getConversationTypeNotificationLevel' | 'clearAllUnreadCount' | 'deleteRemoteMessage' | 'deleteRemoteMessageByTimestamp' | 'batchClearRemoteHistoryMessages' | 'sendReadReceiptResponseV5' | 'getMessageReadReceiptInfoV5ByIdentifiers' | 'getMessagesReadReceiptUsersByPageV5' | 'getMessagesReadReceiptByUsersV5' | 'searchConversationByContent' | 'requestSpeechToTextForMessage' | 'setMessageSpeechToTextVisible'>;
11923
+ 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'>;
11545
11924
 
11546
11925
  /**
11547
11926
  * 聊天室模块
@@ -11549,7 +11928,12 @@ declare type IChatModule = Pick<IIPCMethods, 'getConversationListByFilter' | 'ge
11549
11928
  interface IChatroomModule extends Pick<IIPCMethods, 'getChatroomHistoryMessages'> {
11550
11929
  }
11551
11930
 
11552
- declare type IIPCMethodsInEngine = Pick<IIPCMethods, 'searchMessagesWithParams'>;
11931
+ /**
11932
+ * 用户设置模块
11933
+ */
11934
+ declare type IUserSettingsModule = Pick<IIPCMethods, 'setTranslationLanguage' | 'getTranslationLanguage' | 'setAutoTranslateEnabled' | 'getAutoTranslateEnabled'>;
11935
+
11936
+ declare type IIPCMethodsInEngine = Pick<IIPCMethods, 'searchMessagesWithParams' | 'createTag' | 'removeTag' | 'updateTag' | 'getTagList' | 'translateWithParams'>;
11553
11937
  declare abstract class BasicEngine implements IIPCMethodsInEngine {
11554
11938
  protected readonly rtcCodec: Codec<InnerRTCKeyMaps>;
11555
11939
  protected readonly _watcher: IEngineWatcher;
@@ -11566,6 +11950,7 @@ declare abstract class BasicEngine implements IIPCMethodsInEngine {
11566
11950
  */
11567
11951
  abstract get chat(): IChatModule;
11568
11952
  abstract get chatroom(): IChatroomModule;
11953
+ abstract get userSettings(): IUserSettingsModule;
11569
11954
  /**
11570
11955
  * 引擎初始化
11571
11956
  * @param _appkey
@@ -11854,61 +12239,21 @@ declare abstract class BasicEngine implements IIPCMethodsInEngine {
11854
12239
  * 创建标签
11855
12240
  * @param tag 标签
11856
12241
  */
11857
- abstract createTag(tag: ITagParam): IPromiseResult;
12242
+ abstract createTag(tag: ITagParam): Promise<RCResult>;
11858
12243
  /**
11859
12244
  * 删除标签
11860
12245
  * @param tagId 标签 id
11861
12246
  */
11862
- abstract removeTag(tagId: string): IPromiseResult;
12247
+ abstract removeTag(tagId: string): Promise<RCResult>;
11863
12248
  /**
11864
12249
  * 编辑标签
11865
12250
  * @param tag 标签
11866
12251
  */
11867
- abstract updateTag(tag: ITagParam): IPromiseResult;
12252
+ abstract updateTag(tag: ITagParam): Promise<RCResult>;
11868
12253
  /**
11869
12254
  * 获取标签列表
11870
12255
  */
11871
- abstract getTagList(): IPromiseResult<Array<ITagInfo>>;
11872
- /**
11873
- * 添加会话到标签(给多个会话增加标签)
11874
- * @param tagId 标签 id
11875
- * @param conversations 要添加的会话列表
11876
- */
11877
- abstract addTagForConversations(tagId: string, conversations: IConversationOption[]): IPromiseResult;
11878
- /**
11879
- * 删除标签中的会话 (从多个会话中批量删除指定标签)
11880
- * @param tagId 标签 id
11881
- * @param conversations 要删除的会话列表
11882
- */
11883
- abstract removeTagForConversations(tagId: string, conversations: IConversationOption[]): IPromiseResult;
11884
- /**
11885
- * 删除会话中的标签 (从单一会话中批量删除标签)
11886
- * @param conversationType 会话类型
11887
- * @param targetId 会话 id
11888
- * @param tagIds 要删除的标签列表
11889
- */
11890
- abstract removeTagsForConversation(conversation: IConversationOption, tagIds: string[]): IPromiseResult;
11891
- /**
11892
- * 获取标签下的会话列表
11893
- * @param tagId 标签 id
11894
- */
11895
- abstract getConversationListByTag(tagId: string, startTime: number, count?: number, channelId?: string): IPromiseResult<IReceivedConversationByTag[]>;
11896
- /**
11897
- * 获取标签下的未读消息数
11898
- * @param tagId 标签 id
11899
- * @param containMuted 是否包含免打扰会话
11900
- */
11901
- abstract getUnreadCountByTag(tagId: string, containMuted: boolean): IPromiseResult<number>;
11902
- /**
11903
- * 设置标签中会话置顶
11904
- * @param conversation 会话
11905
- */
11906
- abstract setConversationStatusInTag(tagId: string, conversation: IConversationOption, status: ITagStatus): IPromiseResult;
11907
- /**
11908
- * 获取会话里的标签
11909
- * @param config
11910
- */
11911
- abstract getTagsForConversation(conversation: IConversationOption): IPromiseResult<IConversationTag[]>;
12256
+ abstract getTagList(): Promise<RCResult<ITagInfo[]>>;
11912
12257
  /**
11913
12258
  * 获取服务器时间
11914
12259
  */
@@ -12310,6 +12655,7 @@ declare abstract class BasicEngine implements IIPCMethodsInEngine {
12310
12655
  * 获取统计地址
12311
12656
  */
12312
12657
  abstract getStatsUrlList(): Promise<RCResult<string[]>>;
12658
+ abstract translateWithParams(list: InnerTransParam[], mode: TranslateMode, force: boolean, from: 0 | 1): Promise<RCResult>;
12313
12659
  }
12314
12660
 
12315
12661
  /**
@@ -12664,4 +13010,4 @@ declare class AppStorage {
12664
13010
  }): void;
12665
13011
  }
12666
13012
 
12667
- 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, IVoiceMessageContent, IWatcher, IiOSPushConfig, InnerRTCKeyMaps, 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, UPLOAD_FILE_CHUNK_SIZE, UUId, UltraGroupChannelChangeType, UltraGroupChannelType, UploadMethod, UserProfileVisibility, 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 };
13013
+ 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 };