@rongcloud/engine 5.44.0-c-export-msgs-alpha.2 → 5.46.0-alpha.1

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
@@ -1081,6 +1081,12 @@ declare enum ErrorCode {
1081
1081
  * 设置扩展消息,无操作权限。
1082
1082
  */
1083
1083
  MESSAGE_EXPAND_NOT_AUTHORIZED = 22204,
1084
+ /**
1085
+ * 22210
1086
+ * 当前 App Key 未开启消息扩展功能。
1087
+ * @since 5.46.0
1088
+ */
1089
+ RC_MESSAGE_EXPANSION_DISABLED = 22210,
1084
1090
  /**
1085
1091
  * 22406
1086
1092
  * 不在该群组中。
@@ -1091,6 +1097,18 @@ declare enum ErrorCode {
1091
1097
  * 在群组中已被禁言。
1092
1098
  */
1093
1099
  FORBIDDEN_IN_GROUP = 22408,
1100
+ /**
1101
+ * 22412
1102
+ * 当前 App Key 下群组总数已达上限。
1103
+ * @since 5.46.0
1104
+ */
1105
+ RC_GROUP_COUNT_EXCEED_LIMIT = 22412,
1106
+ /**
1107
+ * 22413
1108
+ * 用户加入的群组数量超出上限。
1109
+ * @since 5.46.0
1110
+ */
1111
+ RC_GROUP_JOIN_COUNT_EXCEED_LIMIT = 22413,
1094
1112
  /**
1095
1113
  * 23406
1096
1114
  * 不在该聊天室中。
@@ -1177,6 +1195,12 @@ declare enum ErrorCode {
1177
1195
  * @since 5.3.0
1178
1196
  */
1179
1197
  CHATROOM_KV_SET_ERROR = 23431,
1198
+ /**
1199
+ * 23450
1200
+ * 当前 App Key 下活跃聊天室数已达上限。
1201
+ * @since 5.46.0
1202
+ */
1203
+ RC_CHATROOM_ACTIVE_COUNT_EXCEED_LIMIT = 23450,
1180
1204
  /**
1181
1205
  * 24001
1182
1206
  * 没有注册 DeviveId 也就是用户没有登陆。
@@ -2198,6 +2222,12 @@ declare enum ErrorCode {
2198
2222
  * @since 5.32.0
2199
2223
  */
2200
2224
  METHOD_BUSY = 33103,
2225
+ /**
2226
+ * 33301
2227
+ * 不允许主动拉取远端会话
2228
+ * @since 5.20.0
2229
+ */
2230
+ NOT_ALLOW_PULL_CONVERSATION = 33301,
2201
2231
  /**
2202
2232
  * 33302
2203
2233
  * SDK 拉取远端会话列表失败。
@@ -2233,6 +2263,12 @@ declare enum ErrorCode {
2233
2263
  * @since 5.42.0
2234
2264
  */
2235
2265
  REACTION_ID_INVALID = 33405,
2266
+ /**
2267
+ * 33406
2268
+ * 会话未读数查询过滤器非法
2269
+ * @since 5.44.0
2270
+ */
2271
+ INVALID_PARAMETER_UNREAD_COUNT_FILTER = 33406,
2236
2272
  /**
2237
2273
  * 34001
2238
2274
  * 连接已存在。
@@ -4097,6 +4133,30 @@ declare const MessageReactionOperationType: {
4097
4133
  };
4098
4134
  declare type MessageReactionOperationType = typeof MessageReactionOperationType[keyof typeof MessageReactionOperationType];
4099
4135
 
4136
+ /**
4137
+ * 会话查询未读数过滤器
4138
+ * @since 5.44.0
4139
+ */
4140
+ declare const ConversationUnreadCountFilter: {
4141
+ /**
4142
+ * 获取所有会话
4143
+ */
4144
+ readonly ALL: 0;
4145
+ /**
4146
+ * 获取包含未读消息的会话
4147
+ */
4148
+ readonly UNREAD_ONLY: 1;
4149
+ /**
4150
+ * 获取包含 "@我" 的消息的会话
4151
+ */
4152
+ readonly MENTION_ONLY: 2;
4153
+ /**
4154
+ * 获取不包含未读消息的会话
4155
+ */
4156
+ readonly NO_UNREAD: 3;
4157
+ };
4158
+ declare type ConversationUnreadCountFilter = typeof ConversationUnreadCountFilter[keyof typeof ConversationUnreadCountFilter];
4159
+
4100
4160
  /**
4101
4161
  * 网络状态枚举
4102
4162
  */
@@ -4482,6 +4542,16 @@ interface IAndroidPushConfig {
4482
4542
  * 小米的 channelId
4483
4543
  */
4484
4544
  channelIdMi?: string;
4545
+ /**
4546
+ * 小米私信推送模板 ID。
4547
+ * @since 5.46.0
4548
+ */
4549
+ templateIdMi?: string;
4550
+ /**
4551
+ * 小米私信推送模板参数。
4552
+ * @since 5.46.0
4553
+ */
4554
+ templateParamMi?: Record<string, string>;
4485
4555
  /**
4486
4556
  * 小米 Large icon 链接
4487
4557
  * Large icon 可以出现在大图版和多字版消息中,显示在右边。
@@ -5236,11 +5306,6 @@ interface IConversationListLoaderOptions {
5236
5306
  * @hidden - 本期不实现,不对外,后续拓展预留
5237
5307
  */
5238
5308
  topPriority?: boolean;
5239
- /**
5240
- * 获取包含未读消息的会话
5241
- * @hidden - 本期不实现,不对外,后续拓展预留
5242
- */
5243
- hasUnreadMessage?: boolean;
5244
5309
  /**
5245
5310
  * 获取免打扰会话
5246
5311
  * @hidden - 本期不实现,不对外,后续拓展预留
@@ -7348,7 +7413,7 @@ interface IUploadAuth {
7348
7413
  */
7349
7414
  deadline: number;
7350
7415
  /**
7351
- * 七牛上传 token
7416
+ * 七牛上传 token,同时也作为私有云下载鉴权 token 数据
7352
7417
  */
7353
7418
  token: string;
7354
7419
  /**
@@ -7439,28 +7504,42 @@ interface IUploadAuth {
7439
7504
  * minio 存储空间名称
7440
7505
  */
7441
7506
  minioBucketName: string;
7442
- /**
7443
- * 下载鉴权信息
7444
- */
7445
- downloadAuthInfo?: IDownloadAuth;
7446
7507
  /**
7447
7508
  * oss 存储配置,优先级高于导航 ossConfig 配置;值为 Json 字符串
7448
7509
  */
7449
7510
  ossConfig?: string;
7511
+ /**
7512
+ * 私有云下载鉴权信息
7513
+ * @hidden
7514
+ * * 应将 token 作为第一优先检查条件,当其有值时,拼接 `url?token=${token}` 进行下载
7515
+ * * 当 !token 时,检查 downloadAuthInfo 数据:
7516
+ * 1. (!downloadAuthInfo || downloadAuthInfo.type === 0):直接使用原始 url 下载
7517
+ * 2. (downloadAuthInfo.type === 1):使用 downloadAuthInfo.url 进行下载
7518
+ * 3. (downloadAuthInfo.type === 2):需要将 downloadAuthInfo.authParams 写入 Http 请求的 headers 中完成鉴权
7519
+ */
7520
+ downloadAuthInfo?: IDownloadAuth;
7450
7521
  }
7451
7522
  /**
7452
- * 下载鉴权信息
7523
+ * 私有云下载鉴权信息,不对外
7453
7524
  * @category Interface
7454
7525
  * @hidden
7455
7526
  */
7456
7527
  interface IDownloadAuth {
7457
7528
  /**
7458
7529
  * 鉴权类型
7459
- * 0: 不鉴权
7460
- * 1: 直接使用 url
7530
+ * 0: 不鉴权,使用原始 url 下载
7531
+ * 1: 服务器开启鉴权,使用当前结构的 url 数据进行下载
7532
+ * 2: 服务器开启鉴权,需要将 authParams 数据写入 Http 请求 headers 中
7533
+ */
7534
+ type: 0 | 1 | 2;
7535
+ /**
7536
+ * 仅当 type === 1 时有值
7461
7537
  */
7462
- type: 0 | 1;
7463
7538
  url?: string;
7539
+ /**
7540
+ * 仅当 type === 2 时有值,需要该值写入 Http 请求的 headers 中完成私有云鉴权
7541
+ */
7542
+ authParams?: Record<string, string>;
7464
7543
  }
7465
7544
 
7466
7545
  /**
@@ -8482,6 +8561,13 @@ interface INaviInfo {
8482
8561
  * @since 5.40.0
8483
8562
  */
8484
8563
  msgMaxLengthV2?: number;
8564
+ /**
8565
+ * RC:SRSMsg 消息改为信令发送,避免占用消息通道以降低群聊消息通道压力
8566
+ * 0: 关闭,RC:SRSMsg 消息仍然走消息通道发送;
8567
+ * 1: 开启,RC:SRSMsg 消息改为信令发送。
8568
+ * @since 5.46.0
8569
+ */
8570
+ sendSRSSelf?: 0 | 1;
8485
8571
  }
8486
8572
 
8487
8573
  /**
@@ -9175,8 +9261,7 @@ interface IGroupOperationInfo {
9175
9261
  */
9176
9262
  groupId: string;
9177
9263
  /**
9178
- * 操作用户
9179
- * 注意:服务端 api 操作可能为空
9264
+ * 操作人信息。通过 Server API 操作时可能为空
9180
9265
  */
9181
9266
  operatorInfo?: IGroupMemberInfo;
9182
9267
  /**
@@ -9208,9 +9293,10 @@ interface IGroupMemberInfoChanged {
9208
9293
  */
9209
9294
  groupId: string;
9210
9295
  /**
9211
- * 操作人信息
9296
+ * 操作人信息。通过 Server API 操作时可能为空
9297
+ * @description 5.44.0 版本开始,该字段声明为可选,实际场景中可能存在该字段为空的情况
9212
9298
  */
9213
- operatorInfo: IGroupMemberInfo;
9299
+ operatorInfo?: IGroupMemberInfo;
9214
9300
  /**
9215
9301
  * 变更的群成员资料列表
9216
9302
  */
@@ -9227,9 +9313,10 @@ interface IGroupMemberInfoChanged {
9227
9313
  */
9228
9314
  interface IGroupInfoChanged {
9229
9315
  /**
9230
- * 操作用户信息
9316
+ * 操作人信息。通过 Server API 操作时可能为空
9317
+ * @description 5.44.0 版本开始,该字段声明为可选,实际场景中可能存在该字段为空的情况
9231
9318
  */
9232
- operatorInfo: IGroupMemberInfo;
9319
+ operatorInfo?: IGroupMemberInfo;
9233
9320
  /**
9234
9321
  * 变更的群组信息,仅包含变更字段
9235
9322
  * @deprecated 从 5.14.0 版本开始,建议使用 `changedGroupInfo` 字段替代
@@ -9298,7 +9385,22 @@ interface IGroupFollowsChangedSync {
9298
9385
  interface IProcessCode {
9299
9386
  processCode: ErrorCode;
9300
9387
  }
9301
- declare type ICreateGroupFail = IProcessCode & IErrorKeys;
9388
+ declare type ICreateGroupFail = IProcessCode & IErrorKeys & {
9389
+ /**
9390
+ * 失败用户列表
9391
+ * @since 5.46.0
9392
+ */
9393
+ failedUserInfos: IGroupMemberInfo[];
9394
+ };
9395
+ /**
9396
+ * @since 5.46.0
9397
+ */
9398
+ declare type IInviteUserToGroupResponse = IProcessCode & {
9399
+ /**
9400
+ * 失败用户列表
9401
+ */
9402
+ failedUserInfos: IGroupMemberInfo[];
9403
+ };
9302
9404
  interface IServerGroupBaseInfo {
9303
9405
  name?: string;
9304
9406
  portraitUrl?: string;
@@ -9605,9 +9707,15 @@ declare type IGetConversationListByTimestampParams = {
9605
9707
  */
9606
9708
  topPriority?: boolean;
9607
9709
  /**
9608
- * 会话类型,值为空或长度为 0 时,获取全部会话类型
9710
+ * 会话类型,值为空或长度为 0 时,获取全部会话类型。
9711
+ * * Web 端仅在开启“会话列表支持超级群“功能后有效。
9609
9712
  */
9610
9713
  conversationTypes?: ConversationType[];
9714
+ /**
9715
+ * 会话查询未读数过滤器,默认值为 ConversationUnreadCountFilter.ALL,仅对 Electron 平台有效。
9716
+ * @since 5.44.0
9717
+ */
9718
+ unreadCountFilter?: ConversationUnreadCountFilter;
9611
9719
  };
9612
9720
 
9613
9721
  /** 已读回执用户信息 */
@@ -10366,6 +10474,9 @@ interface IIPCMethods {
10366
10474
  clearUnreadCountByTimestamp(conversation: IConversationIdentifier, timestamp: number): Promise<RCResult>;
10367
10475
  /**
10368
10476
  * 标记远程会话为已读,发送 SRSMsg 消息到服务器,并在发送成功后清理本地未读数信息
10477
+ * @param identifier 会话标识
10478
+ * @param sendOpts 发送消息参数
10479
+ * @param traceId 日志追踪 ID
10369
10480
  */
10370
10481
  markRemoteConversationAsRead(identifier: IConversationIdentifier, sendOpts: IMessageSendOptions, traceId: string): Promise<RCResult>;
10371
10482
  /**
@@ -10428,7 +10539,7 @@ interface IIPCMethods {
10428
10539
  setGroupMemberInfo(groupId: string, userId: string, nickname: string, extra?: string): Promise<RCResult<IErrorKeys>>;
10429
10540
  searchGroupMembers(groupId: string, nickName: string, option: Required<IPagingQueryOption>): Promise<RCResult<IPagingQueryResult<IGroupMemberInfo>>>;
10430
10541
  joinGroup(groupId: string): Promise<RCResult<IProcessCode>>;
10431
- inviteUsersToGroup(groupId: string, userIds: string[]): Promise<RCResult<IProcessCode>>;
10542
+ inviteUsersToGroup(groupId: string, userIds: string[]): Promise<RCResult<IInviteUserToGroupResponse>>;
10432
10543
  memberInviteResponse(params: IMemberInviteResponse): Promise<RCResult<IProcessCode>>;
10433
10544
  getGroupApplications(option: Required<IPagingQueryOption>, directions: GroupApplicationDirection[], status: GroupApplicationStatus[]): Promise<RCResult<IPagingQueryResult<IGroupApplicationInfo>>>;
10434
10545
  getJoinedGroupsByRole(role: GroupMemberRole, option: Required<IPagingQueryOption>): Promise<RCResult<IPagingQueryResult<IGroupInfo>>>;
@@ -10664,13 +10775,6 @@ interface IIPCMethods {
10664
10775
  * @param conversationTypes 会话类型
10665
10776
  */
10666
10777
  getUnreadConversationList(includeUG: boolean, conversationTypes?: ConversationType[]): Promise<RCResult<IReceivedConversation[]>>;
10667
- /**
10668
- * 分页获取会话列表,V2-Adapter Electron 独有功能,Web 平台不支持
10669
- * @param index 分页索引
10670
- * @param limit 分页数量
10671
- * @returns 会话列表
10672
- */
10673
- getConversationListByPageIndex(index: number, limit: number): Promise<RCResult<IReceivedConversation[]>>;
10674
10778
  /**
10675
10779
  * 获取全部本地会话列表,仅支持 Electron 平台
10676
10780
  * @param includeUG 会话列表支持超级群开关
@@ -10713,6 +10817,13 @@ interface IIPCMethods {
10713
10817
  batchGetMessageReactionSummaries(param: IMessageReactionSummaryQueryParam): Promise<RCResult<Record<string, IMessageReaction[]>>>;
10714
10818
  getMessageReactions(param: IGetMessageReactionsParam): Promise<RCResult<IMessageReactionsResult>>;
10715
10819
  getMessageReactionUsers(param: IGetMessageReactionUsersParam): Promise<RCResult<IMessageReactionUsersResult>>;
10820
+ /**
10821
+ * 同步已读状态,替换原 SRSMsg 使用消息通道进行发送的场景,以避免群聊场景群聊服务器节点压力过大
10822
+ * @param conversation
10823
+ * @param timestamp
10824
+ * @param clearUnread - 是否需要同步清理本端未读数,服务器记录会话未读数场景下需要清理
10825
+ */
10826
+ syncReadStatus(conversation: IConversationIdentifier, timestamp: number, clearUnread: boolean): Promise<RCResult>;
10716
10827
  }
10717
10828
 
10718
10829
  /**
@@ -11057,6 +11168,26 @@ interface IRobotInfo {
11057
11168
  updateTime: number;
11058
11169
  }
11059
11170
 
11171
+ interface ISignalInfo {
11172
+ /**
11173
+ * 接收到的服务器下行 cmp 信令标识
11174
+ */
11175
+ name: string;
11176
+ /**
11177
+ * protobuf 数据
11178
+ */
11179
+ data: Uint8Array;
11180
+ /**
11181
+ * targetId
11182
+ */
11183
+ targetId: string;
11184
+ /**
11185
+ * 信令数据时间戳
11186
+ */
11187
+ timestamp: number;
11188
+ }
11189
+ declare type ICustomSignalHandler = (info: ISignalInfo) => void;
11190
+
11060
11191
  declare type IErrorKeys = {
11061
11192
  /**
11062
11193
  * 更新错误的 key 数组
@@ -11880,6 +12011,12 @@ declare class PluginContext {
11880
12011
  * 获取统计地址
11881
12012
  */
11882
12013
  getStatsUrlList(): Promise<RCResult<string[]>>;
12014
+ /**
12015
+ * 注册自定义信令监听器,不支持 Electron 平台
12016
+ * @param signalNames - 需要监听处理的下行信令
12017
+ * @param handler - 回调函数
12018
+ */
12019
+ registerCustomSignalHandler(signalNames: string[], handler: ICustomSignalHandler): void;
11883
12020
  }
11884
12021
 
11885
12022
  interface IPluginGenerator<API, InitOption> {
@@ -12358,7 +12495,7 @@ declare class DataHosting extends BaseModule {
12358
12495
  getGroupFollows(groupId: string): Promise<RCResult<IFollowsInfo[]>>;
12359
12496
  setGroupRemark(groupId: string, remark: string): Promise<RCResult>;
12360
12497
  joinGroup(groupId: string): Promise<RCResult<IProcessCode>>;
12361
- inviteUsersToGroup(groupId: string, userIds: string[]): Promise<RCResult<IProcessCode>>;
12498
+ inviteUsersToGroup(groupId: string, userIds: string[]): Promise<RCResult<IInviteUserToGroupResponse>>;
12362
12499
  acceptGroupInvite(groupId: string, inviterId: string): Promise<RCResult>;
12363
12500
  refuseGroupInvite(groupId: string, inviterId: string, reason?: string): Promise<RCResult>;
12364
12501
  acceptGroupApplication(groupId: string, joinUserId: string, inviterId?: string): Promise<RCResult<IProcessCode>>;
@@ -12534,6 +12671,12 @@ declare class APIContext {
12534
12671
  * @param options
12535
12672
  */
12536
12673
  install<T, O>(plugin: IPluginGenerator<T, O>, options: O): T | null;
12674
+ /**
12675
+ * 注册自定义信令监听器,不支持 Electron 平台
12676
+ * @param signalNames - 需要监听处理的下行信令
12677
+ * @param handler - 回调函数
12678
+ */
12679
+ registerCustomSignalHandler(signalNames: string[], handler: ICustomSignalHandler): void;
12537
12680
  /**
12538
12681
  * 获取应用设置
12539
12682
  * @since 5.22.0
@@ -12786,13 +12929,6 @@ declare class APIContext {
12786
12929
  getTopConversationList(conversationTypes?: ConversationType[], channelId?: string): Promise<RCResult<IReceivedConversation[]>>;
12787
12930
  getUnreadConversationList(conversationTypes?: ConversationType[]): Promise<RCResult<IReceivedConversation[]>>;
12788
12931
  getBlockedConversationList(): Promise<RCResult<IReceivedConversation[]>>;
12789
- /**
12790
- * 分页获取会话列表,V2-Adapter Electron 独有功能,Web 平台不支持
12791
- * @param index 分页索引
12792
- * @param limit 分页数量
12793
- * @returns 会话列表
12794
- */
12795
- getConversationListByPageIndex(index: number, limit: number): Promise<RCResult<IReceivedConversation[]>>;
12796
12932
  /**
12797
12933
  * 获取全部本地会话列表
12798
12934
  * @param channelId 组织 ID,用于多组织场景,不传则获取全部组织会话
@@ -13439,7 +13575,7 @@ declare class RTCPluginContext extends PluginContext {
13439
13575
  /**
13440
13576
  * 会话聊天模块
13441
13577
  */
13442
- interface IChatService extends Pick<IIPCMethods, 'getTotalUnreadCount' | 'getConversation' | 'batchSetConversationToTop' | 'batchSetConversationNotificationLevel' | 'getConversationNotificationLevel' | 'setConversationTypeNotificationLevel' | 'getConversationTypeNotificationLevel' | 'clearAllSGUnreadCount' | 'deleteRemoteMessage' | 'deleteRemoteMessageByTimestamp' | 'batchClearRemoteHistoryMessages' | 'sendReadReceiptResponseV5' | 'getMessageReadReceiptInfoV5ByIdentifiers' | 'getMessagesReadReceiptUsersByPageV5' | 'getMessagesReadReceiptByUsersV5' | 'searchConversationByContent' | 'requestSpeechToTextForMessage' | 'setMessageSpeechToTextVisible' | 'addTagForConversations' | 'getTagsForConversation' | 'setConversationStatusInTag' | 'removeTagForConversations' | 'removeTagsForConversation' | 'getConversationListByTag' | 'getUnreadCountByTag' | 'getUntaggedConversationListByPage' | 'batchSetConversationTranslateStrategy' | 'modifyMessageWithParams' | 'refreshReferenceMessageWithParams' | 'batchDeleteConversations' | 'sendReadReceiptV2' | 'syncRemoteConversations' | 'sendUltraGroupTypingStatus' | 'getUltraGroupList' | 'getRemoteMessagesByUIds' | 'getUGUnreadMentionedDigest' | 'getHistoryMessagesByObjectNames' | 'getContinuousMessages' | 'getMessagesAroundTimestamp' | 'deleteLocalUGMessagesForAllChannel' | 'updateUGMessageExpansion' | 'setUGDefaultNotificationLevel' | 'getUGDefaultNotificationLevel' | 'getUnreadMentionedMessages' | 'getUnreadMentionedCount' | 'getAllUnreadMentionedCount' | 'getTotalUnreadCountByLevels' | 'getConversationUnreadCount' | 'getFirstUnreadMessage' | 'getFirstUnreadMessageDigest' | 'getUGUnreadCountForAllChannels' | 'getUGUnreadInfoList' | 'getUGFirstUnreadMessageDigest' | 'getConversations' | 'clearConversationUnreadCount' | 'markRemoteConversationAsRead' | 'getTopConversationList' | 'getUnreadConversationList' | 'getConversationListByPageIndex' | 'getAllConversationList' | 'getConversationListByTimestamp' | 'clearConversations' | 'getBlockedConversationList' | 'getBlockedUGList' | 'saveEditedMessageDraft' | 'getEditedMessageDraft' | 'clearEditedMessageDraft' | 'getUnreadMentionMeConversationList' | 'sendUltraGroupTypingStatus' | 'updateConversationReadTime' | 'clearUnreadCountByTimestamp' | 'getMessageReader' | 'getMessageReadReceiptV4' | 'sendReadReceiptMessageV4' | 'getConversationsIncludingRobots' | 'addMessageReaction' | 'removeMessageReaction' | 'batchGetMessageReactionSummaries' | 'getMessageReactions' | 'getMessageReactionUsers'> {
13578
+ interface IChatService extends Pick<IIPCMethods, 'getTotalUnreadCount' | 'getConversation' | 'batchSetConversationToTop' | 'batchSetConversationNotificationLevel' | 'getConversationNotificationLevel' | 'setConversationTypeNotificationLevel' | 'getConversationTypeNotificationLevel' | 'clearAllSGUnreadCount' | 'deleteRemoteMessage' | 'deleteRemoteMessageByTimestamp' | 'batchClearRemoteHistoryMessages' | 'sendReadReceiptResponseV5' | 'getMessageReadReceiptInfoV5ByIdentifiers' | 'getMessagesReadReceiptUsersByPageV5' | 'getMessagesReadReceiptByUsersV5' | 'searchConversationByContent' | 'requestSpeechToTextForMessage' | 'setMessageSpeechToTextVisible' | 'addTagForConversations' | 'getTagsForConversation' | 'setConversationStatusInTag' | 'removeTagForConversations' | 'removeTagsForConversation' | 'getConversationListByTag' | 'getUnreadCountByTag' | 'getUntaggedConversationListByPage' | 'batchSetConversationTranslateStrategy' | 'modifyMessageWithParams' | 'refreshReferenceMessageWithParams' | 'batchDeleteConversations' | 'sendReadReceiptV2' | 'syncRemoteConversations' | 'sendUltraGroupTypingStatus' | 'getUltraGroupList' | 'getRemoteMessagesByUIds' | 'getUGUnreadMentionedDigest' | 'getHistoryMessagesByObjectNames' | 'getContinuousMessages' | 'getMessagesAroundTimestamp' | 'deleteLocalUGMessagesForAllChannel' | 'updateUGMessageExpansion' | 'setUGDefaultNotificationLevel' | 'getUGDefaultNotificationLevel' | 'getUnreadMentionedMessages' | 'getUnreadMentionedCount' | 'getAllUnreadMentionedCount' | 'getTotalUnreadCountByLevels' | 'getConversationUnreadCount' | 'getFirstUnreadMessage' | 'getFirstUnreadMessageDigest' | 'getUGUnreadCountForAllChannels' | 'getUGUnreadInfoList' | 'getUGFirstUnreadMessageDigest' | 'getConversations' | 'clearConversationUnreadCount' | 'markRemoteConversationAsRead' | 'getTopConversationList' | 'getUnreadConversationList' | 'getAllConversationList' | 'getConversationListByTimestamp' | 'clearConversations' | 'getBlockedConversationList' | 'getBlockedUGList' | 'saveEditedMessageDraft' | 'getEditedMessageDraft' | 'clearEditedMessageDraft' | 'getUnreadMentionMeConversationList' | 'sendUltraGroupTypingStatus' | 'updateConversationReadTime' | 'clearUnreadCountByTimestamp' | 'getMessageReader' | 'getMessageReadReceiptV4' | 'sendReadReceiptMessageV4' | 'getConversationsIncludingRobots' | 'addMessageReaction' | 'removeMessageReaction' | 'batchGetMessageReactionSummaries' | 'getMessageReactions' | 'getMessageReactionUsers' | 'syncReadStatus'> {
13443
13579
  /** 超级群是否已同步完成 */
13444
13580
  get ugSynced(): boolean;
13445
13581
  getRealtimeConversations(count: number, startTime: number, order: 0 | 1): Promise<RCResult<IReceivedConversation[]>>;
@@ -13610,4 +13746,4 @@ declare const assert: (key: string, value: any, validator: AssertRules | ((value
13610
13746
  */
13611
13747
  declare const validate: (key: string, value: any, validator: AssertRules | ((value?: any) => boolean), required?: boolean) => boolean;
13612
13748
 
13613
- export { APIContext, AbsCodec, AppSettings, AreaCode, AssertRules, BaseTranslateParam, BasicLogger, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectionStatus, ConversationBatchDeletionParams, ConversationListLoader, ConversationType, DataHosting, DirectionType, EnableLogL, ErrorCode, EventEmitter, FileType, FilterRobotType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendRelationType, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupOperation, GroupOperationPermission, GroupOperationRole, GroupOperationStatus, GroupOperationType, GroupReadReceiptVersion, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAppPushConfig, IAsyncRes, IAuditInfoKeyInMessage, IAuditInfoValueInMessage, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChartroomUserAction, IChatRoomEntries, IChatRoomEntry, IChatService, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomErrorKeys, IChatroomInfo, IChatroomJoinResponse, IChatroomListener, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomService, IChatroomUser, IChatroomUserChangeInfo, IClearMessageOption, ICombineMessageContent, ICombineV2MessageContent, ICombinedMessage, ICommandMessageContent, ICommandNotificationMessageContent, IConnectionStatusListener, IConversationCachePolicy, IConversationFilter, IConversationIdentifier, IConversationListLoaderOptions, IConversationOption, IConversationStateListener, IConversationTag, IConversationTagFilter, IConversationTagListener, IConversationUnreadCount, IConvertHQVoiceMessageToTextOption, IConvertSpeechToTextOption, IConvertVoiceMessageToTextOption, ICreateGroupFail, IDataHostingService, IDataManagementInfo, IDeletedExpansion, IDownloadAuth, IEditedMessageDraft, IEngineMessageResult, IEngineWatcher, IErrorKeys, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraDataKeyInMessage, IFileMessageContent, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendRelationInfo, IGIFMessageContent, IGetConversationListByTimestampParams, IGetConversationsIncludingRobotsOption, IGetGroupMembersOption, IGetHistoryMessageOption, IGetHistoryMessageResult, IGetHistoryMessagesByTypesOption, IGetMessageReactionUsersParam, IGetMessageReactionsParam, IGetUltraGroupListOption, IGetUnreadMentionMeConversationListParams, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupNotificationMessageContent, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHQVoiceMessageContent, IHarmonyOSPushConfig, IIPCMethods, IIPCMethodsSync, IIPCMethodsWithoutResult, IImageMessageContent, IInformationNotificationMessageContent, IInsertMessage, ILocalTagStatus, ILocationMessageContent, ILogData, ILogger, IMemberInviteResponse, IMentionedInfoKeyInMessage, IMessageAttrsForUpdateExpansion, IMessageDesc, IMessageExtraData, IMessageFilter, IMessageIdentifier, IMessageListnenr, IMessageReaction, IMessageReactionEvent, IMessageReactionEventData, IMessageReactionSummaryQueryParam, IMessageReactionUser, IMessageReactionUsersResult, IMessageReactionsResult, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IMessageSendOptions, IModifyMessageParams, INaviInfo, INetwork, INotificationQuietHoursSetting, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPlatformOnlineStatus, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessCode, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, IQuoteInfo, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCUsers, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IRecallCommandMessageContent, IRecallMsgOptions, IRecallNotificationMessageContent, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IReferContentInMessage, IReferContentKeyInMessage, IReferenceMessageContent, IRefreshReferenceMessageParams, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IRequest, IResponse, IRichContentMessageContent, IRobotInfo, IRuntime, ISRSMsgContent, ISearchMessageParams, ISearchMessagesResult, ISendMsgOptions, IServerGroupBaseInfo, ISightMessageContent, ISpeechToTextInfo, ISpeechToTextResponse, IStorage, IStreamMessageContent, IStreamMessageResponseChunkData, IStreamMessageResponseEventData, ISubscribeRelationInfo, ISubscribeStatusDetail, ISubscribeUserOnlineStatus, ISubscribeUserStatusInfo, ISyncReadStatusData, ITagInfo, ITagListener, ITagParam, ITextMessageContent, ITimeRange, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraUnreadMsg, IUpdateItem, IUpdateMessageReactionParam, IUpdateMyProfileFail, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserExtraKeyInMessage, IUserExtraValueInMessage, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IUserProfileInfo, IUserSettingsChangedEvent, IUserSettingsModule, IVoiceMessageContent, IWatcher, IiOSPushConfig, InnerInsertMessageParams, InnerTransParam, InterruptionLevel, ItypingStateListener, KVString, LogDBProxy, LogL, LogLevel, LogSource, Log as LogTagId, LogType, MAX_MESSAGE_CONTENT_BYTES, MAX_U32_INTEGER, MAX_UPLOAD_FILE_SIZE, MentionedInfo, MentionedType, MessageAuditType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageModifyInfo, MessageModifyStatus, MessageReactionOperationType, MessageRegisterParams, MessageType, MessageTypeDescription, NotificationLevel, NotificationStatus, OnlineStatus, OperateStatus, Codec$1 as PBCodec, Platform, PluginContext, PushImportanceHonor, PushNotificationQuietHoursLevel, QueryFriendsDirectionType, QuoteMessageStatus, RCConnectionStatus, RCResult, RTCApiType, RTCJoinType, RTCMode, RTCPluginContext, ReadReceiptInfoV5, ReadReceiptResponseV5, ReadReceiptUser, ReadReceiptUsersOption, ReadReceiptUsersResult, ReceivedStatus, ReferenceMessageStatus, 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, VersionManage, assert, createLogDBProxy, fail, fixUrlProtocol, forEach, getMessageTypeDescription, getUUID, getUUID22, hasMessageTypeDescription, httpRequest, isArray, isBoolean, isFunction, isHttpUrl, isInteger, isLimitedString, isNull, isNumber, isObject, isString, isUndefined, isValidConversationType, isValidEnum, isValidFileType, isValidGroupId, isValidTargetId, map, notEmptyArray, notEmptyObject, notEmptyString, ok, promiseWithResolvers, runtime, trans2IReceivedStatusInfo, trans2NotificationLevel, trans2NotificationStatus, transformReceivedStatusFlag, usingCppEngine, validate };
13749
+ export { APIContext, AbsCodec, AppSettings, AreaCode, AssertRules, BaseTranslateParam, BasicLogger, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectionStatus, ConversationBatchDeletionParams, ConversationListLoader, ConversationType, ConversationUnreadCountFilter, DataHosting, DirectionType, EnableLogL, ErrorCode, EventEmitter, FileType, FilterRobotType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendRelationType, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupOperation, GroupOperationPermission, GroupOperationRole, GroupOperationStatus, GroupOperationType, GroupReadReceiptVersion, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAppPushConfig, IAsyncRes, IAuditInfoKeyInMessage, IAuditInfoValueInMessage, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChartroomUserAction, IChatRoomEntries, IChatRoomEntry, IChatService, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomErrorKeys, IChatroomInfo, IChatroomJoinResponse, IChatroomListener, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomService, IChatroomUser, IChatroomUserChangeInfo, IClearMessageOption, ICombineMessageContent, ICombineV2MessageContent, ICombinedMessage, ICommandMessageContent, ICommandNotificationMessageContent, IConnectionStatusListener, IConversationCachePolicy, IConversationFilter, IConversationIdentifier, IConversationListLoaderOptions, IConversationOption, IConversationStateListener, IConversationTag, IConversationTagFilter, IConversationTagListener, IConversationUnreadCount, IConvertHQVoiceMessageToTextOption, IConvertSpeechToTextOption, IConvertVoiceMessageToTextOption, ICreateGroupFail, ICustomSignalHandler, IDataHostingService, IDataManagementInfo, IDeletedExpansion, IDownloadAuth, IEditedMessageDraft, IEngineMessageResult, IEngineWatcher, IErrorKeys, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraDataKeyInMessage, IFileMessageContent, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendRelationInfo, IGIFMessageContent, IGetConversationListByTimestampParams, IGetConversationsIncludingRobotsOption, IGetGroupMembersOption, IGetHistoryMessageOption, IGetHistoryMessageResult, IGetHistoryMessagesByTypesOption, IGetMessageReactionUsersParam, IGetMessageReactionsParam, IGetUltraGroupListOption, IGetUnreadMentionMeConversationListParams, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupNotificationMessageContent, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHQVoiceMessageContent, IHarmonyOSPushConfig, IIPCMethods, IIPCMethodsSync, IIPCMethodsWithoutResult, IImageMessageContent, IInformationNotificationMessageContent, IInsertMessage, IInviteUserToGroupResponse, ILocalTagStatus, ILocationMessageContent, ILogData, ILogger, IMemberInviteResponse, IMentionedInfoKeyInMessage, IMessageAttrsForUpdateExpansion, IMessageDesc, IMessageExtraData, IMessageFilter, IMessageIdentifier, IMessageListnenr, IMessageReaction, IMessageReactionEvent, IMessageReactionEventData, IMessageReactionSummaryQueryParam, IMessageReactionUser, IMessageReactionUsersResult, IMessageReactionsResult, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IMessageSendOptions, IModifyMessageParams, INaviInfo, INetwork, INotificationQuietHoursSetting, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPlatformOnlineStatus, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessCode, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, IQuoteInfo, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCUsers, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IRecallCommandMessageContent, IRecallMsgOptions, IRecallNotificationMessageContent, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IReferContentInMessage, IReferContentKeyInMessage, IReferenceMessageContent, IRefreshReferenceMessageParams, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IRequest, IResponse, IRichContentMessageContent, IRobotInfo, IRuntime, ISRSMsgContent, ISearchMessageParams, ISearchMessagesResult, ISendMsgOptions, IServerGroupBaseInfo, ISightMessageContent, ISignalInfo, ISpeechToTextInfo, ISpeechToTextResponse, IStorage, IStreamMessageContent, IStreamMessageResponseChunkData, IStreamMessageResponseEventData, ISubscribeRelationInfo, ISubscribeStatusDetail, ISubscribeUserOnlineStatus, ISubscribeUserStatusInfo, ISyncReadStatusData, ITagInfo, ITagListener, ITagParam, ITextMessageContent, ITimeRange, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraUnreadMsg, IUpdateItem, IUpdateMessageReactionParam, IUpdateMyProfileFail, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserExtraKeyInMessage, IUserExtraValueInMessage, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IUserProfileInfo, IUserSettingsChangedEvent, IUserSettingsModule, IVoiceMessageContent, IWatcher, IiOSPushConfig, InnerInsertMessageParams, InnerTransParam, InterruptionLevel, ItypingStateListener, KVString, LogDBProxy, LogL, LogLevel, LogSource, Log as LogTagId, LogType, MAX_MESSAGE_CONTENT_BYTES, MAX_U32_INTEGER, MAX_UPLOAD_FILE_SIZE, MentionedInfo, MentionedType, MessageAuditType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageModifyInfo, MessageModifyStatus, MessageReactionOperationType, MessageRegisterParams, MessageType, MessageTypeDescription, NotificationLevel, NotificationStatus, OnlineStatus, OperateStatus, Codec$1 as PBCodec, Platform, PluginContext, PushImportanceHonor, PushNotificationQuietHoursLevel, QueryFriendsDirectionType, QuoteMessageStatus, RCConnectionStatus, RCResult, RTCApiType, RTCJoinType, RTCMode, RTCPluginContext, ReadReceiptInfoV5, ReadReceiptResponseV5, ReadReceiptUser, ReadReceiptUsersOption, ReadReceiptUsersResult, ReceivedStatus, ReferenceMessageStatus, 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, VersionManage, assert, createLogDBProxy, fail, fixUrlProtocol, forEach, getMessageTypeDescription, getUUID, getUUID22, hasMessageTypeDescription, httpRequest, isArray, isBoolean, isFunction, isHttpUrl, isInteger, isLimitedString, isNull, isNumber, isObject, isString, isUndefined, isValidConversationType, isValidEnum, isValidFileType, isValidGroupId, isValidTargetId, map, notEmptyArray, notEmptyObject, notEmptyString, ok, promiseWithResolvers, runtime, trans2IReceivedStatusInfo, trans2NotificationLevel, trans2NotificationStatus, transformReceivedStatusFlag, usingCppEngine, validate };