@rongcloud/engine 5.40.0 → 5.42.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
@@ -557,6 +557,16 @@ declare const Log: {
557
557
  readonly L_PULL_SG_UNREAD_COUNT_R: "L-pull_sg_unread_count-R";
558
558
  readonly A_MARK_REMOTE_CONVERSATION_AS_READ_T: "A-mark_remote_conversation_as_read-T";
559
559
  readonly A_MARK_REMOTE_CONVERSATION_AS_READ_R: "A-mark_remote_conversation_as_read-R";
560
+ readonly A_ADD_MSG_REACTION_T: "A-add_msg_reaction-T";
561
+ readonly A_ADD_MSG_REACTION_R: "A-add_msg_reaction-R";
562
+ readonly A_REMOVE_MSG_REACTION_T: "A-remove_msg_reaction-T";
563
+ readonly A_REMOVE_MSG_REACTION_R: "A-remove_msg_reaction-R";
564
+ readonly A_BATCH_GET_MSG_REACTION_SUMMARIES_T: "A-batch_get_msg_reaction_summaries-T";
565
+ readonly A_BATCH_GET_MSG_REACTION_SUMMARIES_R: "A-batch_get_msg_reaction_summaries-R";
566
+ readonly A_GET_MSG_REACTIONS_T: "A-get_msg_reactions-T";
567
+ readonly A_GET_MSG_REACTIONS_R: "A-get_msg_reactions-R";
568
+ readonly A_GET_MSG_REACTION_USERS_T: "A-get_msg_reaction_users-T";
569
+ readonly A_GET_MSG_REACTION_USERS_R: "A-get_msg_reaction_users-R";
560
570
  /** 执行自定义会话存储淘汰策略异常 */
561
571
  readonly L_EXEC_CUSTOM_CONVERSATION_STORAGE_EVICTION_E: "L-exec_custom_conversation_storage_eviction-E";
562
572
  readonly A_GET_MESSAGES_T: "A-get_msgs-T";
@@ -965,7 +975,7 @@ declare enum ErrorCode {
965
975
  REJECTED_BY_BLACKLIST = 405,
966
976
  /**
967
977
  * 407
968
- * 对方开启了只接收白名单的信息,但己方不在白名单中,发送消息失败
978
+ * 对方开启了只接收白名单的信息,但己方不在白名单中,发送消息失败。
969
979
  */
970
980
  NOT_IN_WHITELIST = 407,
971
981
  /**
@@ -982,31 +992,31 @@ declare enum ErrorCode {
982
992
  SYS_CONVERSATION_NOT_SUPPORT_MESSAGE = 20109,
983
993
  /**
984
994
  * 20112
985
- * 消息内容存在敏感词
995
+ * 消息内容存在敏感词。
986
996
  * @since 5.26.0
987
997
  */
988
998
  DANGEROUS_CONTENT = 20112,
989
999
  /**
990
1000
  * 20113
991
- * 消息内容未通过审核
1001
+ * 消息内容未通过审核。
992
1002
  * @since 5.26.0
993
1003
  */
994
1004
  CONTENT_REVIEW_REJECTED = 20113,
995
1005
  /**
996
1006
  * 20114
997
- * 消息超过可修改时间
1007
+ * 消息超过可修改时间。
998
1008
  * @since 5.26.0
999
1009
  */
1000
1010
  MESSAGE_OVER_MODIFY_TIME_FAIL = 20114,
1001
1011
  /**
1002
1012
  * 20115
1003
- * 消息大小超出限制
1013
+ * 消息大小超出限制。
1004
1014
  * @since 5.26.0
1005
1015
  */
1006
1016
  MESSAGE_SIZE_EXCEEDED = 20115,
1007
1017
  /**
1008
1018
  * 20116
1009
- * 消息不支持修改
1019
+ * 消息不支持修改。
1010
1020
  * @since 5.26.0
1011
1021
  */
1012
1022
  MESSAGE_UNSUPPORTED_MODIFY = 20116,
@@ -1023,7 +1033,7 @@ declare enum ErrorCode {
1023
1033
  SEND_FREQUENCY_TOO_FAST = 20604,
1024
1034
  /**
1025
1035
  * 20605
1026
- * 操作被禁止,此错误码已被弃用
1036
+ * 操作被禁止,此错误码已被弃用。
1027
1037
  */
1028
1038
  OPERATION_BLOCKED = 20605,
1029
1039
  /**
@@ -1053,22 +1063,22 @@ declare enum ErrorCode {
1053
1063
  SENSITIVE_REPLACE = 21502,
1054
1064
  /**
1055
1065
  * 22201
1056
- * 超级群扩展消息,但是原始消息不存在。
1066
+ * 设置扩展消息,但是原始消息不存在。
1057
1067
  */
1058
1068
  MESSAGE_EXPAND_NOT_EXIST = 22201,
1059
1069
  /**
1060
1070
  * 22202
1061
- * 超级群扩展消息,但是原始消息不支持扩展。
1071
+ * 设置扩展消息,但是原始消息不支持扩展。
1062
1072
  */
1063
1073
  MESSAGE_EXPAND_NOT_SUPPORT = 22202,
1064
1074
  /**
1065
1075
  * 22203
1066
- * 超级群扩展消息,扩展内容格式错误。
1076
+ * 设置扩展消息,扩展内容格式错误。
1067
1077
  */
1068
1078
  MESSAGE_EXPAND_FORMAT_ERROR = 22203,
1069
1079
  /**
1070
1080
  * 22204
1071
- * 超级群扩展消息,无操作权限。
1081
+ * 设置扩展消息,无操作权限。
1072
1082
  */
1073
1083
  MESSAGE_EXPAND_NOT_AUTHORIZED = 22204,
1074
1084
  /**
@@ -1229,7 +1239,7 @@ declare enum ErrorCode {
1229
1239
  RC_USER_PROFILE_QUERY_COUNT_EXCEED_LIMIT = 24365,
1230
1240
  /**
1231
1241
  * 24366
1232
- * 未在用户托管业务中查询到此用户应用号
1242
+ * 未在用户托管业务中查询到此用户应用号。
1233
1243
  * @since 5.9.10
1234
1244
  */
1235
1245
  RC_USER_PROFILE_USER_NOT_EXIST = 24366,
@@ -1288,7 +1298,7 @@ declare enum ErrorCode {
1288
1298
  ULTRA_GROUP_NOT_EXIST = 24410,
1289
1299
  /**
1290
1300
  * 24411
1291
- * 超级群成员超限制
1301
+ * 超级群成员超限制。
1292
1302
  */
1293
1303
  ULTRA_GROUP_MEMBERS_OVERSIZE = 24411,
1294
1304
  /**
@@ -1604,18 +1614,18 @@ declare enum ErrorCode {
1604
1614
  RC_FRIEND_NOT_ALLOW_ADD_SELF = 25473,
1605
1615
  /**
1606
1616
  * 25474
1607
- * 不支持添加机器人为好友
1617
+ * 不支持添加机器人为好友。
1608
1618
  */
1609
1619
  RC_FRIEND_NOT_SUPPORT_ROBOT = 25474,
1610
1620
  /**
1611
1621
  * 25480
1612
- * 托管资料信息审核不通过
1622
+ * 托管资料信息审核不通过。
1613
1623
  * @since 5.16.0
1614
1624
  */
1615
1625
  SERVICE_INFORMATION_AUDIT_FAILED = 25480,
1616
1626
  /**
1617
1627
  * 26001
1618
- * 用户级设置服务 请求参数不合法。
1628
+ * 用户级设置服务,请求参数不合法。
1619
1629
  */
1620
1630
  PUSH_PARAMETER_INVALID = 26001,
1621
1631
  /**
@@ -1635,12 +1645,12 @@ declare enum ErrorCode {
1635
1645
  RC_READ_RECEIPT_V4_INVALID = 26005,
1636
1646
  /**
1637
1647
  * 26006
1638
- * 未开通会话驱动
1648
+ * 未开通会话驱动。
1639
1649
  */
1640
1650
  RC_SERVER_DRIVE_UNREAD_COUNT_INVALID = 26006,
1641
1651
  /**
1642
1652
  * 26007
1643
- * 消息 ID 顺序错误
1653
+ * 消息 ID 顺序错误。
1644
1654
  */
1645
1655
  RC_SERVER_PARAMETER_MESSAGEUIDS_CONFUSED = 26007,
1646
1656
  /**
@@ -1680,37 +1690,37 @@ declare enum ErrorCode {
1680
1690
  INVALID_PARAMETER_SIZE_NOT_FOUND = 26107,
1681
1691
  /**
1682
1692
  * 26314
1683
- * 未开通v5
1693
+ * 未开通 v5 已读回执。
1684
1694
  */
1685
1695
  SERVICE_RRSV5_UNAVAILABLE = 26314,
1686
1696
  /**
1687
1697
  * 26315
1688
- * 不支持的已读回执方式
1698
+ * 不支持的已读回执方式。
1689
1699
  */
1690
1700
  SERVICE_RRSV5_READ_RECEIPT_NOT_SUPPORT = 26315,
1691
1701
  /**
1692
1702
  * 26316
1693
- * 参数长度超限
1703
+ * 参数长度超限。
1694
1704
  */
1695
1705
  SERVICE_RRSV5_PARAM_LENGTH_EXCEED = 26316,
1696
1706
  /**
1697
1707
  * 26317
1698
- * 不支持的会话类型
1708
+ * 不支持的会话类型。
1699
1709
  */
1700
1710
  SERVICE_RRSV5_CONVERSATION_NOT_SUPPORT = 26317,
1701
1711
  /**
1702
1712
  * 26318
1703
- * 不支持的已读查询类型
1713
+ * 不支持的已读查询类型。
1704
1714
  */
1705
1715
  SERVICE_RRSV5_QUERY_NOT_SUPPORT = 26318,
1706
1716
  /**
1707
1717
  * 26320
1708
- * 非消息发送者
1718
+ * 非消息发送者。
1709
1719
  */
1710
1720
  SERVICE_RRSV5_MESSAGE_SENDER_MISMATCH = 26320,
1711
1721
  /**
1712
1722
  * 26321
1713
- * 消息为不需要回执类型
1723
+ * 消息为不需要回执类型。
1714
1724
  */
1715
1725
  SERVICE_RRSV5_MESSAGE_RECEIPT_NEEDLESS = 26321,
1716
1726
  /**
@@ -1718,29 +1728,41 @@ declare enum ErrorCode {
1718
1728
  * 消息不存在(私有云在用,公有云没用)
1719
1729
  */
1720
1730
  SERVICE_RRSV5_MESSAGE_NOT_EXIST = 26322,
1731
+ /**
1732
+ * 26323
1733
+ * 消息回应数量超出限制
1734
+ * @since 5.42.0
1735
+ */
1736
+ MSG_REACTION_LIMIT_REACHED = 26323,
1737
+ /**
1738
+ * 26324
1739
+ * 消息回应人数超出限制
1740
+ * @since 5.42.0
1741
+ */
1742
+ MSG_REACTION_USER_LIMIT_REACHED = 26324,
1721
1743
  /**
1722
1744
  * 28300
1723
- * 语音转换服务未开启
1745
+ * 语音转换服务未开启。
1724
1746
  */
1725
1747
  SERVICE_STT_UNAVAILABLE = 28300,
1726
1748
  /**
1727
1749
  * 28304
1728
- * stt转换失败
1750
+ * stt转换失败。
1729
1751
  */
1730
1752
  SERVICE_STT_CONVERTED_FAILED = 28304,
1731
1753
  /**
1732
1754
  * 28305
1733
- * 语音转文本服务异常
1755
+ * 语音转文本服务异常。
1734
1756
  */
1735
1757
  SERVICE_STT_INTERNAL_ERROR = 28305,
1736
1758
  /**
1737
1759
  * 28306
1738
- * 语音转文本参数缺失
1760
+ * 语音转文本参数缺失。
1739
1761
  */
1740
1762
  SERVICE_STT_PARAM_MISS = 28306,
1741
1763
  /**
1742
1764
  * 28307
1743
- * 用量超过限制
1765
+ * 用量超过限制。
1744
1766
  */
1745
1767
  SERVICE_STT_USAGE_EXCEED = 28307,
1746
1768
  /**
@@ -2002,7 +2024,7 @@ declare enum ErrorCode {
2002
2024
  RC_CONN_TOKEN_EXPIRED = 31020,
2003
2025
  /**
2004
2026
  * 31021
2005
- * Token 中携带 Device ID 时,检测 Token 中 Device ID 与链接设备 Device ID 不一致
2027
+ * Token 中携带 Device ID 时,检测 Token 中 Device ID 与链接设备 Device ID 不一致。
2006
2028
  * @since 5.7.0
2007
2029
  */
2008
2030
  RC_CONN_DEVICE_ERROR = 31021,
@@ -2091,7 +2113,7 @@ declare enum ErrorCode {
2091
2113
  CONNECTION_REFUSED = 32061,
2092
2114
  /**
2093
2115
  * 32546
2094
- * 服务端解析客户端协议的密钥不正确或者 server ack code 返回不和符合预期
2116
+ * 服务端解析客户端协议的密钥不正确或者 server ack code 返回不和符合预期。
2095
2117
  */
2096
2118
  PROTOCOL_DECODE_ERROR = 32546,
2097
2119
  /**
@@ -2125,7 +2147,7 @@ declare enum ErrorCode {
2125
2147
  BIZ_ERROR_NO_CHANNEL = 33004,
2126
2148
  /**
2127
2149
  * 33005
2128
- * 重新连接成功
2150
+ * 重新连接成功。
2129
2151
  */
2130
2152
  BIZ_ERROR_RECONNECT_SUCCESS = 33005,
2131
2153
  /**
@@ -2178,33 +2200,39 @@ declare enum ErrorCode {
2178
2200
  METHOD_BUSY = 33103,
2179
2201
  /**
2180
2202
  * 33302
2181
- * SDK 拉取远端会话列表失败
2203
+ * SDK 拉取远端会话列表失败。
2182
2204
  */
2183
2205
  SDK_PULL_CONVERSATION = 33302,
2184
2206
  /**
2185
2207
  * 33401
2186
- * 被编辑消息是接收的或者没有发送成功的
2208
+ * 被编辑消息是接收的或者没有发送成功的。
2187
2209
  * @since 5.26.0
2188
2210
  */
2189
2211
  MODIFIED_MESSAGE_IS_NOT_SENT = 33401,
2190
2212
  /**
2191
2213
  * 33402
2192
- * 被编辑的消息超过修改时限
2214
+ * 被编辑的消息超过修改时限。
2193
2215
  * @since 5.26.0
2194
2216
  */
2195
2217
  MODIFIED_MESSAGE_TIMEOUT = 33402,
2196
2218
  /**
2197
2219
  * 33403
2198
- * 引用消息不存在
2220
+ * 引用消息不存在。
2199
2221
  * @since 5.38.0
2200
2222
  */
2201
2223
  QUOTE_MSG_NOT_FOUND = 33403,
2202
2224
  /**
2203
2225
  * 33404
2204
- * 引用信息不合法
2226
+ * 引用信息不合法。
2205
2227
  * @since 5.38.0
2206
2228
  */
2207
2229
  INVALID_PARAMETER_QUOTE_INFO = 33404,
2230
+ /**
2231
+ * 33405
2232
+ * 消息回应无效,ID 要求字符长度不超出 16。
2233
+ * @since 5.42.0
2234
+ */
2235
+ REACTION_ID_INVALID = 33405,
2208
2236
  /**
2209
2237
  * 34001
2210
2238
  * 连接已存在。
@@ -2213,7 +2241,7 @@ declare enum ErrorCode {
2213
2241
  RC_CONNECTION_EXIST = 34001,
2214
2242
  /**
2215
2243
  * 34005
2216
- * 连接环境不正确。
2244
+ * SDK 连接的环境配置不正确。
2217
2245
  * @since 5.2.0
2218
2246
  */
2219
2247
  PACKAGE_ENVIRONMENT_ERROR = 34005,
@@ -2290,7 +2318,7 @@ declare enum ErrorCode {
2290
2318
  METHOD_NOT_SUPPORT = 34022,
2291
2319
  /**
2292
2320
  * 34024
2293
- * 超级群频道不存在
2321
+ * 超级群频道不存在。
2294
2322
  * @since 5.2.0
2295
2323
  */
2296
2324
  ULTRA_GROUP_CHANNEL_NOT_EXIST = 34024,
@@ -2333,7 +2361,7 @@ declare enum ErrorCode {
2333
2361
  INVALID_PARAMETER_MESSAGE_CONTENT = 34205,
2334
2362
  /**
2335
2363
  * 34206
2336
- * 开发者接口调���时传入的 messageList 非法。
2364
+ * 开发者接口调用时传入的 messageList 非法。
2337
2365
  */
2338
2366
  MSG_LIMIT_ERROR = 34206,
2339
2367
  /**
@@ -2817,37 +2845,43 @@ declare enum ErrorCode {
2817
2845
  INVALID_PARAMETER_FRIEND_INFO_EXT_FIELDS = 34335,
2818
2846
  /**
2819
2847
  * 34336
2820
- * 实时会话未开启
2848
+ * 实时会话未开启。
2821
2849
  * @since 5.12.3
2822
2850
  */
2823
2851
  RC_REAL_TIME_CONVERSATION_UNAVAILABLE = 34336,
2824
2852
  /**
2825
2853
  * 34344
2826
- * 服务器数据解析失败
2854
+ * 服务器数据解析失败。
2827
2855
  * @since 5.26.0
2828
2856
  */
2829
2857
  SERVER_DATA_ERROR = 34344,
2830
2858
  /**
2831
2859
  * 34345
2832
- * 参数 messageInfoMap 非法
2860
+ * 参数 messageInfoMap 非法。
2833
2861
  * @since 5.26.0
2834
2862
  */
2835
2863
  INVALID_PARAMETER_MESSAGE_INFO_MAP = 34345,
2864
+ /**
2865
+ * 34346
2866
+ * 分页游标参数错误
2867
+ * @since 5.42.0
2868
+ */
2869
+ INVALID_PARAMETER_PAGE_TOKEN = 34346,
2836
2870
  /**
2837
2871
  * 34435
2838
- * 服务端记录会话未读数功能开启时禁止调用此方法
2872
+ * 服务端记录会话未读数功能开启时禁止调用此方法。
2839
2873
  * @since 5.32.0
2840
2874
  */
2841
2875
  SERVER_RECORD_UNREAD_COUNT_ENABLED_FORBIDDEN = 34435,
2842
2876
  /**
2843
2877
  * 34436
2844
- * 服务端记录会话未读数功能未开启
2878
+ * 服务端记录会话未读数功能未开启。
2845
2879
  * @since 5.32.0
2846
2880
  */
2847
2881
  SERVER_RECORD_UNREAD_COUNT_DISABLED = 34436,
2848
2882
  /**
2849
2883
  * 34439
2850
- * 数据库磁盘空间已满
2884
+ * 数据库磁盘空间已满。
2851
2885
  */
2852
2886
  DATABASEDISKFULL = 34439,
2853
2887
  /**
@@ -3056,39 +3090,54 @@ declare enum ErrorCode {
3056
3090
  * 开发者调用时传入的 pushData 无效。
3057
3091
  */
3058
3092
  INVALID_PARAMETER_PUSH_DATA = 35050,
3093
+ /**
3094
+ * 35051
3095
+ * 业务域名解析监听超时
3096
+ */
3097
+ DNS_PROXY_TIMEOUT = 35051,
3098
+ /**
3099
+ * 35052
3100
+ * 业务域名解析失败
3101
+ */
3102
+ DNS_PROXY_ERROR = 35052,
3103
+ /**
3104
+ * 35053
3105
+ * 业务域名解析返回结构不可用
3106
+ */
3107
+ DNS_PROXY_DATA_ERROR = 35053,
3059
3108
  /**
3060
3109
  * 35054
3061
- * 传入的 disableUpdateLastMessage 参数无效。在会话类型为 ULTRA GROUP 时,该字段不允许设置为 true
3110
+ * 传入的 disableUpdateLastMessage 参数无效。在会话类型为 ULTRA GROUP 时,该字段不允许设置为 true
3062
3111
  * @since 5.12.2
3063
3112
  */
3064
3113
  INVALID_DISABLE_UPDATE_LAST_MESSAGE = 35054,
3065
3114
  /**
3066
3115
  * 35055
3067
- * 超级群类型会话仅允许置顶默认频道
3116
+ * 超级群类型会话仅允许置顶默认频道。
3068
3117
  * @since 5.20.0
3069
3118
  */
3070
3119
  ONLY_DEFAULT_CHANNEL_SUPPORTS_PINNING = 35055,
3071
3120
  /**
3072
3121
  * 35056
3073
- * 发送消息时配置 needReceipt 错误,相关参数仅限单群聊会话内非状态消息、非群定向消息可配置,且需要开启已读回执 v5 功能
3122
+ * 发送消息时配置 needReceipt 错误,相关参数仅限单群聊会话内非状态消息、非群定向消息可配置,且需要开启已读回执 v5 功能。
3074
3123
  * @since 5.20.0
3075
3124
  */
3076
3125
  SEND_READ_RECEIPT_CONF_ERROR = 35056,
3077
3126
  /**
3078
3127
  * 35057
3079
- * 语音转文字功能未开启
3128
+ * 语音转文字功能未开启。
3080
3129
  * @since 5.22.0
3081
3130
  */
3082
3131
  SPEECH_TO_TEXT_DISABLE = 35057,
3083
3132
  /**
3084
3133
  * 35058
3085
- * 语音转文字请求进行中,请勿重复请求
3134
+ * 语音转文字请求进行中,请勿重复请求。
3086
3135
  * @since 5.22.0
3087
3136
  */
3088
3137
  SPEECH_TO_TEXT_REQUEST_IN_PROCESS = 35058,
3089
3138
  /**
3090
3139
  * 35059
3091
- * 语音内容不可转换,参数无效
3140
+ * 语音内容不可转换,参数无效。
3092
3141
  * @since 5.22.0
3093
3142
  */
3094
3143
  SPEECH_TO_TEXT_MESSAGE_CONTENT_UNSUPPORTED = 35059,
@@ -3130,7 +3179,7 @@ declare enum ErrorCode {
3130
3179
  TRANSLATION_TEXT_INVALID = 35065,
3131
3180
  /**
3132
3181
  * 35066
3133
- * 消息被拦截,不发送
3182
+ * 消息被拦截,不发送。
3134
3183
  * @since 5.24
3135
3184
  */
3136
3185
  MSG_BLOCK_SEND = 35066,
@@ -3184,7 +3233,7 @@ declare enum ErrorCode {
3184
3233
  DRAF_GET_ERROR = 38001,
3185
3234
  /**
3186
3235
  * 39001
3187
- * 流式消息不可用
3236
+ * 流式消息不可用。
3188
3237
  * @since 5.16.0
3189
3238
  */
3190
3239
  STREAM_MESSAGE_DISABLE = 39001,
@@ -3208,13 +3257,13 @@ declare enum ErrorCode {
3208
3257
  STREAM_MESSAGE_REQUEST_FAIL = 39005,
3209
3258
  /**
3210
3259
  * 39006
3211
- * 消息内容正在拉取中,请勿重复请求
3260
+ * 消息内容正在拉取中,请勿重复请求。
3212
3261
  * @since 5.16.0
3213
3262
  */
3214
3263
  STREAM_MESSAGE_REQUEST_IN_PROCESS = 39006,
3215
3264
  /**
3216
3265
  * 39007
3217
- * 流式消息已同步完成,不需要重新拉取
3266
+ * 流式消息已同步完成,不需要重新拉取。
3218
3267
  * @since 5.16.0
3219
3268
  */
3220
3269
  STREAM_MESSAGE_SYNCED = 39007,
@@ -4018,6 +4067,16 @@ declare const QuoteMessageStatus: {
4018
4067
  };
4019
4068
  declare type QuoteMessageStatus = typeof QuoteMessageStatus[keyof typeof QuoteMessageStatus];
4020
4069
 
4070
+ declare const MessageReactionOperationType: {
4071
+ /** 添加消息回应 */
4072
+ readonly ADDED: 1;
4073
+ /** 移除消息回应 */
4074
+ readonly REMOVED: 2;
4075
+ /** 清空消息回应 */
4076
+ readonly CLEARED: 3;
4077
+ };
4078
+ declare type MessageReactionOperationType = typeof MessageReactionOperationType[keyof typeof MessageReactionOperationType];
4079
+
4021
4080
  /**
4022
4081
  * 网络状态枚举
4023
4082
  */
@@ -5531,6 +5590,11 @@ interface IInnerMessage<T = any> {
5531
5590
  * @since 5.38.0
5532
5591
  */
5533
5592
  quoteInfo?: IQuoteInfo;
5593
+ /**
5594
+ * 消息是否存在回应数据
5595
+ * @since 5.42
5596
+ */
5597
+ hasReactions?: boolean;
5534
5598
  }
5535
5599
  /**
5536
5600
  * 从服务端接收到的消息数据
@@ -9241,6 +9305,213 @@ interface INotificationQuietHoursSetting {
9241
9305
  timezone?: string;
9242
9306
  }
9243
9307
 
9308
+ /**
9309
+ * 消息回应用户信息
9310
+ * @since 5.42.0
9311
+ */
9312
+ interface IMessageReactionUser {
9313
+ /**
9314
+ * 用户 ID
9315
+ */
9316
+ userId: string;
9317
+ /**
9318
+ * 回应时间戳
9319
+ */
9320
+ reactionTime: number;
9321
+ }
9322
+ /**
9323
+ * 消息回应数据
9324
+ * @since 5.42.0
9325
+ */
9326
+ interface IMessageReaction {
9327
+ /**
9328
+ * 消息唯一标识
9329
+ */
9330
+ messageUId: string;
9331
+ /**
9332
+ * 回应 Id
9333
+ */
9334
+ reactionId: string;
9335
+ /**
9336
+ * 回应用户列表中是否包含当前用户
9337
+ */
9338
+ hasCurrentUserReacted: boolean;
9339
+ /**
9340
+ * 回应用户列表
9341
+ *
9342
+ * **注意:**Web 端最多包含 10 条用户数据
9343
+ */
9344
+ users: IMessageReactionUser[];
9345
+ /**
9346
+ * 回应用户总数
9347
+ */
9348
+ totalCount: number;
9349
+ /**
9350
+ * 首次回应时间
9351
+ */
9352
+ reactionTime: number;
9353
+ }
9354
+ /**
9355
+ * 消息回应参数
9356
+ * @since 5.42.0
9357
+ */
9358
+ interface IUpdateMessageReactionParam {
9359
+ /**
9360
+ * 消息所属会话
9361
+ */
9362
+ conversationIdentifier: IConversationIdentifier;
9363
+ /**
9364
+ * 消息 UId
9365
+ */
9366
+ messageUId: string;
9367
+ /**
9368
+ * 回应 Id,不超过 16 字符
9369
+ */
9370
+ reactionId: string;
9371
+ /**
9372
+ * 推送配置
9373
+ *
9374
+ * @description 当需要向消息发送者发推送信息时,需要配置该参数
9375
+ */
9376
+ pushConfig?: IPushConfig;
9377
+ }
9378
+ /**
9379
+ * 批量查询消息回应摘要参数
9380
+ * @since 5.42.0
9381
+ */
9382
+ interface IMessageReactionSummaryQueryParam {
9383
+ /**
9384
+ * 消息所属会话
9385
+ */
9386
+ conversationIdentifier: IConversationIdentifier;
9387
+ /**
9388
+ * 消息 UId 列表,有效长度 [1, 100]
9389
+ */
9390
+ messageUIds: string[];
9391
+ }
9392
+ /**
9393
+ * 消息回应列表分页查询参数
9394
+ * @since 5.42.0
9395
+ */
9396
+ interface IGetMessageReactionsParam {
9397
+ /**
9398
+ * 消息所属会话
9399
+ */
9400
+ conversationIdentifier: IConversationIdentifier;
9401
+ /**
9402
+ * 消息 UId
9403
+ */
9404
+ messageUId: string;
9405
+ /**
9406
+ * 查询数量,有效值范围 [1, 50]
9407
+ */
9408
+ count: number;
9409
+ /**
9410
+ * 分页游标
9411
+ */
9412
+ pageToken?: string;
9413
+ }
9414
+ /**
9415
+ * 消息回应用户列表分页查询参数
9416
+ * @since 5.42.0
9417
+ */
9418
+ interface IGetMessageReactionUsersParam {
9419
+ /**
9420
+ * 消息所属会话
9421
+ */
9422
+ conversationIdentifier: IConversationIdentifier;
9423
+ /**
9424
+ * 消息 UId
9425
+ */
9426
+ messageUId: string;
9427
+ /**
9428
+ * 回应 Id
9429
+ */
9430
+ reactionId: string;
9431
+ /**
9432
+ * 查询数量,有效值范围 [1, 50]
9433
+ */
9434
+ count: number;
9435
+ /**
9436
+ * 分页游标
9437
+ */
9438
+ pageToken?: string;
9439
+ }
9440
+ /**
9441
+ * 消息回应列表分页查询结果
9442
+ * @since 5.42.0
9443
+ */
9444
+ interface IMessageReactionsResult {
9445
+ /**
9446
+ * 分页游标,用于下一页数据请求
9447
+ */
9448
+ pageToken: string;
9449
+ /**
9450
+ * 回应列表
9451
+ */
9452
+ reactions: IMessageReaction[];
9453
+ }
9454
+ /**
9455
+ * 消息回应用户列表分页查询结果
9456
+ * @since 5.42.0
9457
+ */
9458
+ interface IMessageReactionUsersResult {
9459
+ /**
9460
+ * 分页游标,用于下一页数据请求
9461
+ */
9462
+ pageToken: string;
9463
+ /**
9464
+ * 回应用户列表
9465
+ */
9466
+ users: IMessageReactionUser[];
9467
+ /**
9468
+ * 回应用户列表总数
9469
+ */
9470
+ totalCount: number;
9471
+ }
9472
+ /**
9473
+ * 消息回应事件数据
9474
+ * @since 5.42.0
9475
+ */
9476
+ interface IMessageReactionEvent {
9477
+ /**
9478
+ * 回应数据
9479
+ */
9480
+ reactions: Array<IMessageReactionEventData>;
9481
+ }
9482
+ /**
9483
+ * 消息回应事件数据
9484
+ * @since 5.42.0
9485
+ */
9486
+ interface IMessageReactionEventData {
9487
+ /**
9488
+ * 消息所属会话
9489
+ */
9490
+ conversationIdentifier: IConversationIdentifier;
9491
+ /**
9492
+ * 消息唯一标识
9493
+ */
9494
+ messageUId: string;
9495
+ /**
9496
+ * 回应 Id
9497
+ * @description - 当事件 reactionType 值为 MessageReactionOperationType.CLEAN 时,该值为空字符串
9498
+ */
9499
+ reactionId: string;
9500
+ /**
9501
+ * 回应类型
9502
+ */
9503
+ operationType: MessageReactionOperationType;
9504
+ /**
9505
+ * 回应用户增量列表
9506
+ * @description - 当事件 reactionType 值为 MessageReactionOperationType.CLEAN 时,该值为空数组
9507
+ */
9508
+ users: IMessageReactionUser[];
9509
+ /**
9510
+ * 回应用户列表总数
9511
+ */
9512
+ totalCount: number;
9513
+ }
9514
+
9244
9515
  /**
9245
9516
  * 消息类型描述
9246
9517
  */
@@ -9259,12 +9530,13 @@ declare type MessageTypeDescription = {
9259
9530
  interface MessageRegisterParams extends Omit<MessageTypeDescription, 'isCustom'> {
9260
9531
  }
9261
9532
  /**
9262
- * 获取消息类型描述
9533
+ * 获取消息类型描述,获取未注册的消息类型时返回 undefined,由调用方按需处理
9534
+ * @description 如果是未注册的消息,
9263
9535
  * @param type 消息类型
9264
9536
  * @param ignoreDefault 是否在获取不到描述时构建默认描述
9265
9537
  * @returns 消息类型描述
9266
9538
  */
9267
- declare function getMessageTypeDescription(type: string): MessageTypeDescription;
9539
+ declare function getMessageTypeDescription(type: string): MessageTypeDescription | undefined;
9268
9540
  /**
9269
9541
  * 判断消息类型是否已注册
9270
9542
  * @param type 消息类型
@@ -10402,6 +10674,11 @@ interface IIPCMethods {
10402
10674
  getAllRobots(): Promise<RCResult<IRobotInfo[]>>;
10403
10675
  getConversationsIncludingRobots(options: Required<IGetConversationsIncludingRobotsOption>): Promise<RCResult<IReceivedConversation[]>>;
10404
10676
  getMessagesByUIds(conversation: IConversationIdentifier, messageUIds: string[]): Promise<RCResult<IEngineMessageResult[]>>;
10677
+ addMessageReaction(param: IUpdateMessageReactionParam): Promise<RCResult>;
10678
+ removeMessageReaction(param: IUpdateMessageReactionParam): Promise<RCResult>;
10679
+ batchGetMessageReactionSummaries(param: IMessageReactionSummaryQueryParam): Promise<RCResult<Record<string, IMessageReaction[]>>>;
10680
+ getMessageReactions(param: IGetMessageReactionsParam): Promise<RCResult<IMessageReactionsResult>>;
10681
+ getMessageReactionUsers(param: IGetMessageReactionUsersParam): Promise<RCResult<IMessageReactionUsersResult>>;
10405
10682
  }
10406
10683
 
10407
10684
  /**
@@ -10699,6 +10976,10 @@ interface IEngineWatcher extends IConnectionListener {
10699
10976
  * 服务器记录会话未读数同步完成通知
10700
10977
  */
10701
10978
  syncServerSaveUnreadCompleted: () => void;
10979
+ /**
10980
+ * 消息回应事件
10981
+ */
10982
+ messageReaction(event: IMessageReactionEvent): void;
10702
10983
  }
10703
10984
 
10704
10985
  /**
@@ -11703,6 +11984,8 @@ interface IWatcher {
11703
11984
  messagesModified?: (messages: IReceivedMessage[]) => void;
11704
11985
  messageModifiedSyncCompleted?: () => void;
11705
11986
  syncServerSaveUnreadCompleted?: () => void;
11987
+ /** 消息回应事件通知 */
11988
+ messageReaction?: (evt: IMessageReactionEvent) => void;
11706
11989
  }
11707
11990
  interface IAPIContextOption {
11708
11991
  /**
@@ -12167,6 +12450,11 @@ declare class ChatModule extends BaseModule {
12167
12450
  batchGetMessageReadReceiptInfoV4(conversation: IConversationIdentifier, messageUIds: string[]): Promise<RCResult<IGroupReadReceiptData[]>>;
12168
12451
  getConversationsIncludingRobots(options: IGetConversationsIncludingRobotsOption): Promise<RCResult<IReceivedConversation[]>>;
12169
12452
  markRemoteConversationAsRead(identifier: IConversationIdentifier): Promise<RCResult>;
12453
+ addMessageReaction(param: IUpdateMessageReactionParam): Promise<RCResult>;
12454
+ removeMessageReaction(param: IUpdateMessageReactionParam): Promise<RCResult>;
12455
+ batchGetMessageReactionSummaries(param: IMessageReactionSummaryQueryParam): Promise<RCResult<Record<string, IMessageReaction[]>>>;
12456
+ getMessageReactions(param: IGetMessageReactionsParam): Promise<RCResult<IMessageReactionsResult>>;
12457
+ getMessageReactionUsers(param: IGetMessageReactionUsersParam): Promise<RCResult<IMessageReactionUsersResult>>;
12170
12458
  }
12171
12459
 
12172
12460
  declare class APIContext {
@@ -12311,6 +12599,7 @@ declare class APIContext {
12311
12599
 
12312
12600
 
12313
12601
 
12602
+
12314
12603
  /**
12315
12604
  * 业务层事件监听器挂载点
12316
12605
  */
@@ -13116,7 +13405,7 @@ declare class RTCPluginContext extends PluginContext {
13116
13405
  /**
13117
13406
  * 会话聊天模块
13118
13407
  */
13119
- 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'> {
13408
+ 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'> {
13120
13409
  /** 超级群是否已同步完成 */
13121
13410
  get ugSynced(): boolean;
13122
13411
  getRealtimeConversations(count: number, startTime: number, order: 0 | 1): Promise<RCResult<IReceivedConversation[]>>;
@@ -13287,4 +13576,4 @@ declare const assert: (key: string, value: any, validator: AssertRules | ((value
13287
13576
  */
13288
13577
  declare const validate: (key: string, value: any, validator: AssertRules | ((value?: any) => boolean), required?: boolean) => boolean;
13289
13578
 
13290
- 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, 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, 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, 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, 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, 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 };
13579
+ 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, 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 };