@rongcloud/engine 5.32.0-c-rtc-alpha.3 → 5.32.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
@@ -264,6 +264,8 @@ declare const Log: {
264
264
  readonly L_EVENT_LOOP_BLOCKING_S: "L-event_loop_blocking-S";
265
265
  readonly A_E_SEARCH_CONVERSATION_BY_CONTENT_T: "A-e_search_conversation_by_content-T";
266
266
  readonly A_E_SEARCH_CONVERSATION_BY_CONTENT_R: "A-e_search_conversation_by_content-R";
267
+ readonly A_LOAD_CONVERSATION_LIST_T: "A-load_conversation_list-T";
268
+ readonly A_LOAD_CONVERSATION_LIST_R: "A-load_conversation_list-R";
267
269
  readonly P_GET_SYS_VERSION_E: "P-get_sys_version-E";
268
270
  /** 清除本地缓存 */
269
271
  readonly A_CLEAR_LOCAL_CACHE_O: "A-clear_local_cache-O";
@@ -455,6 +457,10 @@ declare const Log: {
455
457
  readonly A_GET_READ_RECEIPT_V4_R: "A-get_read_receipt_V4-R";
456
458
  readonly A_BATCH_GET_READ_RECEIPT_INFO_V4_T: "A-batch_get_read_receipt_info_V4-T";
457
459
  readonly A_BATCH_GET_READ_RECEIPT_INFO_V4_R: "A-batch_get_read_receipt_info_V4-R";
460
+ readonly A_GET_ALL_ROBOTS_T: "A-get_all_robots-T";
461
+ readonly A_GET_ALL_ROBOTS_R: "A-get_all_robots-R";
462
+ readonly A_GET_ROBOT_BY_ID_T: "A-get_robot_by_id-T";
463
+ readonly A_GET_ROBOT_BY_ID_R: "A-get_robot_by_id-R";
458
464
  readonly A_ADD_FRIEND_T: "A-add_friend-T";
459
465
  readonly A_ADD_FRIEND_R: "A-add_friend-R";
460
466
  readonly A_DELETE_FRIENDS_T: "A-delete_friends-T";
@@ -549,6 +555,8 @@ declare const Log: {
549
555
  readonly A_GET_MY_USER_PROFILE_R: "A-get_my_user_profile-R";
550
556
  readonly A_UPDATE_MY_USER_PROFILE_T: "A-update_my_user_profile-T";
551
557
  readonly A_UPDATE_MY_USER_PROFILE_R: "A-update_my_user_profile-R";
558
+ readonly A_GET_CONVERSATIONS_INCLUDING_ROBOTS_T: "A-get_conversations_including_robots-T";
559
+ readonly A_GET_CONVERSATIONS_INCLUDING_ROBOTS_R: "A-get_conversations_including_robots-R";
552
560
  };
553
561
 
554
562
  /** [EN]
@@ -1268,6 +1276,11 @@ declare enum ErrorCode {
1268
1276
  * 已被对方加入黑名单,消息发送失败
1269
1277
  */
1270
1278
  REJECTED_BY_BLACKLIST = 405,
1279
+ /**
1280
+ * 407
1281
+ * 对方开启了只接收白名单的信息,但己方不在白名单中,发送消息失败
1282
+ */
1283
+ NOT_IN_WHITELIST = 407,
1271
1284
  /**
1272
1285
  * 20106
1273
1286
  * 在单聊中已被禁言
@@ -1292,12 +1305,24 @@ declare enum ErrorCode {
1292
1305
  * @since 5.26.0
1293
1306
  */
1294
1307
  CONTENT_REVIEW_REJECTED = 20113,
1308
+ /**
1309
+ * 20114
1310
+ * 消息超过可修改时间
1311
+ * @since 5.26.0
1312
+ */
1313
+ MESSAGE_OVER_MODIFY_TIME_FAIL = 20114,
1295
1314
  /**
1296
1315
  * 20115
1297
1316
  * 消息尺寸超出限制
1298
1317
  * @since 5.26.0
1299
1318
  */
1300
1319
  MESSAGE_SIZE_EXCEEDED = 20115,
1320
+ /**
1321
+ * 20116
1322
+ * 消息不支持修改
1323
+ * @since 5.26.0
1324
+ */
1325
+ MESSAGE_UNSUPPORTED_MODIFY = 20116,
1301
1326
  /**
1302
1327
  * 20512
1303
1328
  * appkey的数据中心与请求云控的数据中心不匹配
@@ -1427,7 +1452,7 @@ declare enum ErrorCode {
1427
1452
  CHATROOM_KV_OVERWRITE_INVALID = 23424,
1428
1453
  /**
1429
1454
  * 23425
1430
- * 超过聊天室中状态设置频率,1 个聊天室 1 秒钟最多设置和删除状态 100 次
1455
+ * 【已废弃】超过聊天室中状态设置频率,1 个聊天室 1 秒钟最多设置和删除状态 100 次
1431
1456
  */
1432
1457
  CHATROOM_SET_PROPERTY_OVER_FREQUENCY = 23425,
1433
1458
  /**
@@ -1452,7 +1477,7 @@ declare enum ErrorCode {
1452
1477
  CHATROOM_KV_STORE_OUT_LIMIT = 23429,
1453
1478
  /**
1454
1479
  * 23431
1455
- * 聊天室设置 KV 失败,出现在两人或者多端同时操作一个 KV。 如果出现该错误,为避免和其他端同时操作,请延时一定时间再试
1480
+ * 【已废弃】聊天室设置 KV 失败,出现在两人或者多端同时操作一个 KV。 如果出现该错误,为避免和其他端同时操作,请延时一定时间再试
1456
1481
  * @since 5.3.0
1457
1482
  */
1458
1483
  CHATROOM_KV_SET_ERROR = 23431,
@@ -1891,6 +1916,11 @@ declare enum ErrorCode {
1891
1916
  * @since 5.12.0
1892
1917
  */
1893
1918
  RC_FRIEND_NOT_ALLOW_ADD_SELF = 25473,
1919
+ /**
1920
+ * 25474
1921
+ * 不支持添加机器人为好友
1922
+ */
1923
+ RC_FRIEND_NOT_SUPPORT_ROBOT = 25474,
1894
1924
  /**
1895
1925
  * 25480
1896
1926
  * 托管资料信息审核不通过
@@ -2450,6 +2480,12 @@ declare enum ErrorCode {
2450
2480
  * @since 5.2.0
2451
2481
  */
2452
2482
  NO_TAG_IN_CONVER = 33102,
2483
+ /**
2484
+ * 33103
2485
+ * 方法执行中,请勿重复调用。
2486
+ * @since 5.32.0
2487
+ */
2488
+ METHOD_BUSY = 33103,
2453
2489
  /**
2454
2490
  * 33401
2455
2491
  * 被编辑消息是接收的或者没有发送成功的
@@ -3082,13 +3118,13 @@ declare enum ErrorCode {
3082
3118
  INVALID_PARAMETER_MESSAGE_INFO_MAP = 34345,
3083
3119
  /**
3084
3120
  * 35001
3085
- * 群组信息异常
3121
+ * 【已废弃】群组信息异常
3086
3122
  * @deprecated
3087
3123
  */
3088
3124
  GROUP_SYNC_ERROR = 35001,
3089
3125
  /**
3090
3126
  * 35002
3091
- * 匹配群信息异常
3127
+ * 【已废弃】匹配群信息异常
3092
3128
  * @deprecated
3093
3129
  */
3094
3130
  GROUP_MATCH_ERROR = 35002,
@@ -3104,7 +3140,7 @@ declare enum ErrorCode {
3104
3140
  MAIN_PROCESS_ERROR = 35005,
3105
3141
  /**
3106
3142
  * 35007
3107
- * 已连接或者内部重连中,不允许调用重连,需先调用 disconnect 方法
3143
+ * 【已废弃】已连接或者内部重连中,不允许调用重连,需先调用 disconnect 方法
3108
3144
  * @deprecated
3109
3145
  */
3110
3146
  CAN_NOT_RECONNECT = 35007,
@@ -3115,13 +3151,13 @@ declare enum ErrorCode {
3115
3151
  SERVER_UNAVAILABLE = 35008,
3116
3152
  /**
3117
3153
  * 35009
3118
- * Web 端设置安全域名后,连接端域名不在安全域名范围内
3154
+ * 【已废弃】Web 端设置安全域名后,连接端域名不在安全域名范围内
3119
3155
  * @deprecated
3120
3156
  */
3121
3157
  HOSTNAME_ERROR = 35009,
3122
3158
  /**
3123
3159
  * 35010
3124
- * 开启`禁止把已在线客户端踢下线`开关后,该错误码标识已有同类型端在线,禁止链接
3160
+ * 【已废弃】开启`禁止把已在线客户端踢下线`开关后,该错误码标识已有同类型端在线,禁止链接
3125
3161
  * @deprecated
3126
3162
  */
3127
3163
  HAS_OHTER_SAME_CLIENT_ON_LINE = 35010,
@@ -3286,24 +3322,6 @@ declare enum ErrorCode {
3286
3322
  * 开发者调用时传入的 pushData 无效
3287
3323
  */
3288
3324
  INVALID_PARAMETER_PUSH_DATA = 35050,
3289
- /**
3290
- * 35051
3291
- * dns 代理超时
3292
- * @since 5.12.2
3293
- */
3294
- DNS_PROXY_TIMEOUT = 35051,
3295
- /**
3296
- * 35052
3297
- * dns 代理错误
3298
- * @since 5.12.2
3299
- */
3300
- DNS_PROXY_ERROR = 35052,
3301
- /**
3302
- * 35053
3303
- * dns 代理数据解构错误
3304
- * @since 5.12.2
3305
- */
3306
- DNS_PROXY_DATA_DESTRUCTUR_ERROR = 35053,
3307
3325
  /**
3308
3326
  * 35054
3309
3327
  * 传入的 disableUpdateLastMessage 参数无效。在会话类型为 ULTRA GROUP 时,该字段不允许设置为 true
@@ -3378,49 +3396,49 @@ declare enum ErrorCode {
3378
3396
  TRANSLATION_TEXT_INVALID = 35065,
3379
3397
  /**
3380
3398
  * 36001
3381
- * 加入聊天室Id为空
3399
+ * 【已废弃】加入聊天室Id为空
3382
3400
  * @deprecated
3383
3401
  */
3384
3402
  CHATROOM_ID_ISNULL = 36001,
3385
3403
  /**
3386
3404
  * 36002
3387
- * 加入聊天室失败
3405
+ * 【已废弃】加入聊天室失败
3388
3406
  * @deprecated
3389
3407
  */
3390
3408
  CHARTOOM_JOIN_ERROR = 36002,
3391
3409
  /**
3392
3410
  * 36003
3393
- * 拉取聊天室历史消息失败
3411
+ * 【已废弃】拉取聊天室历史消息失败
3394
3412
  * @deprecated
3395
3413
  */
3396
3414
  CHATROOM_HISMESSAGE_ERROR = 36003,
3397
3415
  /**
3398
3416
  * 36004
3399
- * 聊天室 kv 未找到
3417
+ * 【已废弃】聊天室 kv 未找到
3400
3418
  * @deprecated
3401
3419
  */
3402
3420
  CHATROOM_KV_NOT_FOUND = 36004,
3403
3421
  /**
3404
3422
  * 37001
3405
- * 加入黑名单异常
3423
+ * 【已废弃】加入黑名单异常
3406
3424
  * @deprecated
3407
3425
  */
3408
3426
  BLACK_ADD_ERROR = 37001,
3409
3427
  /**
3410
3428
  * 37002
3411
- * 获得指定人员再黑名单中的状态异常
3429
+ * 【已废弃】获得指定人员再黑名单中的状态异常
3412
3430
  * @deprecated
3413
3431
  */
3414
3432
  BLACK_GETSTATUS_ERROR = 37002,
3415
3433
  /**
3416
3434
  * 37003
3417
- * 移除黑名单异常
3435
+ * 【已废弃】移除黑名单异常
3418
3436
  * @deprecated
3419
3437
  */
3420
3438
  BLACK_REMOVE_ERROR = 37003,
3421
3439
  /**
3422
3440
  * 38001
3423
- * 获取草稿失败
3441
+ * 【已废弃】获取草稿失败
3424
3442
  * @deprecated
3425
3443
  */
3426
3444
  DRAF_GET_ERROR = 38001,
@@ -3462,7 +3480,7 @@ declare enum ErrorCode {
3462
3480
  STREAM_MESSAGE_SYNCED = 39007,
3463
3481
  /**
3464
3482
  * 41002
3465
- * 获取七牛token失败
3483
+ * 【已废弃】获取七牛token失败
3466
3484
  * @deprecated
3467
3485
  */
3468
3486
  QNTKN_GET_ERROR = 41002,
@@ -3525,10 +3543,10 @@ declare enum ConversationType {
3525
3543
  */
3526
3544
  CUSTOMER_SERVICE = 5,
3527
3545
  /** [EN]
3528
- * System message
3546
+ * System conversation
3529
3547
  */
3530
3548
  /**
3531
- * 系统消息
3549
+ * 系统会话
3532
3550
  */
3533
3551
  SYSTEM = 6,
3534
3552
  /** [EN]
@@ -4493,6 +4511,36 @@ declare enum PushNotificationQuietHoursLevel {
4493
4511
  PUSH_NOTIFICATION_QUIET_HOURS_LEVEL_BLOCKED = 5
4494
4512
  }
4495
4513
 
4514
+ /**
4515
+ * @since 5.32.0
4516
+ * 机器人过滤类型
4517
+ * @category Enum
4518
+ */
4519
+ declare const FilterRobotType: {
4520
+ /** [EN]
4521
+ * Get results containing robots
4522
+ */
4523
+ /**
4524
+ * 获取结果包含机器人
4525
+ */
4526
+ readonly ALL: 0;
4527
+ /** [EN]
4528
+ * Get results not containing robots
4529
+ */
4530
+ /**
4531
+ * 获取结果不包含机器人
4532
+ */
4533
+ readonly EXCLUDE_ROBOT: 1;
4534
+ /** [EN]
4535
+ * Get results only containing robots
4536
+ */
4537
+ /**
4538
+ * 获取结果仅包含机器人
4539
+ */
4540
+ readonly ROBOT_ONLY: 2;
4541
+ };
4542
+ declare type FilterRobotType = (typeof FilterRobotType)[keyof typeof FilterRobotType];
4543
+
4496
4544
  /**
4497
4545
  * 消息审核类型
4498
4546
  * @category Enum
@@ -5489,11 +5537,11 @@ interface IUpdateItem {
5489
5537
  };
5490
5538
  }
5491
5539
  /** [EN]
5492
- * Data structure of conversations pulled from the server
5540
+ * Conversation data
5493
5541
  * @category Interface
5494
5542
  */
5495
5543
  /**
5496
- * 从服务器拉取到的会话数据结构
5544
+ * 会话数据
5497
5545
  * @category Interface
5498
5546
  */
5499
5547
  interface IReceivedConversation {
@@ -5690,6 +5738,15 @@ interface IReceivedConversation {
5690
5738
  * @since 5.28.0
5691
5739
  */
5692
5740
  editedMessageDraft?: IEditedMessageDraft;
5741
+ /** [EN]
5742
+ * Whether the conversation contains a robot, currently only supported for single chat and system sessions.
5743
+ * @since 5.30.0
5744
+ */
5745
+ /**
5746
+ * 是否包含机器人,当前仅支持单聊、系统会话。
5747
+ * @since 5.30.0
5748
+ */
5749
+ includeRobot?: boolean;
5693
5750
  }
5694
5751
  /** [EN]
5695
5752
  * @category Interface
@@ -6031,6 +6088,114 @@ interface IGetUnreadMentionMeConversationListParams {
6031
6088
  */
6032
6089
  conversationTypes: ConversationType[];
6033
6090
  }
6091
+ /**
6092
+ * @hidden - 本期不实现,不对外,后续拓展预留
6093
+ * @since 5.32.0
6094
+ */
6095
+ declare enum TagFilterStrategy {
6096
+ /**
6097
+ * 用于获取包含任一标签的会话列表(逻辑或)
6098
+ */
6099
+ UNION = 0,
6100
+ /**
6101
+ * 用于获取包含所有标签的会话列表(逻辑与)
6102
+ */
6103
+ INTERSECTION = 1,
6104
+ /**
6105
+ * 用于获取不包含指定标签的会话列表(逻辑非)
6106
+ */
6107
+ EXCLUSION = 2
6108
+ }
6109
+ /**
6110
+ * 标签过滤器
6111
+ * @since 5.32.0
6112
+ */
6113
+ interface IConversationTagFilter {
6114
+ /**
6115
+ * 标签 ID 列表,不传或为 [] 时,不进行标签过滤
6116
+ */
6117
+ tagIds?: string[];
6118
+ /**
6119
+ * 标签内是否置顶优先,默认 false;当 tagIds 为空时,该参数无效
6120
+ */
6121
+ topPriority?: boolean;
6122
+ /**
6123
+ * 标签过滤策略,默认使用 TagFilterStrategy.UNION,取标签下的会话列表并集;当 tagIds 为空时,该参数无效
6124
+ * @hidden - 本期不对外,后续拓展预留
6125
+ */
6126
+ strategy?: TagFilterStrategy;
6127
+ }
6128
+ /**
6129
+ * @since 5.32.0
6130
+ */
6131
+ interface IConversationListLoaderOptions {
6132
+ /**
6133
+ * 会话类型筛选,不传或为 [] 时,取全部类型会话(不支持超级群会话类型)
6134
+ */
6135
+ conversationTypes?: ConversationType[];
6136
+ /**
6137
+ * tag 过滤器,不传则不过滤
6138
+ */
6139
+ tagFilter?: IConversationTagFilter;
6140
+ /**
6141
+ * 排序方向,默认值为 0;有效值如下:
6142
+ * * 0 - 表示按时间降序,从最新的会话开始
6143
+ * * 1 - 表示按时间升序,从最早的会话开始
6144
+ */
6145
+ order?: 0 | 1;
6146
+ /**
6147
+ * 频道 Id,不传则取全部会话,传任意字符串都视为有效 channelId,包括 "" 空字符串
6148
+ * @hidden - 本期不实现,不对外,后续拓展预留
6149
+ */
6150
+ channelId?: string;
6151
+ /**
6152
+ * 是否置顶优先。
6153
+ * @hidden - 本期不实现,不对外,后续拓展预留
6154
+ */
6155
+ topPriority?: boolean;
6156
+ /**
6157
+ * 获取包含未读消息的会话
6158
+ * @hidden - 本期不实现,不对外,后续拓展预留
6159
+ */
6160
+ hasUnreadMessage?: boolean;
6161
+ /**
6162
+ * 获取免打扰会话
6163
+ * @hidden - 本期不实现,不对外,后续拓展预留
6164
+ */
6165
+ muted?: boolean;
6166
+ }
6167
+ /** [EN]
6168
+ * Get Conversation List Containing Robots Option, currently only supported for single chat and system sessions.
6169
+ * @since 5.32.0
6170
+ */
6171
+ /**
6172
+ * 获取包含机器人的会话列表参数
6173
+ * @since 5.32.0
6174
+ */
6175
+ interface IGetConversationsIncludingRobotsOption {
6176
+ /** [EN]
6177
+ * Conversation types, currently only supported for single chat and system sessions.
6178
+ */
6179
+ /**
6180
+ * 会话类型列表,目前仅支持单聊会话、系统会话。
6181
+ */
6182
+ conversationTypes: ConversationType[];
6183
+ /** [EN]
6184
+ * Get robot count, valid value range [1, 100]
6185
+ */
6186
+ /**
6187
+ * 获取机器人数量,有效值范围 [1, 100]
6188
+ */
6189
+ count: number;
6190
+ /**
6191
+ * 时间戳
6192
+ */
6193
+ timestamp: number;
6194
+ /**
6195
+ * 是否置顶优先,默认 false;该参数仅 Electron 平台支持
6196
+ */
6197
+ topPriority?: boolean;
6198
+ }
6034
6199
 
6035
6200
  /** [EN]
6036
6201
  * Read receipt response information
@@ -6240,6 +6405,16 @@ interface IReceivedStatusInfo {
6240
6405
  */
6241
6406
  isRetrieved?: boolean;
6242
6407
  }
6408
+ interface IMessageExtraData {
6409
+ /**
6410
+ * 业务层自定义排序 ID
6411
+ */
6412
+ seqId?: string;
6413
+ /**
6414
+ * 第三方消息发送时间戳,为毫秒时间
6415
+ */
6416
+ sentTime?: number;
6417
+ }
6243
6418
  /** [EN]
6244
6419
  * Message data received from the server
6245
6420
  * @category Interface
@@ -6506,6 +6681,11 @@ interface IReceivedMessage<T = any> {
6506
6681
  * * 仅支持单聊、群聊历史消息,接收在线、离线消息时无效
6507
6682
  */
6508
6683
  modifyInfo?: MessageModifyInfo;
6684
+ /**
6685
+ * 业务层发送消息时的透传数据,仅允许通过 serverApi 进行发送,SDK 不发送支持自定义
6686
+ * @hidden 暂为和讯网定制化需求
6687
+ */
6688
+ extraData?: IMessageExtraData;
6509
6689
  }
6510
6690
  /** [EN]
6511
6691
  * First unread message information
@@ -8358,6 +8538,10 @@ interface ISvrRecallNotificationMessageContent extends IExtraDataKeyInMessage, I
8358
8538
  * 是否删除接收端本地存储的原始消息
8359
8539
  */
8360
8540
  delete?: boolean;
8541
+ /**
8542
+ * 撤回消息时携带的扩展信息
8543
+ */
8544
+ extra?: string;
8361
8545
  }
8362
8546
  /** [EN]
8363
8547
  * Recall notification message content data
@@ -9847,7 +10031,8 @@ declare class Validator {
9847
10031
  isObject(key: string, value: unknown, required?: boolean): Validator;
9848
10032
  /** Object 类型检查 */
9849
10033
  assertObject(key: string, value: unknown, required?: boolean): Validator;
9850
- isValueOf<T extends Object>(key: string, value: unknown, target: T, required?: boolean): Validator;
10034
+ isStringEnum<T extends Object>(key: string, value: unknown, target: T, required?: boolean): Validator;
10035
+ isNumberEnum<T extends Object>(key: string, value: unknown, target: T, required?: boolean): Validator;
9851
10036
  assertValueOf<T extends Object>(key: string, value: unknown, target: T, required?: boolean): Validator;
9852
10037
  isFunction(key: string, value: unknown, required?: boolean): Validator;
9853
10038
  assertFunction(key: string, value: unknown, required?: boolean): Validator;
@@ -10923,6 +11108,15 @@ interface IPagingQueryOption {
10923
11108
  order?: boolean;
10924
11109
  }
10925
11110
  interface IGetGroupMembersOption extends IPagingQueryOption {
11111
+ /** [EN]
11112
+ * Robot filter rule
11113
+ * @since 5.32.0
11114
+ */
11115
+ /**
11116
+ * 机器人过滤规则
11117
+ * @since 5.32.0
11118
+ */
11119
+ filterRobotType?: FilterRobotType;
10926
11120
  }
10927
11121
  /** [EN]
10928
11122
  * Pagination request result
@@ -11203,6 +11397,15 @@ interface IGroupMemberInfo {
11203
11397
  * 入群时间:时间戳,精确到毫秒
11204
11398
  */
11205
11399
  joinedTime?: number;
11400
+ /** [EN]
11401
+ * Whether the group member is a robot
11402
+ * @since 5.32.0
11403
+ */
11404
+ /**
11405
+ * 标识成员是否为机器人
11406
+ * @since 5.32.0
11407
+ */
11408
+ isRobot?: boolean;
11206
11409
  }
11207
11410
  /** [EN]
11208
11411
  * Special attention information
@@ -11784,7 +11987,7 @@ declare type IGetConversationListByTimestampParams = {
11784
11987
  * Get Conversation Types; the value is empty or the length is 0 to get all conversation types
11785
11988
  */
11786
11989
  /**
11787
- * 会话类型,值为空或长度为 0 时,获取全部会话类型;仅 Electron 平台有效
11990
+ * 会话类型,值为空或长度为 0 时,获取全部会话类型
11788
11991
  */
11789
11992
  conversationTypes?: ConversationType[];
11790
11993
  };
@@ -12150,7 +12353,7 @@ interface IIPCMethods {
12150
12353
  /**
12151
12354
  * 退出聊天室
12152
12355
  */
12153
- quitChatroom(chatroomId: string): Promise<RCResult>;
12356
+ quitChatroom(chatroomId: string, extra?: string): Promise<RCResult>;
12154
12357
  /**
12155
12358
  * 获取聊天室信息
12156
12359
  * @param count 获取人数,范围 0 - 20
@@ -12748,6 +12951,8 @@ interface IIPCMethods {
12748
12951
  * @param enableCheck 是否开启融云消息重排开关
12749
12952
  */
12750
12953
  setCheckDuplicateMessage(enableCheck: boolean): Promise<RCResult<boolean>>;
12954
+ getAllRobots(): Promise<RCResult<IRobotInfo[]>>;
12955
+ getConversationsIncludingRobots(options: Required<IGetConversationsIncludingRobotsOption>): Promise<RCResult<IReceivedConversation[]>>;
12751
12956
  }
12752
12957
 
12753
12958
  /**
@@ -13120,6 +13325,75 @@ interface IEngineWatcher extends IConnectionListener<false> {
13120
13325
  * 消息编辑同步完成(目前只有单、群聊编辑同步事件,超级群不需要同步)
13121
13326
  */
13122
13327
  messageModifiedSyncCompleted: () => void;
13328
+ /**
13329
+ * 机器人列表同步完成
13330
+ * @since 5.30.0
13331
+ * @param code 同步结果
13332
+ * @param updatedRobots 发生变更的机器人列表,如名称变更、或为新增机器人,不包含被删除的机器人数据
13333
+ */
13334
+ robotsSynced: (code: number, updatedRobots: IRobotInfo[]) => void;
13335
+ }
13336
+
13337
+ /**
13338
+ * Robot information
13339
+ * @category Interface
13340
+ * @since 5.32.0
13341
+ */
13342
+ /**
13343
+ * 机器人信息
13344
+ * @category Interface
13345
+ * @since 5.32.0
13346
+ */
13347
+ interface IRobotInfo {
13348
+ /** [EN]
13349
+ * Robot ID
13350
+ */
13351
+ /**
13352
+ * 机器人 ID
13353
+ */
13354
+ robotId: string;
13355
+ /** [EN]
13356
+ * Robot name
13357
+ */
13358
+ /**
13359
+ * 机器人名称
13360
+ */
13361
+ name: string;
13362
+ /** [EN]
13363
+ * Robot portrait URL
13364
+ */
13365
+ /**
13366
+ * 机器人头像 URL
13367
+ */
13368
+ portraitUri: string;
13369
+ /** [EN]
13370
+ * Robot type
13371
+ */
13372
+ /**
13373
+ * 机器人类型
13374
+ */
13375
+ robotType: string;
13376
+ /** [EN]
13377
+ * Robot metadata
13378
+ */
13379
+ /**
13380
+ * 机器人 metadata
13381
+ */
13382
+ metadata: Record<string, string>;
13383
+ /** [EN]
13384
+ * Robot create time
13385
+ */
13386
+ /**
13387
+ * 机器人创建时间
13388
+ */
13389
+ createTime: number;
13390
+ /** [EN]
13391
+ * Robot update time
13392
+ */
13393
+ /**
13394
+ * 机器人更新时间
13395
+ */
13396
+ updateTime: number;
13123
13397
  }
13124
13398
 
13125
13399
  declare type IErrorKeys = {
@@ -13463,7 +13737,14 @@ declare enum AreaCode {
13463
13737
  /**
13464
13738
  * 沙特数据中心
13465
13739
  */
13466
- SA = 5
13740
+ SA = 5,
13741
+ /** [EN]
13742
+ * Oman data center
13743
+ */
13744
+ /**
13745
+ * 阿曼数据中心
13746
+ */
13747
+ OM = 6
13467
13748
  }
13468
13749
 
13469
13750
  interface ISSERequestOpts {
@@ -14178,6 +14459,13 @@ interface IWatcher {
14178
14459
  * 会话状态数据同步完成
14179
14460
  */
14180
14461
  conversationStatusSynced?: (code: number) => void;
14462
+ /**
14463
+ * 机器人列表同步完成
14464
+ * @since 5.30.0
14465
+ * @param code 同步结果
14466
+ * @param updatedRobots 发生变更的机器人列表,如名称变更、或为新增机器人,不包含被删除的机器人数据
14467
+ */
14468
+ robotsSynced?: (code: number, updatedRobots: IRobotInfo[]) => void;
14181
14469
  /**
14182
14470
  * 会话中标签状态变更监听
14183
14471
  */
@@ -14399,22 +14687,34 @@ interface IModuleContext extends Pick<IIPCMethods, 'sendMessage'> {
14399
14687
  }
14400
14688
 
14401
14689
  declare class BaseModule {
14402
- protected readonly ctx: IModuleContext;
14403
14690
  /**
14404
14691
  * 日志工具
14692
+ * @hidden
14405
14693
  */
14406
14694
  protected readonly logger: BasicLogger;
14695
+ /**
14696
+ * @hidden
14697
+ */
14698
+ protected readonly ctx: IModuleContext;
14699
+ /**
14700
+ * @hidden
14701
+ */
14407
14702
  constructor(ctx: IModuleContext);
14408
- /** 高阶函数,生成一个验证方法,验证是否处于连接中状态,并在连接状态可用时返回导航数据 */
14703
+ /**
14704
+ * 高阶函数,生成一个验证方法,验证是否处于连接中状态,并在连接状态可用时返回导航数据
14705
+ * @hidden
14706
+ */
14409
14707
  protected get validateConnected(): () => RCResult<INaviInfo>;
14410
14708
  /**
14411
14709
  * 高阶函数,生成一个验证方法,验证是否处于登录状态
14412
14710
  * * 本地数据查询时,只需要验证用户已经登录过且未主动断开,无需校验当前连接状态
14711
+ * @hidden
14413
14712
  */
14414
14713
  protected get validateLogin(): () => RCResult<INaviInfo>;
14415
14714
  /**
14416
14715
  * 检查是否已登录
14417
14716
  * @param allowSuspended 是否允许已登录但连接状态为中断状态;Electron 平台一些接口为本地数据查询,允许连接状态为中断状态
14717
+ * @hidden
14418
14718
  * @returns
14419
14719
  */
14420
14720
  protected checkAuthed(allowSuspended: boolean): RCResult<INaviInfo>;
@@ -14442,7 +14742,7 @@ declare class ChatroomModule extends BaseModule {
14442
14742
  * 退出聊天室
14443
14743
  * @param roomId
14444
14744
  */
14445
- quitChatroom(roomId: string): Promise<RCResult>;
14745
+ quitChatroom(roomId: string, extra?: string): Promise<RCResult>;
14446
14746
  /**
14447
14747
  * 获取聊天室房间数据
14448
14748
  * @description count 或 order 有一个为 0 时,只返回成员总数,不返回成员列表信息
@@ -14572,18 +14872,66 @@ declare class DataHosting extends BaseModule {
14572
14872
  /**
14573
14873
  * 会话聊天模块
14574
14874
  */
14575
- 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' | 'getTopConversationList' | 'getUnreadConversationList' | 'getConversationListByPageIndex' | 'getAllConversationList' | 'getConversationListByTimestamp' | 'clearConversations' | 'getBlockedConversationList' | 'getBlockedUGList' | 'saveEditedMessageDraft' | 'getEditedMessageDraft' | 'clearEditedMessageDraft' | 'getUnreadMentionMeConversationList' | 'sendUltraGroupTypingStatus' | 'updateConversationReadTime' | 'clearUnreadCountByTimestamp' | 'getMessageReader' | 'getMessageReadReceiptV4' | 'sendReadReceiptMessageV4'> {
14875
+ 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' | 'getTopConversationList' | 'getUnreadConversationList' | 'getConversationListByPageIndex' | 'getAllConversationList' | 'getConversationListByTimestamp' | 'clearConversations' | 'getBlockedConversationList' | 'getBlockedUGList' | 'saveEditedMessageDraft' | 'getEditedMessageDraft' | 'clearEditedMessageDraft' | 'getUnreadMentionMeConversationList' | 'sendUltraGroupTypingStatus' | 'updateConversationReadTime' | 'clearUnreadCountByTimestamp' | 'getMessageReader' | 'getMessageReadReceiptV4' | 'sendReadReceiptMessageV4' | 'getConversationsIncludingRobots'> {
14576
14876
  getRealtimeConversations(count: number, startTime: number, order: 0 | 1): Promise<RCResult<IReceivedConversation[]>>;
14577
14877
  getRealtimeConTotalUnreadCount(): Promise<RCResult<number>>;
14578
14878
  clearRealtimeConUnreadCount(identifier: IConversationIdentifier): Promise<RCResult>;
14579
14879
  removeRealtimeConversations(identifiers: IConversationIdentifier[]): Promise<RCResult>;
14580
14880
  batchGetRealtimeConUnreadCount(identifiers: IConversationIdentifier[]): Promise<RCResult<IConversationUnreadCount[]>>;
14881
+ /**
14882
+ * 分页加载会话列表
14883
+ * @param pageToken 分页 token
14884
+ * @param count 分页数量
14885
+ * @param options 会话列表加载器选项,仅 pageToken 无值时有效
14886
+ */
14887
+ loadConversationList(pageToken: string, count: number, options: IConversationListLoaderOptions): Promise<RCResult<{
14888
+ pageToken: string;
14889
+ finished: boolean;
14890
+ list: IReceivedConversation[];
14891
+ }>>;
14581
14892
  /**
14582
14893
  * 批量获取消息已读回执信息,暂仅支持群聊 (V4)
14583
14894
  */
14584
14895
  batchGetMessageReadReceiptInfoV4(conversation: IConversationIdentifier, messageUIds: string[]): Promise<RCResult<IGroupReadReceiptData[]>>;
14585
14896
  }
14586
14897
 
14898
+ /**
14899
+ * 会话列表加载器,暂不支持用于获取超级群会话列表,不支持 Electron 平台
14900
+ * @since 5.32.0
14901
+ */
14902
+ declare class ConversationListLoader extends BaseModule {
14903
+ #private;
14904
+ /**
14905
+ * @hidden
14906
+ */
14907
+ private readonly _svr;
14908
+ /**
14909
+ * @hidden
14910
+ */
14911
+ private _id;
14912
+ /**
14913
+ * @hidden
14914
+ */
14915
+ constructor(options: IConversationListLoaderOptions,
14916
+ /**
14917
+ * @hidden
14918
+ */
14919
+ _svr: IChatService, ctx: IModuleContext);
14920
+ /**
14921
+ * 是否还有更多会话
14922
+ */
14923
+ get hasMore(): boolean;
14924
+ /**
14925
+ * 是否正在加载会话列表
14926
+ */
14927
+ get isLoading(): boolean;
14928
+ /**
14929
+ * 加载会话列表
14930
+ * @param count 获取数量
14931
+ */
14932
+ load(count: number): Promise<RCResult<IReceivedConversation[]>>;
14933
+ }
14934
+
14587
14935
  declare class ChatModule extends BaseModule {
14588
14936
  #private;
14589
14937
  private readonly svr;
@@ -14591,6 +14939,7 @@ declare class ChatModule extends BaseModule {
14591
14939
  saveEditedMessageDraft(draft: IEditedMessageDraft, identifier: IConversationIdentifier): Promise<RCResult>;
14592
14940
  getEditedMessageDraft(identifier: IConversationIdentifier): Promise<RCResult<IEditedMessageDraft | null>>;
14593
14941
  clearEditedMessageDraft(identifier: IConversationIdentifier): Promise<RCResult>;
14942
+ createConversationListLoader(options?: IConversationListLoaderOptions): Promise<RCResult<ConversationListLoader>>;
14594
14943
  /**
14595
14944
  * 超级群正在输入中
14596
14945
  * @param identifier 会话标识
@@ -14645,6 +14994,7 @@ declare class ChatModule extends BaseModule {
14645
14994
  */
14646
14995
  getMessageReadReceiptV4(conversation: IConversationIdentifier, messageUId: string): Promise<RCResult<IMessageReadReceiptV4Response>>;
14647
14996
  batchGetMessageReadReceiptInfoV4(conversation: IConversationIdentifier, messageUIds: string[]): Promise<RCResult<IGroupReadReceiptData[]>>;
14997
+ getConversationsIncludingRobots(options: IGetConversationsIncludingRobotsOption): Promise<RCResult<IReceivedConversation[]>>;
14648
14998
  }
14649
14999
 
14650
15000
  declare class APIContext {
@@ -14735,6 +15085,7 @@ declare class APIContext {
14735
15085
  private _onUserSettingsSynced;
14736
15086
  private _onUserSettingsChanged;
14737
15087
  private _onConversationStatusSynced;
15088
+ private _onRobotsSynced;
14738
15089
  /**
14739
15090
  * 会话标签状态监听
14740
15091
  */
@@ -15416,6 +15767,8 @@ declare class APIContext {
15416
15767
  */
15417
15768
  deleteLocalUGMessagesForAllChannel(targetId: string, timestamp: number): Promise<RCResult>;
15418
15769
  getUnreadMentionMeConversationList(params: IGetUnreadMentionMeConversationListParams): Promise<RCResult<IReceivedConversation[]>>;
15770
+ getAllRobots(): Promise<RCResult<IRobotInfo[]>>;
15771
+ getRobotById(id: string): Promise<RCResult<IRobotInfo | null>>;
15419
15772
  }
15420
15773
 
15421
15774
  declare class RTCPluginContext extends PluginContext {
@@ -15614,7 +15967,7 @@ declare class RTCPluginContext extends PluginContext {
15614
15967
  */
15615
15968
  declare type IUserSettingsModule = Pick<IIPCMethods, 'setTranslationLanguage' | 'getTranslationLanguage' | 'setAutoTranslateEnabled' | 'getAutoTranslateEnabled'>;
15616
15969
 
15617
- declare type IIPCMethodsInEngine = Pick<IIPCMethods, 'searchMessagesWithParams' | 'createTag' | 'removeTag' | 'updateTag' | 'getTagList' | 'translateWithParams' | 'getFileUrl' | 'saveTextMessageDraft' | 'getTextMessageDraft' | 'clearTextMessageDraft' | 'getHistoryMessage' | 'clearLocalMessages' | 'deleteLocalMessages' | 'deleteLocalMessagesByTimestamp' | 'batchClearLocalMessagesByTimestamp' | 'insertMessage' | 'batchInsertMessage' | 'setMessageContent' | 'getLocalMessageCount' | 'recallMsg' | 'getSubscribeUsersOnlineStatus' | 'getSubscribeUserStatus' | 'subscribeUser' | 'unSubscribeUser' | 'getSubscribeUserList' | 'getUserProfiles' | 'getMyUserProfile' | 'updateMyUserProfile' | 'sendMessage' | 'connect' | 'disconnect' | 'addToBlacklist' | 'removeFromBlacklist' | 'getBlacklist' | 'getBlacklistStatus' | 'setMessageReceivedStatus' | 'setMessageSentStatus' | 'setCheckDuplicateMessage' | 'setProxy' | 'getProxy' | 'testProxy' | 'setUserStatusListener' | 'getFileToken' | 'rtcSignaling' | 'rtcPing' | 'setCallInfo' | 'getUserStatus' | 'searchConversationByContentWithAllChannel'>;
15970
+ declare type IIPCMethodsInEngine = Pick<IIPCMethods, 'searchMessagesWithParams' | 'createTag' | 'removeTag' | 'updateTag' | 'getTagList' | 'translateWithParams' | 'getFileUrl' | 'saveTextMessageDraft' | 'getTextMessageDraft' | 'clearTextMessageDraft' | 'getHistoryMessage' | 'clearLocalMessages' | 'deleteLocalMessages' | 'deleteLocalMessagesByTimestamp' | 'batchClearLocalMessagesByTimestamp' | 'insertMessage' | 'batchInsertMessage' | 'setMessageContent' | 'getLocalMessageCount' | 'recallMsg' | 'getSubscribeUsersOnlineStatus' | 'getSubscribeUserStatus' | 'subscribeUser' | 'unSubscribeUser' | 'getSubscribeUserList' | 'getUserProfiles' | 'getMyUserProfile' | 'updateMyUserProfile' | 'sendMessage' | 'connect' | 'disconnect' | 'addToBlacklist' | 'removeFromBlacklist' | 'getBlacklist' | 'getBlacklistStatus' | 'setMessageReceivedStatus' | 'setMessageSentStatus' | 'setCheckDuplicateMessage' | 'setProxy' | 'getProxy' | 'testProxy' | 'setUserStatusListener' | 'getFileToken' | 'rtcSignaling' | 'rtcPing' | 'setCallInfo' | 'getUserStatus' | 'searchConversationByContentWithAllChannel' | 'getAllRobots'>;
15618
15971
  declare abstract class BasicEngine implements IIPCMethodsInEngine, IModuleContext {
15619
15972
  protected readonly _watcher: IEngineWatcher;
15620
15973
  protected readonly _options: IAPIContextOption;
@@ -15939,6 +16292,7 @@ declare abstract class BasicEngine implements IIPCMethodsInEngine, IModuleContex
15939
16292
  abstract translateWithParams(list: InnerTransParam[], mode: TranslateMode, force: boolean, from: 0 | 1): Promise<RCResult>;
15940
16293
  abstract getLocalMessageCount(conversation: IConversationOption): Promise<RCResult<number>>;
15941
16294
  abstract getSubscribeUsersOnlineStatus(userIds: string[]): Promise<RCResult<ISubscribeUserOnlineStatus[]>>;
16295
+ abstract getAllRobots(): Promise<RCResult<IRobotInfo[]>>;
15942
16296
  }
15943
16297
 
15944
16298
  /**
@@ -16095,4 +16449,4 @@ declare class AppStorage {
16095
16449
  }): void;
16096
16450
  }
16097
16451
 
16098
- export { APIContext, AbsCodec, AppSettings, AppStorage, AreaCode, AssertRules, BasicEngine, BasicLogger, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectionStatus, ConversationBatchDeletionParams, ConversationType, DataHosting, DirectionType, EnableLogL, ErrorCode, EventEmitter, FileType, 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, 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, IConnectionStatusListener, IConversationFilter, IConversationIdentifier, IConversationOption, IConversationStateListener, IConversationTag, IConversationTagListener, IConversationUnreadCount, IConvertHQVoiceMessageToTextOption, IConvertSpeechToTextOption, IConvertVoiceMessageToTextOption, ICreateGroupFail, IDataHostingService, IDeletedExpansion, IDownloadAuth, IEditedMessageDraft, IEnginRefreshReferenceMessageResult, IEngineWatcher, IErrorKeys, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraDataKeyInMessage, IFileMessageContent, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendRelationInfo, IGIFMessageContent, IGetConversationListByTimestampParams, IGetGroupMembersOption, IGetHistoryMessageOption, IGetHistoryMessageResult, IGetHistoryMessagesByTypesOption, IGetUltraGroupListOption, IGetUnreadMentionMeConversationListParams, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupNotificationMessageContent, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHQVoiceMessageContent, IHarmonyOSPushConfig, IIPCMethods, IImageMessageContent, IInformationNotificationMessageContent, IInsertMessage, ILocalTagStatus, ILocationMessageContent, ILogData, ILogger, IMemberInviteResponse, IMentionedInfoKeyInMessage, IMessageAttrsForUpdateExpansion, IMessageDesc, IMessageFilter, IMessageIdentifier, IMessageListnenr, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IMessageSendOptions, IModifyMessageParams, INaviInfo, INetwork, INotificationQuietHoursSetting, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPlatformOnlineStatus, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessCode, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, 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, IRuntime, 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, 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, MessageRegisterParams, MessageType, MessageTypeDescription, NotificationLevel, NotificationStatus, OnlineStatus, OperateStatus, Codec$1 as PBCodec, Platform, PluginContext, PushImportanceHonor, PushNotificationQuietHoursLevel, QueryFriendsDirectionType, 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, logger, map, notEmptyArray, notEmptyObject, notEmptyString, ok, promiseWithResolvers, runtime, trans2IReceivedStatusInfo, trans2NotificationLevel, trans2NotificationStatus, transformReceivedStatusFlag, usingCppEngine, validate };
16452
+ export { APIContext, AbsCodec, AppSettings, AppStorage, AreaCode, AssertRules, BasicEngine, 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, 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, IConnectionStatusListener, IConversationFilter, IConversationIdentifier, IConversationListLoaderOptions, IConversationOption, IConversationStateListener, IConversationTag, IConversationTagFilter, IConversationTagListener, IConversationUnreadCount, IConvertHQVoiceMessageToTextOption, IConvertSpeechToTextOption, IConvertVoiceMessageToTextOption, ICreateGroupFail, IDataHostingService, IDeletedExpansion, IDownloadAuth, IEditedMessageDraft, IEnginRefreshReferenceMessageResult, IEngineWatcher, IErrorKeys, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraDataKeyInMessage, IFileMessageContent, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendRelationInfo, IGIFMessageContent, IGetConversationListByTimestampParams, IGetConversationsIncludingRobotsOption, IGetGroupMembersOption, IGetHistoryMessageOption, IGetHistoryMessageResult, IGetHistoryMessagesByTypesOption, IGetUltraGroupListOption, IGetUnreadMentionMeConversationListParams, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupNotificationMessageContent, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHQVoiceMessageContent, IHarmonyOSPushConfig, IIPCMethods, IImageMessageContent, IInformationNotificationMessageContent, IInsertMessage, ILocalTagStatus, ILocationMessageContent, ILogData, ILogger, IMemberInviteResponse, IMentionedInfoKeyInMessage, IMessageAttrsForUpdateExpansion, IMessageDesc, IMessageExtraData, IMessageFilter, IMessageIdentifier, IMessageListnenr, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IMessageSendOptions, IModifyMessageParams, INaviInfo, INetwork, INotificationQuietHoursSetting, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPlatformOnlineStatus, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessCode, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, 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, 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, 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, MessageRegisterParams, MessageType, MessageTypeDescription, NotificationLevel, NotificationStatus, OnlineStatus, OperateStatus, Codec$1 as PBCodec, Platform, PluginContext, PushImportanceHonor, PushNotificationQuietHoursLevel, QueryFriendsDirectionType, 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, logger, map, notEmptyArray, notEmptyObject, notEmptyString, ok, promiseWithResolvers, runtime, trans2IReceivedStatusInfo, trans2NotificationLevel, trans2NotificationStatus, transformReceivedStatusFlag, usingCppEngine, validate };