@rongcloud/engine 5.38.0 → 5.40.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +1 -1
- package/index.cjs.js +1 -1
- package/index.d.ts +308 -55
- package/index.esm.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
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
|
/**
|
|
@@ -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
|
/**
|
|
@@ -1720,27 +1730,27 @@ declare enum ErrorCode {
|
|
|
1720
1730
|
SERVICE_RRSV5_MESSAGE_NOT_EXIST = 26322,
|
|
1721
1731
|
/**
|
|
1722
1732
|
* 28300
|
|
1723
|
-
*
|
|
1733
|
+
* 语音转换服务未开启。
|
|
1724
1734
|
*/
|
|
1725
1735
|
SERVICE_STT_UNAVAILABLE = 28300,
|
|
1726
1736
|
/**
|
|
1727
1737
|
* 28304
|
|
1728
|
-
* stt
|
|
1738
|
+
* stt转换失败。
|
|
1729
1739
|
*/
|
|
1730
1740
|
SERVICE_STT_CONVERTED_FAILED = 28304,
|
|
1731
1741
|
/**
|
|
1732
1742
|
* 28305
|
|
1733
|
-
*
|
|
1743
|
+
* 语音转文本服务异常。
|
|
1734
1744
|
*/
|
|
1735
1745
|
SERVICE_STT_INTERNAL_ERROR = 28305,
|
|
1736
1746
|
/**
|
|
1737
1747
|
* 28306
|
|
1738
|
-
*
|
|
1748
|
+
* 语音转文本参数缺失。
|
|
1739
1749
|
*/
|
|
1740
1750
|
SERVICE_STT_PARAM_MISS = 28306,
|
|
1741
1751
|
/**
|
|
1742
1752
|
* 28307
|
|
1743
|
-
*
|
|
1753
|
+
* 用量超过限制。
|
|
1744
1754
|
*/
|
|
1745
1755
|
SERVICE_STT_USAGE_EXCEED = 28307,
|
|
1746
1756
|
/**
|
|
@@ -2002,7 +2012,7 @@ declare enum ErrorCode {
|
|
|
2002
2012
|
RC_CONN_TOKEN_EXPIRED = 31020,
|
|
2003
2013
|
/**
|
|
2004
2014
|
* 31021
|
|
2005
|
-
* Token 中携带 Device ID 时,检测 Token 中 Device ID 与链接设备 Device ID
|
|
2015
|
+
* Token 中携带 Device ID 时,检测 Token 中 Device ID 与链接设备 Device ID 不一致。
|
|
2006
2016
|
* @since 5.7.0
|
|
2007
2017
|
*/
|
|
2008
2018
|
RC_CONN_DEVICE_ERROR = 31021,
|
|
@@ -2091,7 +2101,7 @@ declare enum ErrorCode {
|
|
|
2091
2101
|
CONNECTION_REFUSED = 32061,
|
|
2092
2102
|
/**
|
|
2093
2103
|
* 32546
|
|
2094
|
-
* 服务端解析客户端协议的密钥不正确或者 server ack code
|
|
2104
|
+
* 服务端解析客户端协议的密钥不正确或者 server ack code 返回不和符合预期。
|
|
2095
2105
|
*/
|
|
2096
2106
|
PROTOCOL_DECODE_ERROR = 32546,
|
|
2097
2107
|
/**
|
|
@@ -2125,7 +2135,7 @@ declare enum ErrorCode {
|
|
|
2125
2135
|
BIZ_ERROR_NO_CHANNEL = 33004,
|
|
2126
2136
|
/**
|
|
2127
2137
|
* 33005
|
|
2128
|
-
*
|
|
2138
|
+
* 重新连接成功。
|
|
2129
2139
|
*/
|
|
2130
2140
|
BIZ_ERROR_RECONNECT_SUCCESS = 33005,
|
|
2131
2141
|
/**
|
|
@@ -2178,33 +2188,39 @@ declare enum ErrorCode {
|
|
|
2178
2188
|
METHOD_BUSY = 33103,
|
|
2179
2189
|
/**
|
|
2180
2190
|
* 33302
|
|
2181
|
-
* SDK
|
|
2191
|
+
* SDK 拉取远端会话列表失败。
|
|
2182
2192
|
*/
|
|
2183
2193
|
SDK_PULL_CONVERSATION = 33302,
|
|
2184
2194
|
/**
|
|
2185
2195
|
* 33401
|
|
2186
|
-
*
|
|
2196
|
+
* 被编辑消息是接收的或者没有发送成功的。
|
|
2187
2197
|
* @since 5.26.0
|
|
2188
2198
|
*/
|
|
2189
2199
|
MODIFIED_MESSAGE_IS_NOT_SENT = 33401,
|
|
2190
2200
|
/**
|
|
2191
2201
|
* 33402
|
|
2192
|
-
*
|
|
2202
|
+
* 被编辑的消息超过修改时限。
|
|
2193
2203
|
* @since 5.26.0
|
|
2194
2204
|
*/
|
|
2195
2205
|
MODIFIED_MESSAGE_TIMEOUT = 33402,
|
|
2196
2206
|
/**
|
|
2197
2207
|
* 33403
|
|
2198
|
-
*
|
|
2208
|
+
* 引用消息不存在。
|
|
2199
2209
|
* @since 5.38.0
|
|
2200
2210
|
*/
|
|
2201
2211
|
QUOTE_MSG_NOT_FOUND = 33403,
|
|
2202
2212
|
/**
|
|
2203
2213
|
* 33404
|
|
2204
|
-
*
|
|
2214
|
+
* 引用信息不合法。
|
|
2205
2215
|
* @since 5.38.0
|
|
2206
2216
|
*/
|
|
2207
2217
|
INVALID_PARAMETER_QUOTE_INFO = 33404,
|
|
2218
|
+
/**
|
|
2219
|
+
* 33405
|
|
2220
|
+
* 消息回应无效,ID 要求字符长度不超出 16。
|
|
2221
|
+
* @since 5.40.0
|
|
2222
|
+
*/
|
|
2223
|
+
REACTION_ID_INVALID = 33405,
|
|
2208
2224
|
/**
|
|
2209
2225
|
* 34001
|
|
2210
2226
|
* 连接已存在。
|
|
@@ -2213,7 +2229,7 @@ declare enum ErrorCode {
|
|
|
2213
2229
|
RC_CONNECTION_EXIST = 34001,
|
|
2214
2230
|
/**
|
|
2215
2231
|
* 34005
|
|
2216
|
-
*
|
|
2232
|
+
* SDK 连接的环境配置不正确。
|
|
2217
2233
|
* @since 5.2.0
|
|
2218
2234
|
*/
|
|
2219
2235
|
PACKAGE_ENVIRONMENT_ERROR = 34005,
|
|
@@ -2290,7 +2306,7 @@ declare enum ErrorCode {
|
|
|
2290
2306
|
METHOD_NOT_SUPPORT = 34022,
|
|
2291
2307
|
/**
|
|
2292
2308
|
* 34024
|
|
2293
|
-
*
|
|
2309
|
+
* 超级群频道不存在。
|
|
2294
2310
|
* @since 5.2.0
|
|
2295
2311
|
*/
|
|
2296
2312
|
ULTRA_GROUP_CHANNEL_NOT_EXIST = 34024,
|
|
@@ -2333,7 +2349,7 @@ declare enum ErrorCode {
|
|
|
2333
2349
|
INVALID_PARAMETER_MESSAGE_CONTENT = 34205,
|
|
2334
2350
|
/**
|
|
2335
2351
|
* 34206
|
|
2336
|
-
*
|
|
2352
|
+
* 开发者接口调用时传入的 messageList 非法。
|
|
2337
2353
|
*/
|
|
2338
2354
|
MSG_LIMIT_ERROR = 34206,
|
|
2339
2355
|
/**
|
|
@@ -2817,37 +2833,37 @@ declare enum ErrorCode {
|
|
|
2817
2833
|
INVALID_PARAMETER_FRIEND_INFO_EXT_FIELDS = 34335,
|
|
2818
2834
|
/**
|
|
2819
2835
|
* 34336
|
|
2820
|
-
*
|
|
2836
|
+
* 实时会话未开启。
|
|
2821
2837
|
* @since 5.12.3
|
|
2822
2838
|
*/
|
|
2823
2839
|
RC_REAL_TIME_CONVERSATION_UNAVAILABLE = 34336,
|
|
2824
2840
|
/**
|
|
2825
2841
|
* 34344
|
|
2826
|
-
*
|
|
2842
|
+
* 服务器数据解析失败。
|
|
2827
2843
|
* @since 5.26.0
|
|
2828
2844
|
*/
|
|
2829
2845
|
SERVER_DATA_ERROR = 34344,
|
|
2830
2846
|
/**
|
|
2831
2847
|
* 34345
|
|
2832
|
-
* 参数 messageInfoMap
|
|
2848
|
+
* 参数 messageInfoMap 非法。
|
|
2833
2849
|
* @since 5.26.0
|
|
2834
2850
|
*/
|
|
2835
2851
|
INVALID_PARAMETER_MESSAGE_INFO_MAP = 34345,
|
|
2836
2852
|
/**
|
|
2837
2853
|
* 34435
|
|
2838
|
-
*
|
|
2854
|
+
* 服务端记录会话未读数功能开启时禁止调用此方法。
|
|
2839
2855
|
* @since 5.32.0
|
|
2840
2856
|
*/
|
|
2841
2857
|
SERVER_RECORD_UNREAD_COUNT_ENABLED_FORBIDDEN = 34435,
|
|
2842
2858
|
/**
|
|
2843
2859
|
* 34436
|
|
2844
|
-
*
|
|
2860
|
+
* 服务端记录会话未读数功能未开启。
|
|
2845
2861
|
* @since 5.32.0
|
|
2846
2862
|
*/
|
|
2847
2863
|
SERVER_RECORD_UNREAD_COUNT_DISABLED = 34436,
|
|
2848
2864
|
/**
|
|
2849
2865
|
* 34439
|
|
2850
|
-
*
|
|
2866
|
+
* 数据库磁盘空间已满。
|
|
2851
2867
|
*/
|
|
2852
2868
|
DATABASEDISKFULL = 34439,
|
|
2853
2869
|
/**
|
|
@@ -3058,37 +3074,37 @@ declare enum ErrorCode {
|
|
|
3058
3074
|
INVALID_PARAMETER_PUSH_DATA = 35050,
|
|
3059
3075
|
/**
|
|
3060
3076
|
* 35054
|
|
3061
|
-
* 传入的 disableUpdateLastMessage 参数无效。在会话类型为 ULTRA GROUP 时,该字段不允许设置为 true
|
|
3077
|
+
* 传入的 disableUpdateLastMessage 参数无效。在会话类型为 ULTRA GROUP 时,该字段不允许设置为 true。
|
|
3062
3078
|
* @since 5.12.2
|
|
3063
3079
|
*/
|
|
3064
3080
|
INVALID_DISABLE_UPDATE_LAST_MESSAGE = 35054,
|
|
3065
3081
|
/**
|
|
3066
3082
|
* 35055
|
|
3067
|
-
*
|
|
3083
|
+
* 超级群类型会话仅允许置顶默认频道。
|
|
3068
3084
|
* @since 5.20.0
|
|
3069
3085
|
*/
|
|
3070
3086
|
ONLY_DEFAULT_CHANNEL_SUPPORTS_PINNING = 35055,
|
|
3071
3087
|
/**
|
|
3072
3088
|
* 35056
|
|
3073
|
-
* 发送消息时配置 needReceipt 错误,相关参数仅限单群聊会话内非状态消息、非群定向消息可配置,且需要开启已读回执 v5
|
|
3089
|
+
* 发送消息时配置 needReceipt 错误,相关参数仅限单群聊会话内非状态消息、非群定向消息可配置,且需要开启已读回执 v5 功能。
|
|
3074
3090
|
* @since 5.20.0
|
|
3075
3091
|
*/
|
|
3076
3092
|
SEND_READ_RECEIPT_CONF_ERROR = 35056,
|
|
3077
3093
|
/**
|
|
3078
3094
|
* 35057
|
|
3079
|
-
*
|
|
3095
|
+
* 语音转文字功能未开启。
|
|
3080
3096
|
* @since 5.22.0
|
|
3081
3097
|
*/
|
|
3082
3098
|
SPEECH_TO_TEXT_DISABLE = 35057,
|
|
3083
3099
|
/**
|
|
3084
3100
|
* 35058
|
|
3085
|
-
*
|
|
3101
|
+
* 语音转文字请求进行中,请勿重复请求。
|
|
3086
3102
|
* @since 5.22.0
|
|
3087
3103
|
*/
|
|
3088
3104
|
SPEECH_TO_TEXT_REQUEST_IN_PROCESS = 35058,
|
|
3089
3105
|
/**
|
|
3090
3106
|
* 35059
|
|
3091
|
-
*
|
|
3107
|
+
* 语音内容不可转换,参数无效。
|
|
3092
3108
|
* @since 5.22.0
|
|
3093
3109
|
*/
|
|
3094
3110
|
SPEECH_TO_TEXT_MESSAGE_CONTENT_UNSUPPORTED = 35059,
|
|
@@ -3130,7 +3146,7 @@ declare enum ErrorCode {
|
|
|
3130
3146
|
TRANSLATION_TEXT_INVALID = 35065,
|
|
3131
3147
|
/**
|
|
3132
3148
|
* 35066
|
|
3133
|
-
*
|
|
3149
|
+
* 消息被拦截,不发送。
|
|
3134
3150
|
* @since 5.24
|
|
3135
3151
|
*/
|
|
3136
3152
|
MSG_BLOCK_SEND = 35066,
|
|
@@ -3184,7 +3200,7 @@ declare enum ErrorCode {
|
|
|
3184
3200
|
DRAF_GET_ERROR = 38001,
|
|
3185
3201
|
/**
|
|
3186
3202
|
* 39001
|
|
3187
|
-
*
|
|
3203
|
+
* 流式消息不可用。
|
|
3188
3204
|
* @since 5.16.0
|
|
3189
3205
|
*/
|
|
3190
3206
|
STREAM_MESSAGE_DISABLE = 39001,
|
|
@@ -3208,13 +3224,13 @@ declare enum ErrorCode {
|
|
|
3208
3224
|
STREAM_MESSAGE_REQUEST_FAIL = 39005,
|
|
3209
3225
|
/**
|
|
3210
3226
|
* 39006
|
|
3211
|
-
*
|
|
3227
|
+
* 消息内容正在拉取中,请勿重复请求。
|
|
3212
3228
|
* @since 5.16.0
|
|
3213
3229
|
*/
|
|
3214
3230
|
STREAM_MESSAGE_REQUEST_IN_PROCESS = 39006,
|
|
3215
3231
|
/**
|
|
3216
3232
|
* 39007
|
|
3217
|
-
*
|
|
3233
|
+
* 流式消息已同步完成,不需要重新拉取。
|
|
3218
3234
|
* @since 5.16.0
|
|
3219
3235
|
*/
|
|
3220
3236
|
STREAM_MESSAGE_SYNCED = 39007,
|
|
@@ -4018,6 +4034,16 @@ declare const QuoteMessageStatus: {
|
|
|
4018
4034
|
};
|
|
4019
4035
|
declare type QuoteMessageStatus = typeof QuoteMessageStatus[keyof typeof QuoteMessageStatus];
|
|
4020
4036
|
|
|
4037
|
+
declare const MessageReactionType: {
|
|
4038
|
+
/** 添加消息回应 */
|
|
4039
|
+
readonly ADDED: 1;
|
|
4040
|
+
/** 移除消息回应 */
|
|
4041
|
+
readonly REMOVED: 2;
|
|
4042
|
+
/** 清空消息回应 */
|
|
4043
|
+
readonly CLEAN: 3;
|
|
4044
|
+
};
|
|
4045
|
+
declare type MessageReactionType = typeof MessageReactionType[keyof typeof MessageReactionType];
|
|
4046
|
+
|
|
4021
4047
|
/**
|
|
4022
4048
|
* 网络状态枚举
|
|
4023
4049
|
*/
|
|
@@ -5531,6 +5557,11 @@ interface IInnerMessage<T = any> {
|
|
|
5531
5557
|
* @since 5.38.0
|
|
5532
5558
|
*/
|
|
5533
5559
|
quoteInfo?: IQuoteInfo;
|
|
5560
|
+
/**
|
|
5561
|
+
* 消息是否存在回应数据
|
|
5562
|
+
* @since 5.40
|
|
5563
|
+
*/
|
|
5564
|
+
hasReactions?: boolean;
|
|
5534
5565
|
}
|
|
5535
5566
|
/**
|
|
5536
5567
|
* 从服务端接收到的消息数据
|
|
@@ -9226,6 +9257,211 @@ interface INotificationQuietHoursSetting {
|
|
|
9226
9257
|
timezone?: string;
|
|
9227
9258
|
}
|
|
9228
9259
|
|
|
9260
|
+
/**
|
|
9261
|
+
* 消息回应用户信息
|
|
9262
|
+
* @since 5.40.0
|
|
9263
|
+
*/
|
|
9264
|
+
interface IMessageReactionUser {
|
|
9265
|
+
/**
|
|
9266
|
+
* 用户 ID
|
|
9267
|
+
*/
|
|
9268
|
+
userId: string;
|
|
9269
|
+
/**
|
|
9270
|
+
* 回应时间戳
|
|
9271
|
+
*/
|
|
9272
|
+
reactionTime: number;
|
|
9273
|
+
}
|
|
9274
|
+
/**
|
|
9275
|
+
* 消息回应数据
|
|
9276
|
+
* @since 5.40.0
|
|
9277
|
+
*/
|
|
9278
|
+
interface IMessageReaction {
|
|
9279
|
+
/**
|
|
9280
|
+
* 消息唯一标识
|
|
9281
|
+
*/
|
|
9282
|
+
messageUId: string;
|
|
9283
|
+
/**
|
|
9284
|
+
* 回应 Id
|
|
9285
|
+
*/
|
|
9286
|
+
reactionId: string;
|
|
9287
|
+
/**
|
|
9288
|
+
* 回应用户列表中是否包含当前用户
|
|
9289
|
+
*/
|
|
9290
|
+
hasCurrentUserReacted: boolean;
|
|
9291
|
+
/**
|
|
9292
|
+
* 回应用户列表
|
|
9293
|
+
*
|
|
9294
|
+
* **注意:**Web 端最多包含 10 条用户数据
|
|
9295
|
+
*/
|
|
9296
|
+
users: IMessageReactionUser[];
|
|
9297
|
+
/**
|
|
9298
|
+
* 回应用户总数
|
|
9299
|
+
*/
|
|
9300
|
+
totalCount: number;
|
|
9301
|
+
/**
|
|
9302
|
+
* 首次回应时间
|
|
9303
|
+
*/
|
|
9304
|
+
reactionTime: number;
|
|
9305
|
+
}
|
|
9306
|
+
/**
|
|
9307
|
+
* 消息回应参数
|
|
9308
|
+
* @since 5.40.0
|
|
9309
|
+
*/
|
|
9310
|
+
interface IUpdateMessageReactionParam {
|
|
9311
|
+
/**
|
|
9312
|
+
* 消息所属会话
|
|
9313
|
+
*/
|
|
9314
|
+
conversationIdentifier: IConversationIdentifier;
|
|
9315
|
+
/**
|
|
9316
|
+
* 消息 UId
|
|
9317
|
+
*/
|
|
9318
|
+
messageUId: string;
|
|
9319
|
+
/**
|
|
9320
|
+
* 回应 Id,不超过 16 字符
|
|
9321
|
+
*/
|
|
9322
|
+
reactionId: string;
|
|
9323
|
+
/**
|
|
9324
|
+
* 推送配置
|
|
9325
|
+
*
|
|
9326
|
+
* @description 当需要向消息发送者发推送信息时,需要配置该参数
|
|
9327
|
+
*/
|
|
9328
|
+
pushConfig?: IPushConfig;
|
|
9329
|
+
}
|
|
9330
|
+
/**
|
|
9331
|
+
* 批量查询消息回应摘要参数
|
|
9332
|
+
* @since 5.40.0
|
|
9333
|
+
*/
|
|
9334
|
+
interface IMessageReactionSummaryQueryParam {
|
|
9335
|
+
/**
|
|
9336
|
+
* 消息所属会话
|
|
9337
|
+
*/
|
|
9338
|
+
conversationIdentifier: IConversationIdentifier;
|
|
9339
|
+
/**
|
|
9340
|
+
* 消息 UId 列表,有效长度 [1, 100]
|
|
9341
|
+
*/
|
|
9342
|
+
messageUIds: string[];
|
|
9343
|
+
}
|
|
9344
|
+
/**
|
|
9345
|
+
* 消息回应列表分页查询参数
|
|
9346
|
+
* @since 5.40.0
|
|
9347
|
+
*/
|
|
9348
|
+
interface IGetMessageReactionsParam {
|
|
9349
|
+
/**
|
|
9350
|
+
* 消息所属会话
|
|
9351
|
+
*/
|
|
9352
|
+
conversationIdentifier: IConversationIdentifier;
|
|
9353
|
+
/**
|
|
9354
|
+
* 消息 UId
|
|
9355
|
+
*/
|
|
9356
|
+
messageUId: string;
|
|
9357
|
+
/**
|
|
9358
|
+
* 查询数量,有效值范围 [1, 50]
|
|
9359
|
+
*/
|
|
9360
|
+
count: number;
|
|
9361
|
+
/**
|
|
9362
|
+
* 分页游标
|
|
9363
|
+
*/
|
|
9364
|
+
pageToken?: string;
|
|
9365
|
+
}
|
|
9366
|
+
/**
|
|
9367
|
+
* 消息回应用户列表分页查询参数
|
|
9368
|
+
* @since 5.40.0
|
|
9369
|
+
*/
|
|
9370
|
+
interface IGetMessageReactionUsersParam {
|
|
9371
|
+
/**
|
|
9372
|
+
* 消息所属会话
|
|
9373
|
+
*/
|
|
9374
|
+
conversationIdentifier: IConversationIdentifier;
|
|
9375
|
+
/**
|
|
9376
|
+
* 消息 UId
|
|
9377
|
+
*/
|
|
9378
|
+
messageUId: string;
|
|
9379
|
+
/**
|
|
9380
|
+
* 回应 Id
|
|
9381
|
+
*/
|
|
9382
|
+
reactionId: string;
|
|
9383
|
+
/**
|
|
9384
|
+
* 查询数量,有效值范围 [1, 50]
|
|
9385
|
+
*/
|
|
9386
|
+
count: number;
|
|
9387
|
+
/**
|
|
9388
|
+
* 分页游标
|
|
9389
|
+
*/
|
|
9390
|
+
pageToken?: string;
|
|
9391
|
+
}
|
|
9392
|
+
/**
|
|
9393
|
+
* 消息回应列表分页查询结果
|
|
9394
|
+
* @since 5.40.0
|
|
9395
|
+
*/
|
|
9396
|
+
interface IMessageReactionsResult {
|
|
9397
|
+
/**
|
|
9398
|
+
* 分页游标,用于下一页数据请求
|
|
9399
|
+
*/
|
|
9400
|
+
pageToken: string;
|
|
9401
|
+
/**
|
|
9402
|
+
* 回应列表
|
|
9403
|
+
*/
|
|
9404
|
+
reactions: IMessageReaction[];
|
|
9405
|
+
}
|
|
9406
|
+
/**
|
|
9407
|
+
* 消息回应用户列表分页查询结果
|
|
9408
|
+
* @since 5.40.0
|
|
9409
|
+
*/
|
|
9410
|
+
interface IMessageReactionUsersResult {
|
|
9411
|
+
/**
|
|
9412
|
+
* 分页游标,用于下一页数据请求
|
|
9413
|
+
*/
|
|
9414
|
+
pageToken: string;
|
|
9415
|
+
/**
|
|
9416
|
+
* 回应用户列表
|
|
9417
|
+
*/
|
|
9418
|
+
users: IMessageReactionUser[];
|
|
9419
|
+
/**
|
|
9420
|
+
* 回应用户列表总数
|
|
9421
|
+
*/
|
|
9422
|
+
totalCount: number;
|
|
9423
|
+
}
|
|
9424
|
+
/**
|
|
9425
|
+
* 消息回应事件数据
|
|
9426
|
+
* @since 5.40.0
|
|
9427
|
+
*/
|
|
9428
|
+
interface IMessageReactionEvent {
|
|
9429
|
+
/**
|
|
9430
|
+
* 回应数据
|
|
9431
|
+
*/
|
|
9432
|
+
reactions: Array<IMessageReactionEventData>;
|
|
9433
|
+
}
|
|
9434
|
+
/**
|
|
9435
|
+
* 消息回应事件数据
|
|
9436
|
+
* @since 5.40.0
|
|
9437
|
+
*/
|
|
9438
|
+
interface IMessageReactionEventData {
|
|
9439
|
+
/**
|
|
9440
|
+
* 消息所属会话
|
|
9441
|
+
*/
|
|
9442
|
+
conversationIdentifier: IConversationIdentifier;
|
|
9443
|
+
/**
|
|
9444
|
+
* 消息唯一标识
|
|
9445
|
+
*/
|
|
9446
|
+
messageUId: string;
|
|
9447
|
+
/**
|
|
9448
|
+
* 回应 Id
|
|
9449
|
+
*/
|
|
9450
|
+
reactionId: string;
|
|
9451
|
+
/**
|
|
9452
|
+
* 回应类型
|
|
9453
|
+
*/
|
|
9454
|
+
reactionType: MessageReactionType;
|
|
9455
|
+
/**
|
|
9456
|
+
* 回应用户增量列表
|
|
9457
|
+
*/
|
|
9458
|
+
users: IMessageReactionUser[];
|
|
9459
|
+
/**
|
|
9460
|
+
* 回应用户列表总数
|
|
9461
|
+
*/
|
|
9462
|
+
totalCount: number;
|
|
9463
|
+
}
|
|
9464
|
+
|
|
9229
9465
|
/**
|
|
9230
9466
|
* 消息类型描述
|
|
9231
9467
|
*/
|
|
@@ -10348,6 +10584,11 @@ interface IIPCMethods {
|
|
|
10348
10584
|
getAllRobots(): Promise<RCResult<IRobotInfo[]>>;
|
|
10349
10585
|
getConversationsIncludingRobots(options: Required<IGetConversationsIncludingRobotsOption>): Promise<RCResult<IReceivedConversation[]>>;
|
|
10350
10586
|
getMessagesByUIds(conversation: IConversationIdentifier, messageUIds: string[]): Promise<RCResult<IEngineMessageResult[]>>;
|
|
10587
|
+
addMessageReaction(param: IUpdateMessageReactionParam): Promise<RCResult>;
|
|
10588
|
+
removeMessageReaction(param: IUpdateMessageReactionParam): Promise<RCResult>;
|
|
10589
|
+
batchGetMessageReactionSummaries(param: IMessageReactionSummaryQueryParam): Promise<RCResult<Record<string, IMessageReaction[]>>>;
|
|
10590
|
+
getMessageReactions(param: IGetMessageReactionsParam): Promise<RCResult<IMessageReactionsResult>>;
|
|
10591
|
+
getMessageReactionUsers(param: IGetMessageReactionUsersParam): Promise<RCResult<IMessageReactionUsersResult>>;
|
|
10351
10592
|
}
|
|
10352
10593
|
|
|
10353
10594
|
/**
|
|
@@ -10645,6 +10886,10 @@ interface IEngineWatcher extends IConnectionListener {
|
|
|
10645
10886
|
* 服务器记录会话未读数同步完成通知
|
|
10646
10887
|
*/
|
|
10647
10888
|
syncServerSaveUnreadCompleted: () => void;
|
|
10889
|
+
/**
|
|
10890
|
+
* 消息回应事件
|
|
10891
|
+
*/
|
|
10892
|
+
messageReaction(event: IMessageReactionEvent): void;
|
|
10648
10893
|
}
|
|
10649
10894
|
|
|
10650
10895
|
/**
|
|
@@ -11686,6 +11931,8 @@ interface IWatcher {
|
|
|
11686
11931
|
messagesModified?: (messages: IReceivedMessage[]) => void;
|
|
11687
11932
|
messageModifiedSyncCompleted?: () => void;
|
|
11688
11933
|
syncServerSaveUnreadCompleted?: () => void;
|
|
11934
|
+
/** 消息回应事件通知 */
|
|
11935
|
+
messageReaction?: (evt: IMessageReactionEvent) => void;
|
|
11689
11936
|
}
|
|
11690
11937
|
interface IAPIContextOption {
|
|
11691
11938
|
/**
|
|
@@ -12145,6 +12392,11 @@ declare class ChatModule extends BaseModule {
|
|
|
12145
12392
|
batchGetMessageReadReceiptInfoV4(conversation: IConversationIdentifier, messageUIds: string[]): Promise<RCResult<IGroupReadReceiptData[]>>;
|
|
12146
12393
|
getConversationsIncludingRobots(options: IGetConversationsIncludingRobotsOption): Promise<RCResult<IReceivedConversation[]>>;
|
|
12147
12394
|
markRemoteConversationAsRead(identifier: IConversationIdentifier): Promise<RCResult>;
|
|
12395
|
+
addMessageReaction(param: IUpdateMessageReactionParam): Promise<RCResult>;
|
|
12396
|
+
removeMessageReaction(param: IUpdateMessageReactionParam): Promise<RCResult>;
|
|
12397
|
+
batchGetMessageReactionSummaries(param: IMessageReactionSummaryQueryParam): Promise<RCResult<Record<string, IMessageReaction[]>>>;
|
|
12398
|
+
getMessageReactions(param: IGetMessageReactionsParam): Promise<RCResult<IMessageReactionsResult>>;
|
|
12399
|
+
getMessageReactionUsers(param: IGetMessageReactionUsersParam): Promise<RCResult<IMessageReactionUsersResult>>;
|
|
12148
12400
|
}
|
|
12149
12401
|
|
|
12150
12402
|
declare class APIContext {
|
|
@@ -12289,6 +12541,7 @@ declare class APIContext {
|
|
|
12289
12541
|
|
|
12290
12542
|
|
|
12291
12543
|
|
|
12544
|
+
|
|
12292
12545
|
/**
|
|
12293
12546
|
* 业务层事件监听器挂载点
|
|
12294
12547
|
*/
|
|
@@ -13094,7 +13347,7 @@ declare class RTCPluginContext extends PluginContext {
|
|
|
13094
13347
|
/**
|
|
13095
13348
|
* 会话聊天模块
|
|
13096
13349
|
*/
|
|
13097
|
-
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'> {
|
|
13350
|
+
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'> {
|
|
13098
13351
|
/** 超级群是否已同步完成 */
|
|
13099
13352
|
get ugSynced(): boolean;
|
|
13100
13353
|
getRealtimeConversations(count: number, startTime: number, order: 0 | 1): Promise<RCResult<IReceivedConversation[]>>;
|
|
@@ -13265,4 +13518,4 @@ declare const assert: (key: string, value: any, validator: AssertRules | ((value
|
|
|
13265
13518
|
*/
|
|
13266
13519
|
declare const validate: (key: string, value: any, validator: AssertRules | ((value?: any) => boolean), required?: boolean) => boolean;
|
|
13267
13520
|
|
|
13268
|
-
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 };
|
|
13521
|
+
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, MessageReactionType, 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 };
|