@rongcloud/engine 5.10.4 → 5.12.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 +1731 -37
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -990,7 +990,8 @@ declare enum ErrorCode {
|
|
|
990
990
|
NOT_IN_CHATROOM = 23406,
|
|
991
991
|
/**
|
|
992
992
|
* 23407
|
|
993
|
-
*
|
|
993
|
+
* 聊天室禁言白名单人数超限(最多5个)
|
|
994
|
+
* 创建聊天室时,禁言白名单用户列表,支持批量设置,最多不超过 20 个
|
|
994
995
|
*/
|
|
995
996
|
GET_USERINFO_ERROR = 23407,
|
|
996
997
|
/**
|
|
@@ -1089,7 +1090,7 @@ declare enum ErrorCode {
|
|
|
1089
1090
|
FEILD = 24009,
|
|
1090
1091
|
/**
|
|
1091
1092
|
* 24011
|
|
1092
|
-
* channleName 是空
|
|
1093
|
+
* channleName 是空(错误码已废弃)
|
|
1093
1094
|
* @deprecated
|
|
1094
1095
|
*/
|
|
1095
1096
|
NULLCHANNELNAME = 24011,
|
|
@@ -1246,9 +1247,243 @@ declare enum ErrorCode {
|
|
|
1246
1247
|
* IMLib 撤回消息可以撤回自己发送的消息和别人发送的消息,IM 服务有开关,控制只可以撤回自己发送的消息,当服务该开关打开时,撤回别人的消息会报这个错误。
|
|
1247
1248
|
*/
|
|
1248
1249
|
RECALL_MESSAGE_USER_INVALID = 25107,
|
|
1250
|
+
/**
|
|
1251
|
+
* 25404
|
|
1252
|
+
* 非法操作,非群主修改群权限相关,msg中返回传的对应的key
|
|
1253
|
+
* @since 5.12.0
|
|
1254
|
+
*/
|
|
1255
|
+
RC_GROUP_ILLEGAL_ERROR = 25404,
|
|
1256
|
+
/**
|
|
1257
|
+
* 25405
|
|
1258
|
+
* 没有权限操作
|
|
1259
|
+
* @since 5.12.0
|
|
1260
|
+
*/
|
|
1261
|
+
RC_GROUP_AUTHORITY_ERROR = 25405,
|
|
1262
|
+
/**
|
|
1263
|
+
* 25406
|
|
1264
|
+
* 参数异常,存在长度超限
|
|
1265
|
+
* @since 5.12.0
|
|
1266
|
+
*/
|
|
1267
|
+
RC_GROUP_PARAMETER_LENGTH_EXCEED_LIMIT = 25406,
|
|
1268
|
+
/**
|
|
1269
|
+
* 25407
|
|
1270
|
+
* 参数异常,非法字符
|
|
1271
|
+
* @since 5.12.0
|
|
1272
|
+
*/
|
|
1273
|
+
RC_GROUP_PARAMETER_FORMAT_ERROR = 25407,
|
|
1274
|
+
/**
|
|
1275
|
+
* 25408
|
|
1276
|
+
* 参数值必须是数字
|
|
1277
|
+
* @since 5.12.0
|
|
1278
|
+
*/
|
|
1279
|
+
RC_GROUP_PARAMETER_VALUE_CAN_ONLY_BE_NUMBERS = 25408,
|
|
1280
|
+
/**
|
|
1281
|
+
* 25409
|
|
1282
|
+
* 群组 ID 已存在
|
|
1283
|
+
* @since 5.12.0
|
|
1284
|
+
*/
|
|
1285
|
+
RC_GROUP_ID_ALREADY_EXIST = 25409,
|
|
1286
|
+
/**
|
|
1287
|
+
* 25410
|
|
1288
|
+
* 群 ID 不存在
|
|
1289
|
+
* @since 5.12.0
|
|
1290
|
+
*/
|
|
1291
|
+
RC_GROUP_ID_NOT_EXIST = 25410,
|
|
1292
|
+
/**
|
|
1293
|
+
* 25411
|
|
1294
|
+
* 群成员超限
|
|
1295
|
+
* @since 5.12.0
|
|
1296
|
+
*/
|
|
1297
|
+
RC_GROUP_MEMBERS_COUNT_EXCEED_LIMIT = 25411,
|
|
1298
|
+
/**
|
|
1299
|
+
* 25412
|
|
1300
|
+
* 群成员 ID 已在当前群组中
|
|
1301
|
+
* @since 5.12.0
|
|
1302
|
+
*/
|
|
1303
|
+
RC_GROUP_MEMBERS_ALREADY_IN_GROUP = 25412,
|
|
1304
|
+
/**
|
|
1305
|
+
* 25413
|
|
1306
|
+
* 不允许通过 SDK 进行此操作
|
|
1307
|
+
* @since 5.12.0
|
|
1308
|
+
*/
|
|
1309
|
+
RC_GROUP_NOT_ALLOW_SDK_OPERATION = 25413,
|
|
1310
|
+
/**
|
|
1311
|
+
* 25414
|
|
1312
|
+
* 不允许任何人加入,无法加入群组
|
|
1313
|
+
* @since 5.12.0
|
|
1314
|
+
*/
|
|
1315
|
+
RC_GROUP_NOT_ALLOW_JOIN = 25414,
|
|
1316
|
+
/**
|
|
1317
|
+
* 25415
|
|
1318
|
+
* 扩展信息 Key 值不存在
|
|
1319
|
+
* @since 5.12.0
|
|
1320
|
+
*/
|
|
1321
|
+
RC_GROUP_EXT_KEY_NOT_EXIST = 25415,
|
|
1322
|
+
/**
|
|
1323
|
+
* 25416
|
|
1324
|
+
* 查询频率超限
|
|
1325
|
+
* @since 5.12.0
|
|
1326
|
+
*/
|
|
1327
|
+
RC_GROUP_REQUEST_OVERFREQUENCY = 25416,
|
|
1328
|
+
/**
|
|
1329
|
+
* 25417
|
|
1330
|
+
* 群主不能被踢出/退出群组
|
|
1331
|
+
* @since 5.12.0
|
|
1332
|
+
*/
|
|
1333
|
+
RC_GROUP_OWNER_NOT_ALLOW_QUIT_OR_KICK = 25417,
|
|
1334
|
+
/**
|
|
1335
|
+
* 25418
|
|
1336
|
+
* 用户ID不在群组中
|
|
1337
|
+
* @since 5.12.0
|
|
1338
|
+
*/
|
|
1339
|
+
RC_GROUP_USER_NOT_IN_GROUP = 25418,
|
|
1340
|
+
/**
|
|
1341
|
+
* 25419
|
|
1342
|
+
* 管理员/关注 人数超过上限
|
|
1343
|
+
* @since 5.12.0
|
|
1344
|
+
*/
|
|
1345
|
+
RC_GROUP_MANAGER_OR_FOLLOW_COUNT_EXCEED_LIMIT = 25419,
|
|
1346
|
+
/**
|
|
1347
|
+
* 25420
|
|
1348
|
+
* 用户 ID 不在当前群管理员
|
|
1349
|
+
* @since 5.12.0
|
|
1350
|
+
*/
|
|
1351
|
+
RC_GROUP_USER_IS_NOT_MANAGER_IN_GROUP = 25420,
|
|
1352
|
+
/**
|
|
1353
|
+
* 25421
|
|
1354
|
+
* 无对应群 ID 和用户 ID 的邀请请求
|
|
1355
|
+
* @since 5.12.0
|
|
1356
|
+
*/
|
|
1357
|
+
RC_GROUP_APPLICATION_NOT_EXIST = 25421,
|
|
1358
|
+
/**
|
|
1359
|
+
* 25422
|
|
1360
|
+
* 查询群信息个数超限
|
|
1361
|
+
* @since 5.12.0
|
|
1362
|
+
*/
|
|
1363
|
+
RC_GROUP_QUERY_GROUP_COUNT_EXCEED_LIMIT = 25422,
|
|
1364
|
+
/**
|
|
1365
|
+
* 25423
|
|
1366
|
+
* 群名称不能为空
|
|
1367
|
+
* @since 5.12.0
|
|
1368
|
+
*/
|
|
1369
|
+
RC_GROUP_NAME_INVALID = 25423,
|
|
1370
|
+
/**
|
|
1371
|
+
* 25424
|
|
1372
|
+
* 申请进群需要等待管理员审批
|
|
1373
|
+
* @since 5.12.0
|
|
1374
|
+
*/
|
|
1375
|
+
RC_GROUP_JOIN_GROUP_NEED_MANAGER_ACCEPT = 25424,
|
|
1376
|
+
/**
|
|
1377
|
+
* 25425
|
|
1378
|
+
* 群主不支持设置为管理员
|
|
1379
|
+
* @since 5.12.0
|
|
1380
|
+
*/
|
|
1381
|
+
RC_GROUP_OWNER_NOT_ALLOW_BE_MANAGER = 25425,
|
|
1382
|
+
/**
|
|
1383
|
+
* 25426
|
|
1384
|
+
* 邀请人进群时没有权限
|
|
1385
|
+
* @since 5.12.0
|
|
1386
|
+
*/
|
|
1387
|
+
RC_GROUP_NO_INVITE_PERMISSION = 25426,
|
|
1388
|
+
/**
|
|
1389
|
+
* 25427
|
|
1390
|
+
* 邀请进群需要被邀请人同意
|
|
1391
|
+
* @since 5.12.0
|
|
1392
|
+
*/
|
|
1393
|
+
RC_GROUP_NEED_INVITEE_ACCEPT = 25427,
|
|
1394
|
+
/**
|
|
1395
|
+
* 25428
|
|
1396
|
+
* 管理员或群主处理请求时,别的管理员已处理
|
|
1397
|
+
* @since 5.12.0
|
|
1398
|
+
*/
|
|
1399
|
+
RC_GROUP_APPLICATION_ALREADY_HANDLE = 25428,
|
|
1400
|
+
/**
|
|
1401
|
+
* 25460
|
|
1402
|
+
* 已经互为好友,操作无效
|
|
1403
|
+
* @since 5.12.0
|
|
1404
|
+
*/
|
|
1405
|
+
RC_FRIEND_ALREADY_FRIEND = 25460,
|
|
1406
|
+
/**
|
|
1407
|
+
* 25461
|
|
1408
|
+
* 待对方同意后才能加为好友
|
|
1409
|
+
* @since 5.12.0
|
|
1410
|
+
*/
|
|
1411
|
+
RC_FRIEND_NEED_ACCEPT = 25461,
|
|
1412
|
+
/**
|
|
1413
|
+
* 25462
|
|
1414
|
+
* 在目标用户黑名单中,不能添加好友
|
|
1415
|
+
* @since 5.12.0
|
|
1416
|
+
*/
|
|
1417
|
+
RC_FRIEND_IN_OTHER_BLACK_LIST = 25462,
|
|
1418
|
+
/**
|
|
1419
|
+
* 25463
|
|
1420
|
+
* 不在目标用户白名单中,不能添加好友
|
|
1421
|
+
* @since 5.12.0
|
|
1422
|
+
*/
|
|
1423
|
+
RC_FRIEND_NOT_IN_OTHER_WHITE_LIST = 25463,
|
|
1424
|
+
/**
|
|
1425
|
+
* 25464
|
|
1426
|
+
* 目标用户在当前用户黑名单中,不能添加好友
|
|
1427
|
+
* @since 5.12.0
|
|
1428
|
+
*/
|
|
1429
|
+
RC_FRIEND_IN_MY_BLACK_LIST = 25464,
|
|
1430
|
+
/**
|
|
1431
|
+
* 25465
|
|
1432
|
+
* 不在当前用户白名单中,不能添加好友
|
|
1433
|
+
* @since 5.12.0
|
|
1434
|
+
*/
|
|
1435
|
+
RC_FRIEND_NOT_IN_MY_WHITE_LIST = 25465,
|
|
1436
|
+
/**
|
|
1437
|
+
* 25466
|
|
1438
|
+
* 不存在好友申请,操作无效
|
|
1439
|
+
* @since 5.12.0
|
|
1440
|
+
*/
|
|
1441
|
+
RC_FRIEND_APPLICATION_NOT_EXIST = 25466,
|
|
1442
|
+
/**
|
|
1443
|
+
* 25467
|
|
1444
|
+
* 当前用户好友数超出上限
|
|
1445
|
+
* @since 5.12.0
|
|
1446
|
+
*/
|
|
1447
|
+
RC_FRIEND_MY_FRIEND_COUNT_EXCEED_LIMIT = 25467,
|
|
1448
|
+
/**
|
|
1449
|
+
* 25468
|
|
1450
|
+
* 目标用户好友数超出上限
|
|
1451
|
+
* @since 5.12.0
|
|
1452
|
+
*/
|
|
1453
|
+
RC_FRIEND_OTHER_FRIEND_COUNT_EXCEED_LIMIT = 25468,
|
|
1454
|
+
/**
|
|
1455
|
+
* 25469
|
|
1456
|
+
* 非好友关系,不能执行此操作
|
|
1457
|
+
* @since 5.12.0
|
|
1458
|
+
*/
|
|
1459
|
+
RC_FRIEND_NOT_FRIEND = 25469,
|
|
1460
|
+
/**
|
|
1461
|
+
* 25470
|
|
1462
|
+
* 好友自定义属性超出上限
|
|
1463
|
+
* @since 5.12.0
|
|
1464
|
+
*/
|
|
1465
|
+
RC_FRIEND_FIELDS_LENGTH_EXCEED_LIMIT = 25470,
|
|
1466
|
+
/**
|
|
1467
|
+
* 25471
|
|
1468
|
+
* 对方设置了不允许加为好友
|
|
1469
|
+
* @since 5.12.0
|
|
1470
|
+
*/
|
|
1471
|
+
RC_FRIEND_OTHER_NOT_ALLOW_ADD_FRIEND = 25471,
|
|
1472
|
+
/**
|
|
1473
|
+
* 25472
|
|
1474
|
+
* 好友不存在
|
|
1475
|
+
* @since 5.12.0
|
|
1476
|
+
*/
|
|
1477
|
+
RC_FRIEND_NOT_EXIST = 25472,
|
|
1478
|
+
/**
|
|
1479
|
+
* 25473
|
|
1480
|
+
* 不能添加自己为好友
|
|
1481
|
+
* @since 5.12.0
|
|
1482
|
+
*/
|
|
1483
|
+
RC_FRIEND_NOT_ALLOW_ADD_SELF = 25473,
|
|
1249
1484
|
/**
|
|
1250
1485
|
* 26001
|
|
1251
|
-
*
|
|
1486
|
+
* 用户级设置服务 请求参数不合法
|
|
1252
1487
|
*/
|
|
1253
1488
|
PUSH_PARAMETER_INVALID = 26001,
|
|
1254
1489
|
/**
|
|
@@ -2149,6 +2384,120 @@ declare enum ErrorCode {
|
|
|
2149
2384
|
* @since 5.10.3
|
|
2150
2385
|
*/
|
|
2151
2386
|
INVALID_PARAMETER_EXTRA = 34314,
|
|
2387
|
+
/**
|
|
2388
|
+
* 34315
|
|
2389
|
+
* 数据库升级失败
|
|
2390
|
+
* @since 5.10.2
|
|
2391
|
+
*/
|
|
2392
|
+
DB_UPGRADE_FAILED = 34315,
|
|
2393
|
+
/**
|
|
2394
|
+
* 34318
|
|
2395
|
+
* 开发者接口调用时传入的参数 GroupInfo 非法
|
|
2396
|
+
* @since 5.12.0
|
|
2397
|
+
*/
|
|
2398
|
+
INVALID_PARAMETER_GROUP_INFO = 34318,
|
|
2399
|
+
/**
|
|
2400
|
+
* 34319
|
|
2401
|
+
* 开发者接口调用时传入的参数 groupId 非法
|
|
2402
|
+
* @since 5.12.0
|
|
2403
|
+
*/
|
|
2404
|
+
INVALID_PARAMETER_GROUP_ID = 34319,
|
|
2405
|
+
/**
|
|
2406
|
+
* 34320
|
|
2407
|
+
* 开发者接口调用时传入的参数 groupName 非法
|
|
2408
|
+
* @since 5.12.0
|
|
2409
|
+
*/
|
|
2410
|
+
INVALID_PARAMETER_GROUP_NAME = 34320,
|
|
2411
|
+
/**
|
|
2412
|
+
* 34321
|
|
2413
|
+
* 开发者接口调用时传入的参数 groupIds 非法
|
|
2414
|
+
* @since 5.12.0
|
|
2415
|
+
*/
|
|
2416
|
+
INVALID_PARAMETER_GROUP_IDS = 34321,
|
|
2417
|
+
/**
|
|
2418
|
+
* 34322
|
|
2419
|
+
* 开发者接口调用时传入的参数 GroupMemberRole 非法
|
|
2420
|
+
* @since 5.12.0
|
|
2421
|
+
*/
|
|
2422
|
+
INVALID_PARAMETER_GROUP_MEMBER_ROLE = 34322,
|
|
2423
|
+
/**
|
|
2424
|
+
* 34323
|
|
2425
|
+
* 开发者接口调用时传入的参数 GroupApplicationStatus 非法
|
|
2426
|
+
* @since 5.12.0
|
|
2427
|
+
*/
|
|
2428
|
+
INVALID_PARAMETER_GROUP_APPLICATION_STATUS = 34323,
|
|
2429
|
+
/**
|
|
2430
|
+
* 34324
|
|
2431
|
+
* 开发者接口调用时传入的参数 GroupApplicationDirection 非法
|
|
2432
|
+
* @since 5.12.0
|
|
2433
|
+
*/
|
|
2434
|
+
INVALID_PARAMETER_GROUP_APPLICATION_DIRECTION = 34324,
|
|
2435
|
+
/**
|
|
2436
|
+
* 34325
|
|
2437
|
+
* 开发者接口调用时传入的参数 nickname 非法
|
|
2438
|
+
* @since 5.12.0
|
|
2439
|
+
*/
|
|
2440
|
+
INVALID_PARAMETER_NICK_NAME = 34325,
|
|
2441
|
+
/**
|
|
2442
|
+
* 34326
|
|
2443
|
+
* 开发者接口调用时传入的参数 reason 非法
|
|
2444
|
+
* @since 5.12.0
|
|
2445
|
+
*/
|
|
2446
|
+
INVALID_PARAMETER_REASON = 34326,
|
|
2447
|
+
/**
|
|
2448
|
+
* 34327
|
|
2449
|
+
* 开发者接口调用时传入的参数 remark 非法
|
|
2450
|
+
* @since 5.12.0
|
|
2451
|
+
*/
|
|
2452
|
+
INVALID_PARAMETER_REMARK = 34327,
|
|
2453
|
+
/**
|
|
2454
|
+
* 34328
|
|
2455
|
+
* 开发者接口调用时传入的参数 PagingQueryOption 非法
|
|
2456
|
+
* @since 5.12.0
|
|
2457
|
+
*/
|
|
2458
|
+
INVALID_PARAMETER_PAGING_QUERY_OPTION = 34328,
|
|
2459
|
+
/**
|
|
2460
|
+
* 34329
|
|
2461
|
+
* 数据正在同步中
|
|
2462
|
+
* @since 5.12.0
|
|
2463
|
+
*/
|
|
2464
|
+
NET_DATA_IS_SYNCHRONIZING = 34329,
|
|
2465
|
+
/**
|
|
2466
|
+
* 34330
|
|
2467
|
+
* 开发者接口调用时传入的参数 QueryFriendsDirectionType 非法
|
|
2468
|
+
* @since 5.12.0
|
|
2469
|
+
*/
|
|
2470
|
+
INVALID_PARAMETER_QUERY_FRIENDS_DIRECTION_TYPE = 34330,
|
|
2471
|
+
/**
|
|
2472
|
+
* 34331
|
|
2473
|
+
* 开发者接口调用时传入的参数 DirectionType 非法
|
|
2474
|
+
* @since 5.12.0
|
|
2475
|
+
*/
|
|
2476
|
+
INVALID_PARAMETER_DIRECTION_TYPE = 34331,
|
|
2477
|
+
/**
|
|
2478
|
+
* 34332
|
|
2479
|
+
* 开发者接口调用时传入的参数 FriendApplicationType 非法
|
|
2480
|
+
* @since 5.12.0
|
|
2481
|
+
*/
|
|
2482
|
+
INVALID_PARAMETER_FRIEND_APPLICATION_TYPE = 34332,
|
|
2483
|
+
/**
|
|
2484
|
+
* 34333
|
|
2485
|
+
* 开发者接口调用时传入的参数 FriendApplicationStatus 非法
|
|
2486
|
+
* @since 5.12.0
|
|
2487
|
+
*/
|
|
2488
|
+
INVALID_PARAMETER_FRIEND_APPLICATION_STATUS = 34333,
|
|
2489
|
+
/**
|
|
2490
|
+
* 34334
|
|
2491
|
+
* 开发者接口调用时传入的参数 FriendAddPermission 非法
|
|
2492
|
+
* @since 5.12.0
|
|
2493
|
+
*/
|
|
2494
|
+
INVALID_PARAMETER_FRIEND_ADD_PERMISSION = 34334,
|
|
2495
|
+
/**
|
|
2496
|
+
* 34335
|
|
2497
|
+
* 开发者接口调用时传入的参数 extProfile 非法
|
|
2498
|
+
* @since 5.12.0
|
|
2499
|
+
*/
|
|
2500
|
+
INVALID_PARAMETER_FRIEND_INFO_EXT_FIELDS = 34335,
|
|
2152
2501
|
/**
|
|
2153
2502
|
* 35001
|
|
2154
2503
|
* 群组信息异常
|
|
@@ -2989,6 +3338,15 @@ declare enum LogTagId {
|
|
|
2989
3338
|
L_PULL_USER_PROFILE_R = "L-pull_user_profile-R",
|
|
2990
3339
|
L_PULL_OWN_PROFILE_T = "L-pull_own_profile-T",
|
|
2991
3340
|
L_PULL_OWN_PROFILE_R = "L-pull_own_profile-R",
|
|
3341
|
+
/** 用户托管 - 好友 */
|
|
3342
|
+
L_QUERY_FRIEND_LIST_T = "L-query_friend_list-T",
|
|
3343
|
+
L_QUERY_FRIEND_LIST_R = "L-query_friend_list-R",
|
|
3344
|
+
/** 用户托管 - 群组 */
|
|
3345
|
+
L_PULL_USER_PROFILE_REQ_T = "L-pull_user_profile_req-T",
|
|
3346
|
+
L_PULL_USER_PROFILE_REQ_R = "L-pull_user_profile_req-R",
|
|
3347
|
+
L_PULL_EVENT_CHANGE_NOTIFY_ULTRA_ONLINE_S = "L-pull_event_change_notify_ultra_online-S",
|
|
3348
|
+
L_PULL_EVENT_CHANGE_T = "L-pull_event_change-T",
|
|
3349
|
+
L_PULL_EVENT_CHANGE_R = "L-pull_event_change-R",
|
|
2992
3350
|
L_PARSE_JSON_E = "L-parse_json-E"
|
|
2993
3351
|
}
|
|
2994
3352
|
|
|
@@ -3128,7 +3486,7 @@ declare enum UltraGroupChannelChangeType {
|
|
|
3128
3486
|
*/
|
|
3129
3487
|
PUBLIC_TO_PRIVATE_USER_NOT_IN = 6
|
|
3130
3488
|
}
|
|
3131
|
-
/** PB 结构
|
|
3489
|
+
/** PB 结构 EventChange 属性 changeType 对应枚举值 */
|
|
3132
3490
|
declare enum UltraMsgChangeType {
|
|
3133
3491
|
MSG_EXPANSION = 1,
|
|
3134
3492
|
MSG_MODIFY = 2,
|
|
@@ -3136,7 +3494,7 @@ declare enum UltraMsgChangeType {
|
|
|
3136
3494
|
CHANNEL_CHANGE = 4,
|
|
3137
3495
|
USER_GROUP_CHANGE = 5
|
|
3138
3496
|
}
|
|
3139
|
-
/** PB 结构
|
|
3497
|
+
/** PB 结构 EventChange 属性 subChangeType 对应枚举值 */
|
|
3140
3498
|
declare enum UltraMsgSubChangeType {
|
|
3141
3499
|
CHANNEL_DELETE = 1,
|
|
3142
3500
|
PUBLIC_TO_PRIVATE = 2,
|
|
@@ -3268,7 +3626,19 @@ declare enum SubscribeType {
|
|
|
3268
3626
|
* 用户信息订阅
|
|
3269
3627
|
* @since 5.10.1
|
|
3270
3628
|
*/
|
|
3271
|
-
USER_PROFILE = 2
|
|
3629
|
+
USER_PROFILE = 2,
|
|
3630
|
+
/**
|
|
3631
|
+
* 好友在线状态
|
|
3632
|
+
*
|
|
3633
|
+
* @since 5.12.0
|
|
3634
|
+
*/
|
|
3635
|
+
FRIEND_ONLINE_STATUS = 3,
|
|
3636
|
+
/**
|
|
3637
|
+
* 好友用户信息
|
|
3638
|
+
*
|
|
3639
|
+
* @since 5.12.0
|
|
3640
|
+
*/
|
|
3641
|
+
FRIEND_USER_PROFILE = 4
|
|
3272
3642
|
}
|
|
3273
3643
|
/**
|
|
3274
3644
|
* 订阅操作类型
|
|
@@ -3292,8 +3662,331 @@ declare enum SubscribeOperationType {
|
|
|
3292
3662
|
declare enum UserProfileVisibility {
|
|
3293
3663
|
NOT_SET = 0,
|
|
3294
3664
|
INVISIBLE = 1,
|
|
3665
|
+
EVERYONE = 2,
|
|
3666
|
+
/** 仅好友可见:仅我的好友列表中用户可以查看到我的用户信息 */
|
|
3667
|
+
FriendVisible = 3
|
|
3668
|
+
}
|
|
3669
|
+
declare type LimitedSubscribeType = Extract<SubscribeType, SubscribeType.ONLINE_STATUS | SubscribeType.USER_PROFILE>;
|
|
3670
|
+
|
|
3671
|
+
/**
|
|
3672
|
+
* 主动加入群权限验证方式
|
|
3673
|
+
* @category Enum
|
|
3674
|
+
* @since 5.12.0
|
|
3675
|
+
*/
|
|
3676
|
+
declare enum GroupJoinPermission {
|
|
3677
|
+
/** 需要群主验证(默认) */
|
|
3678
|
+
OWNER_VERIFY = 0,
|
|
3679
|
+
/** 不用验证 */
|
|
3680
|
+
FREE = 1,
|
|
3681
|
+
/** 群管理员或者群主验证 */
|
|
3682
|
+
OWNER_OR_MANAGER_VERIFY = 2,
|
|
3683
|
+
/** 不允许任何人加入 */
|
|
3684
|
+
NO_ONE_ALLOWED = 3
|
|
3685
|
+
}
|
|
3686
|
+
/**
|
|
3687
|
+
* 群操作权限
|
|
3688
|
+
* @category Enum
|
|
3689
|
+
* @since 5.12.0
|
|
3690
|
+
*/
|
|
3691
|
+
declare enum GroupOperationPermission {
|
|
3692
|
+
/** 群主(默认) */
|
|
3693
|
+
OWNER = 0,
|
|
3694
|
+
/** 群主+群管理员 */
|
|
3695
|
+
OWNER_OR_MANAGER = 1,
|
|
3696
|
+
/** 所有人 */
|
|
3295
3697
|
EVERYONE = 2
|
|
3296
3698
|
}
|
|
3699
|
+
/**
|
|
3700
|
+
* 群成员信息编辑权限
|
|
3701
|
+
* @category Enum
|
|
3702
|
+
* @since 5.12.0
|
|
3703
|
+
*/
|
|
3704
|
+
declare enum GroupMemberInfoEditPermission {
|
|
3705
|
+
/** 群主+群管理员+自已(默认) */
|
|
3706
|
+
OWNER_OR_MANAGER_OR_SELF = 0,
|
|
3707
|
+
/** 群主+自已 */
|
|
3708
|
+
OWNER_OR_SELF = 1,
|
|
3709
|
+
/** 仅自已 */
|
|
3710
|
+
SELF = 2
|
|
3711
|
+
}
|
|
3712
|
+
/**
|
|
3713
|
+
* 邀请入群验证方式
|
|
3714
|
+
* @category Enum
|
|
3715
|
+
* @since 5.12.0
|
|
3716
|
+
*/
|
|
3717
|
+
declare enum GroupInviteHandlePermission {
|
|
3718
|
+
/** 直接加入群组(默认)。 */
|
|
3719
|
+
FREE = 0,
|
|
3720
|
+
/** 需要被邀请人同意 */
|
|
3721
|
+
INVITEE_VERIFY = 1
|
|
3722
|
+
}
|
|
3723
|
+
/**
|
|
3724
|
+
* 群成员角色
|
|
3725
|
+
* @category Enum
|
|
3726
|
+
* @since 5.12.0
|
|
3727
|
+
*/
|
|
3728
|
+
declare enum GroupMemberRole {
|
|
3729
|
+
/** 不区分角色或未知角色 */
|
|
3730
|
+
UNDEF = 0,
|
|
3731
|
+
/** 普通群成员 */
|
|
3732
|
+
NORMAL = 1,
|
|
3733
|
+
/** 管理员 */
|
|
3734
|
+
MANAGER = 2,
|
|
3735
|
+
/** 群主 */
|
|
3736
|
+
OWNER = 3
|
|
3737
|
+
}
|
|
3738
|
+
/**
|
|
3739
|
+
* 群组操作
|
|
3740
|
+
* @category Enum
|
|
3741
|
+
* @since 5.12.0
|
|
3742
|
+
*/
|
|
3743
|
+
declare enum GroupOperation {
|
|
3744
|
+
/** 创建 */
|
|
3745
|
+
CREATE = 0,
|
|
3746
|
+
/** 加入 */
|
|
3747
|
+
JOIN = 1,
|
|
3748
|
+
/** 踢出 */
|
|
3749
|
+
KICK = 2,
|
|
3750
|
+
/** 退出 */
|
|
3751
|
+
QUIT = 3,
|
|
3752
|
+
/** 解散 */
|
|
3753
|
+
DISMISS = 4,
|
|
3754
|
+
/** 添加管理员 */
|
|
3755
|
+
ADD_MANAGER = 5,
|
|
3756
|
+
/** 移除管理员 */
|
|
3757
|
+
REMOVE_MANAGER = 6,
|
|
3758
|
+
/** 转移群主 */
|
|
3759
|
+
TRANSFER_GROUP_OWNER = 7
|
|
3760
|
+
}
|
|
3761
|
+
/** PB 结构 EventChange 属性 changeType = 11 subChangeType 对应枚举值 */
|
|
3762
|
+
declare enum GroupOperationSubChangeType {
|
|
3763
|
+
CREATE = 0,
|
|
3764
|
+
JOIN = 1,
|
|
3765
|
+
KICK_OUT = 2,
|
|
3766
|
+
EXIT = 3,
|
|
3767
|
+
DISSOLVE = 4,
|
|
3768
|
+
ADD_ADMIN = 5,
|
|
3769
|
+
REMOVE_ADMIN = 6,
|
|
3770
|
+
TRANSFER_OWNER = 7
|
|
3771
|
+
}
|
|
3772
|
+
/** PB 结构 EventChange 属性 changeType = 12 subChangeType 对应枚举值 */
|
|
3773
|
+
declare enum GroupInfoChangeSubChangeType {
|
|
3774
|
+
GROUP_INFO_CHANGE = 0,
|
|
3775
|
+
MEMBER_PROFILE_CHANGE = 1,
|
|
3776
|
+
GROUP_REMARK_SET = 2,
|
|
3777
|
+
GROUP_REMARK_DELETE = 3
|
|
3778
|
+
}
|
|
3779
|
+
/** PB 结构 EventChange 属性 changeType = 13 subChangeType 对应枚举值 */
|
|
3780
|
+
declare enum GroupApplicationSubChangeType {
|
|
3781
|
+
USER_APPLY = 0,
|
|
3782
|
+
INVITATION_RECEIVED = 1,
|
|
3783
|
+
APPLY_RESULT = 2,
|
|
3784
|
+
INVITATION_RESULT = 3
|
|
3785
|
+
}
|
|
3786
|
+
/** PB 结构 EventChange 属性 changeType = 14 subChangeType 对应枚举值 */
|
|
3787
|
+
declare enum GroupFollowUserChangeType {
|
|
3788
|
+
REMOVE_USER = 0,
|
|
3789
|
+
ADD_USER = 1
|
|
3790
|
+
}
|
|
3791
|
+
/** PB 结构 EventChange 属性 changeType = 31 subChangeType 对应枚举值 */
|
|
3792
|
+
declare enum FriendSubChangeType {
|
|
3793
|
+
FRIEND_APPLY = 0,
|
|
3794
|
+
FRIEND_REFUSE = 1,
|
|
3795
|
+
FRIEND_ACCEPT = 2,
|
|
3796
|
+
FRIEND_DELETE = 3,
|
|
3797
|
+
FRIEND_CLEANUP = 4
|
|
3798
|
+
}
|
|
3799
|
+
/**
|
|
3800
|
+
* 群组操作类型
|
|
3801
|
+
* @category Enum
|
|
3802
|
+
* @since 5.12.0
|
|
3803
|
+
*/
|
|
3804
|
+
declare enum GroupOperationType {
|
|
3805
|
+
/** 加入、添加 */
|
|
3806
|
+
ADD = 1,
|
|
3807
|
+
/** 移除 */
|
|
3808
|
+
REMOVE = 2
|
|
3809
|
+
}
|
|
3810
|
+
/**
|
|
3811
|
+
* 群组请求状态
|
|
3812
|
+
* @category Enum
|
|
3813
|
+
* @since 5.12.0
|
|
3814
|
+
*/
|
|
3815
|
+
declare enum GroupApplicationStatus {
|
|
3816
|
+
/** 管理员待处理 */
|
|
3817
|
+
MANAGER_UNHANDLED = 0,
|
|
3818
|
+
/** 管理员拒绝。 */
|
|
3819
|
+
MANAGER_REFUSED = 1,
|
|
3820
|
+
/** 被邀请人待处理 */
|
|
3821
|
+
INVITEE_UNHANDLED = 2,
|
|
3822
|
+
/** 被邀请人拒绝。 */
|
|
3823
|
+
INVITEE_REFUSED = 3,
|
|
3824
|
+
/** 已加入 */
|
|
3825
|
+
JOINED = 4,
|
|
3826
|
+
/** 已过期 */
|
|
3827
|
+
EXPIRED = 5
|
|
3828
|
+
}
|
|
3829
|
+
declare enum GroupOperationStatus {
|
|
3830
|
+
/** 拒绝 */
|
|
3831
|
+
REFUSE = 0,
|
|
3832
|
+
/** 同意 */
|
|
3833
|
+
ACCEPT = 1
|
|
3834
|
+
}
|
|
3835
|
+
declare enum GroupOperationRole {
|
|
3836
|
+
/** 申请人 */
|
|
3837
|
+
APPLICANT = 0,
|
|
3838
|
+
/** 管理员 */
|
|
3839
|
+
MANAGER = 1
|
|
3840
|
+
}
|
|
3841
|
+
/** PB 结构 EventChange 属性 changeType 对应枚举值 */
|
|
3842
|
+
declare enum GroupMsgChangeType {
|
|
3843
|
+
GROUP_OPERATION = 11,
|
|
3844
|
+
GROUP_PROFILE_CHANGE = 12,
|
|
3845
|
+
GROUP_APPLICATION_INVITATION = 13,
|
|
3846
|
+
GROUP_FOLLOW_USER_CHANGE = 14
|
|
3847
|
+
}
|
|
3848
|
+
/**
|
|
3849
|
+
* 请求类型
|
|
3850
|
+
* @category Enum
|
|
3851
|
+
* @since 5.12.0
|
|
3852
|
+
*/
|
|
3853
|
+
declare enum GroupApplicationType {
|
|
3854
|
+
/** 主动加入群组。 */
|
|
3855
|
+
APPLICATION = 0,
|
|
3856
|
+
/** 被邀请加入群组。 */
|
|
3857
|
+
INVITATION = 1
|
|
3858
|
+
}
|
|
3859
|
+
/**
|
|
3860
|
+
* 群组请求方向
|
|
3861
|
+
* @category Enum
|
|
3862
|
+
* @since 5.12.0
|
|
3863
|
+
*/
|
|
3864
|
+
declare enum GroupApplicationDirection {
|
|
3865
|
+
/** 发出申请。 */
|
|
3866
|
+
APPLICATION_SENT = 0,
|
|
3867
|
+
/** 发出的邀请。 */
|
|
3868
|
+
INVITATION_SENT = 1,
|
|
3869
|
+
/** 收到的邀请。 */
|
|
3870
|
+
INVITATION_RECEIVED = 2,
|
|
3871
|
+
/** 收到的申请。 */
|
|
3872
|
+
APPLICATION_RECEIVED = 3
|
|
3873
|
+
}
|
|
3874
|
+
|
|
3875
|
+
/**
|
|
3876
|
+
* 好友类型
|
|
3877
|
+
* @category Enum
|
|
3878
|
+
* @since 5.12.0
|
|
3879
|
+
*/
|
|
3880
|
+
declare enum DirectionType {
|
|
3881
|
+
/**
|
|
3882
|
+
* 双向好友
|
|
3883
|
+
*/
|
|
3884
|
+
BOTH = 2
|
|
3885
|
+
}
|
|
3886
|
+
/**
|
|
3887
|
+
* 查询接口-好友类型
|
|
3888
|
+
* @category Enum
|
|
3889
|
+
* @since 5.12.0
|
|
3890
|
+
*/
|
|
3891
|
+
declare enum QueryFriendsDirectionType {
|
|
3892
|
+
/**
|
|
3893
|
+
* 双向好友
|
|
3894
|
+
*/
|
|
3895
|
+
BOTH = 2
|
|
3896
|
+
}
|
|
3897
|
+
/**
|
|
3898
|
+
* 加好友权限
|
|
3899
|
+
* @category Enum
|
|
3900
|
+
* @since 5.12.0
|
|
3901
|
+
*/
|
|
3902
|
+
declare enum FriendAddPermission {
|
|
3903
|
+
/**
|
|
3904
|
+
* 任何人直接添加好友。
|
|
3905
|
+
*/
|
|
3906
|
+
FREE = 1,
|
|
3907
|
+
/**
|
|
3908
|
+
* 需要用户同意添加好友
|
|
3909
|
+
*/
|
|
3910
|
+
NEED_VERIFY = 2,
|
|
3911
|
+
/**
|
|
3912
|
+
* 不允许任何人添加好友
|
|
3913
|
+
*/
|
|
3914
|
+
NO_ONE_ALLOWED = 3
|
|
3915
|
+
}
|
|
3916
|
+
/**
|
|
3917
|
+
* 好友关系类型
|
|
3918
|
+
* @category Enum
|
|
3919
|
+
* @since 5.12.0
|
|
3920
|
+
*/
|
|
3921
|
+
declare enum FriendRelationType {
|
|
3922
|
+
/**
|
|
3923
|
+
* 不是好友,不在双方的好友列表中
|
|
3924
|
+
*/
|
|
3925
|
+
NONE = 0,
|
|
3926
|
+
/**
|
|
3927
|
+
* 仅对方在我的好友列表中
|
|
3928
|
+
*/
|
|
3929
|
+
IN_MY_FRIEND_LIST = 1,
|
|
3930
|
+
/**
|
|
3931
|
+
* 仅我在对方的好友列表中。
|
|
3932
|
+
*/
|
|
3933
|
+
IN_OTHER_FRIEND_LIST = 2,
|
|
3934
|
+
/**
|
|
3935
|
+
* 互为好友,在双方的好友列表中
|
|
3936
|
+
*/
|
|
3937
|
+
BOTH_WAY = 3
|
|
3938
|
+
}
|
|
3939
|
+
/**
|
|
3940
|
+
* 好友请求类型
|
|
3941
|
+
* @category Enum
|
|
3942
|
+
* @since 5.12.0
|
|
3943
|
+
*/
|
|
3944
|
+
declare enum FriendApplicationType {
|
|
3945
|
+
/**
|
|
3946
|
+
* 发送的好友请求
|
|
3947
|
+
*/
|
|
3948
|
+
SENT = 1,
|
|
3949
|
+
/**
|
|
3950
|
+
* 接收的好友请求
|
|
3951
|
+
*/
|
|
3952
|
+
RECEIVED = 2
|
|
3953
|
+
}
|
|
3954
|
+
/**
|
|
3955
|
+
* 好友请求状态
|
|
3956
|
+
* @category Enum
|
|
3957
|
+
* @since 5.12.0
|
|
3958
|
+
*/
|
|
3959
|
+
declare enum FriendApplicationStatus {
|
|
3960
|
+
/**
|
|
3961
|
+
* 申请添加好友
|
|
3962
|
+
*/
|
|
3963
|
+
UNHANDLED = 0,
|
|
3964
|
+
/**
|
|
3965
|
+
* 已同意
|
|
3966
|
+
*/
|
|
3967
|
+
ACCEPTED = 1,
|
|
3968
|
+
/**
|
|
3969
|
+
* 已拒绝,拒绝其他人的好友申请
|
|
3970
|
+
*/
|
|
3971
|
+
REFUSED = 2,
|
|
3972
|
+
/**
|
|
3973
|
+
* 已过期
|
|
3974
|
+
*/
|
|
3975
|
+
EXPIRED = 3
|
|
3976
|
+
}
|
|
3977
|
+
/** PB 结构 EventChange 属性 changeType 对应枚举值 */
|
|
3978
|
+
declare enum FriendMsgChangeType {
|
|
3979
|
+
FRIEND_APPLICATION = 31
|
|
3980
|
+
}
|
|
3981
|
+
declare enum FriendEventType {
|
|
3982
|
+
FRIEND_APPLY = 0,
|
|
3983
|
+
FRIEND_REFUSE = 1,
|
|
3984
|
+
FRIEND_USER_INFO = 2,
|
|
3985
|
+
FRIENDS_INPUT = 3,
|
|
3986
|
+
FRIEND_CLEAR = 4,
|
|
3987
|
+
FRIEND_INFO_CHANGE = 5,
|
|
3988
|
+
FRIEND_INFO_CHANGE_SYNC = 6
|
|
3989
|
+
}
|
|
3297
3990
|
|
|
3298
3991
|
/**
|
|
3299
3992
|
* 音视频模式
|
|
@@ -5692,6 +6385,12 @@ interface INaviInfo {
|
|
|
5692
6385
|
# 1: 开启
|
|
5693
6386
|
*/
|
|
5694
6387
|
userProfile?: number;
|
|
6388
|
+
/**
|
|
6389
|
+
* 用户信息托管 - 回调功能开关
|
|
6390
|
+
* 第一位:是否开启群托管 事件同步功能
|
|
6391
|
+
# 第二位:是否开启好友关系 事件同步功能
|
|
6392
|
+
*/
|
|
6393
|
+
eventDriven?: number;
|
|
5695
6394
|
}
|
|
5696
6395
|
|
|
5697
6396
|
declare type Content = string | number | boolean | null;
|
|
@@ -6741,47 +7440,784 @@ interface ISubscribeUserLocalProfileData extends ISubscribeUserLocalBaseData {
|
|
|
6741
7440
|
}
|
|
6742
7441
|
|
|
6743
7442
|
/**
|
|
6744
|
-
*
|
|
7443
|
+
* 好友关系
|
|
7444
|
+
* @category Interface
|
|
7445
|
+
* @since 5.12.0
|
|
6745
7446
|
*/
|
|
6746
|
-
interface
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
7447
|
+
interface IFriendRelationInfo {
|
|
7448
|
+
/**
|
|
7449
|
+
* 用户 ID
|
|
7450
|
+
*/
|
|
7451
|
+
userId: string;
|
|
7452
|
+
/**
|
|
7453
|
+
* 好友关系
|
|
7454
|
+
*/
|
|
7455
|
+
relationType: FriendRelationType;
|
|
7456
|
+
}
|
|
7457
|
+
interface IFriendRelationServerInfo {
|
|
7458
|
+
targetId: string;
|
|
7459
|
+
status: number;
|
|
6753
7460
|
}
|
|
6754
7461
|
/**
|
|
6755
|
-
*
|
|
7462
|
+
* 好友信息
|
|
7463
|
+
* @category Interface
|
|
7464
|
+
* @since 5.12.0
|
|
6756
7465
|
*/
|
|
6757
|
-
interface
|
|
7466
|
+
interface IFriendInfo {
|
|
6758
7467
|
/**
|
|
6759
|
-
*
|
|
7468
|
+
* 用户 ID
|
|
6760
7469
|
*/
|
|
6761
|
-
|
|
7470
|
+
userId: string;
|
|
6762
7471
|
/**
|
|
6763
|
-
*
|
|
6764
|
-
* @param token
|
|
6765
|
-
* @param reconnectKickEnable
|
|
7472
|
+
* 用户名称
|
|
6766
7473
|
*/
|
|
6767
|
-
|
|
6768
|
-
getNaviInfoFromCache(): INaviInfo | null;
|
|
7474
|
+
name: string;
|
|
6769
7475
|
/**
|
|
6770
|
-
*
|
|
6771
|
-
* @param version
|
|
7476
|
+
* 用户头像
|
|
6772
7477
|
*/
|
|
6773
|
-
|
|
6774
|
-
[name: string]: string;
|
|
6775
|
-
}): void;
|
|
7478
|
+
portraitUri: string;
|
|
6776
7479
|
/**
|
|
6777
|
-
*
|
|
7480
|
+
* 好友备注名
|
|
6778
7481
|
*/
|
|
6779
|
-
|
|
7482
|
+
remark: string;
|
|
6780
7483
|
/**
|
|
6781
|
-
*
|
|
6782
|
-
|
|
6783
|
-
|
|
6784
|
-
|
|
7484
|
+
* 自定义扩展属性
|
|
7485
|
+
*/
|
|
7486
|
+
extProfile: {
|
|
7487
|
+
[key: string]: string;
|
|
7488
|
+
};
|
|
7489
|
+
/**
|
|
7490
|
+
* 添加时间:时间戳,精确到毫秒
|
|
7491
|
+
*/
|
|
7492
|
+
addTime: number;
|
|
7493
|
+
/**
|
|
7494
|
+
* 好友类型
|
|
7495
|
+
*/
|
|
7496
|
+
directionType: DirectionType;
|
|
7497
|
+
/**
|
|
7498
|
+
* 是否在黑名单中
|
|
7499
|
+
*/
|
|
7500
|
+
inBlackList: boolean;
|
|
7501
|
+
}
|
|
7502
|
+
interface IFriendServerInfo {
|
|
7503
|
+
userId: string;
|
|
7504
|
+
name: string;
|
|
7505
|
+
portraitUrl: string;
|
|
7506
|
+
remarkName: string;
|
|
7507
|
+
extProfile: {
|
|
7508
|
+
[key: string]: string;
|
|
7509
|
+
};
|
|
7510
|
+
relationTime: number;
|
|
7511
|
+
friendType: number;
|
|
7512
|
+
flag: number;
|
|
7513
|
+
}
|
|
7514
|
+
interface IFriendInviteServerInfo {
|
|
7515
|
+
userId: string;
|
|
7516
|
+
name: string;
|
|
7517
|
+
portraitUrl: string;
|
|
7518
|
+
type: number;
|
|
7519
|
+
status: number;
|
|
7520
|
+
operateTime: number;
|
|
7521
|
+
info: string;
|
|
7522
|
+
friendType: number;
|
|
7523
|
+
}
|
|
7524
|
+
/**
|
|
7525
|
+
* 好友请求信息
|
|
7526
|
+
* @category Interface
|
|
7527
|
+
* @since 5.12.0
|
|
7528
|
+
*/
|
|
7529
|
+
interface IFriendApplicationInfo {
|
|
7530
|
+
/**
|
|
7531
|
+
* 申请用户 ID
|
|
7532
|
+
*/
|
|
7533
|
+
userId: string;
|
|
7534
|
+
/**
|
|
7535
|
+
* 申请用户名称
|
|
7536
|
+
*/
|
|
7537
|
+
name: string;
|
|
7538
|
+
/**
|
|
7539
|
+
* 申请用户头像
|
|
7540
|
+
*/
|
|
7541
|
+
portraitUri: string;
|
|
7542
|
+
/**
|
|
7543
|
+
* 好友请求类型
|
|
7544
|
+
*/
|
|
7545
|
+
applicationType: FriendApplicationType;
|
|
7546
|
+
/**
|
|
7547
|
+
* 好友请求状态
|
|
7548
|
+
*/
|
|
7549
|
+
applicationStatus: FriendApplicationStatus;
|
|
7550
|
+
/**
|
|
7551
|
+
* 操作时间:时间戳精确到毫秒
|
|
7552
|
+
*/
|
|
7553
|
+
operationTime: number;
|
|
7554
|
+
/**
|
|
7555
|
+
* 备注内容。申请添加好友的备注内容
|
|
7556
|
+
*/
|
|
7557
|
+
extra: string;
|
|
7558
|
+
}
|
|
7559
|
+
/**
|
|
7560
|
+
* 添加好友
|
|
7561
|
+
* @category Interface
|
|
7562
|
+
* @since 5.12.0
|
|
7563
|
+
*/
|
|
7564
|
+
interface IFriendAdd {
|
|
7565
|
+
/**
|
|
7566
|
+
* 用户 ID
|
|
7567
|
+
*/
|
|
7568
|
+
userId: string;
|
|
7569
|
+
/**
|
|
7570
|
+
* 用户名称
|
|
7571
|
+
*/
|
|
7572
|
+
name: string;
|
|
7573
|
+
/**
|
|
7574
|
+
* 用户头像
|
|
7575
|
+
*/
|
|
7576
|
+
portraitUri: string;
|
|
7577
|
+
/**
|
|
7578
|
+
* 好友类型
|
|
7579
|
+
*/
|
|
7580
|
+
directionType: DirectionType;
|
|
7581
|
+
/**
|
|
7582
|
+
* 操作时间:时间戳精确到毫秒
|
|
7583
|
+
*/
|
|
7584
|
+
operationTime: number;
|
|
7585
|
+
}
|
|
7586
|
+
/**
|
|
7587
|
+
* 删除好友
|
|
7588
|
+
* @category Interface
|
|
7589
|
+
* @since 5.12.0
|
|
7590
|
+
*/
|
|
7591
|
+
interface IFriendDelete {
|
|
7592
|
+
/**
|
|
7593
|
+
* 用户 ID
|
|
7594
|
+
*/
|
|
7595
|
+
userIds: string[];
|
|
7596
|
+
/**
|
|
7597
|
+
* 好友方向类型
|
|
7598
|
+
*/
|
|
7599
|
+
directionType: DirectionType;
|
|
7600
|
+
/**
|
|
7601
|
+
* 操作时间
|
|
7602
|
+
*/
|
|
7603
|
+
operationTime: number;
|
|
7604
|
+
}
|
|
7605
|
+
/**
|
|
7606
|
+
* 好有申请状态变更
|
|
7607
|
+
* @category Interface
|
|
7608
|
+
* @since 5.12.0
|
|
7609
|
+
*/
|
|
7610
|
+
interface IFriendApplicationStatusChange {
|
|
7611
|
+
/**
|
|
7612
|
+
* 用户 ID
|
|
7613
|
+
*/
|
|
7614
|
+
userId: string;
|
|
7615
|
+
/**
|
|
7616
|
+
* 好友请求类型
|
|
7617
|
+
*/
|
|
7618
|
+
applicationType: FriendApplicationType;
|
|
7619
|
+
/**
|
|
7620
|
+
* 好友请求状态
|
|
7621
|
+
*/
|
|
7622
|
+
applicationStatus: FriendApplicationStatus;
|
|
7623
|
+
/**
|
|
7624
|
+
* 好友类型
|
|
7625
|
+
*/
|
|
7626
|
+
directionType: DirectionType;
|
|
7627
|
+
/**
|
|
7628
|
+
* 操作时间
|
|
7629
|
+
*/
|
|
7630
|
+
operationTime: number;
|
|
7631
|
+
/**
|
|
7632
|
+
* 扩展
|
|
7633
|
+
*/
|
|
7634
|
+
extra: string;
|
|
7635
|
+
}
|
|
7636
|
+
/**
|
|
7637
|
+
* 多端同步好友关系变更
|
|
7638
|
+
* @category Interface
|
|
7639
|
+
* @since 5.12.0
|
|
7640
|
+
*/
|
|
7641
|
+
interface IFriendInfoChangedSync {
|
|
7642
|
+
/**
|
|
7643
|
+
* 用户 ID
|
|
7644
|
+
*/
|
|
7645
|
+
userId: string;
|
|
7646
|
+
/**
|
|
7647
|
+
* 备注
|
|
7648
|
+
*/
|
|
7649
|
+
remark: string;
|
|
7650
|
+
/**
|
|
7651
|
+
* 扩展信息
|
|
7652
|
+
*/
|
|
7653
|
+
extProfile: {
|
|
7654
|
+
[key: string]: string;
|
|
7655
|
+
};
|
|
7656
|
+
/**
|
|
7657
|
+
* 操作时间
|
|
7658
|
+
*/
|
|
7659
|
+
operationTime: number;
|
|
7660
|
+
}
|
|
7661
|
+
|
|
7662
|
+
/**
|
|
7663
|
+
* 分页查询参数
|
|
7664
|
+
* @category Interface
|
|
7665
|
+
* @since 5.12.0
|
|
7666
|
+
*/
|
|
7667
|
+
interface IPagingQueryOption {
|
|
7668
|
+
/**
|
|
7669
|
+
* 每页条数,范围 1-200
|
|
7670
|
+
*/
|
|
7671
|
+
count: number;
|
|
7672
|
+
/**
|
|
7673
|
+
* 分页标识,获取第一页时传 '',第二页传入 SDK 返回第一页数据时携带的 pageToken
|
|
7674
|
+
*/
|
|
7675
|
+
pageToken?: string;
|
|
7676
|
+
/**
|
|
7677
|
+
* 排序类型:支持设置正序、倒序获取。true:正序;false:倒序。默认为 true
|
|
7678
|
+
*/
|
|
7679
|
+
order?: boolean;
|
|
7680
|
+
}
|
|
7681
|
+
/**
|
|
7682
|
+
* 分页请求结果
|
|
7683
|
+
* @category Interface
|
|
7684
|
+
* @since 5.12.0
|
|
7685
|
+
*/
|
|
7686
|
+
interface IPagingQueryResult<T> {
|
|
7687
|
+
/**
|
|
7688
|
+
* 当前页标识,请求下一页数据时需携带
|
|
7689
|
+
*/
|
|
7690
|
+
pageToken: string;
|
|
7691
|
+
/**
|
|
7692
|
+
* 总数,非所有接口提供此字段
|
|
7693
|
+
*/
|
|
7694
|
+
totalCount?: number;
|
|
7695
|
+
/**
|
|
7696
|
+
* 数据列表
|
|
7697
|
+
*/
|
|
7698
|
+
data: T[];
|
|
7699
|
+
}
|
|
7700
|
+
/**
|
|
7701
|
+
* 群组信息设置参数
|
|
7702
|
+
* @category Interface
|
|
7703
|
+
* @since 5.12.0
|
|
7704
|
+
*/
|
|
7705
|
+
interface IGroupInfoOption extends IGroupBaseInfo {
|
|
7706
|
+
/**
|
|
7707
|
+
* 群介绍
|
|
7708
|
+
*/
|
|
7709
|
+
introduction?: string;
|
|
7710
|
+
/**
|
|
7711
|
+
* 群公告
|
|
7712
|
+
*/
|
|
7713
|
+
notice?: string;
|
|
7714
|
+
/**
|
|
7715
|
+
* 扩展消息
|
|
7716
|
+
*/
|
|
7717
|
+
extProfile?: {
|
|
7718
|
+
[key: string]: string;
|
|
7719
|
+
};
|
|
7720
|
+
/**
|
|
7721
|
+
* 主动加入群权限模式
|
|
7722
|
+
*/
|
|
7723
|
+
joinPermission?: GroupJoinPermission;
|
|
7724
|
+
/**
|
|
7725
|
+
* 将群成员移出群组设置模式
|
|
7726
|
+
*/
|
|
7727
|
+
removeMemberPermission?: GroupOperationPermission;
|
|
7728
|
+
/**
|
|
7729
|
+
* 邀请他人入群模式
|
|
7730
|
+
*/
|
|
7731
|
+
invitePermission?: GroupOperationPermission;
|
|
7732
|
+
/**
|
|
7733
|
+
* 被邀请入群模式
|
|
7734
|
+
*/
|
|
7735
|
+
inviteHandlePermission?: GroupInviteHandlePermission;
|
|
7736
|
+
/**
|
|
7737
|
+
* 群信息更新模式
|
|
7738
|
+
*/
|
|
7739
|
+
groupInfoEditPermission?: GroupOperationPermission;
|
|
7740
|
+
/**
|
|
7741
|
+
* 群成员信息更新模式
|
|
7742
|
+
*/
|
|
7743
|
+
memberInfoEditPermission?: GroupMemberInfoEditPermission;
|
|
7744
|
+
}
|
|
7745
|
+
interface IGroupBaseInfo {
|
|
7746
|
+
/**
|
|
7747
|
+
* 群组 ID
|
|
7748
|
+
* @description 1 ~ 64 个字符,仅支持字母,数字 和 -_+=|: 字符
|
|
7749
|
+
*/
|
|
7750
|
+
groupId: string;
|
|
7751
|
+
/**
|
|
7752
|
+
* 群组名称
|
|
7753
|
+
* @description 1 ~ 64 个字符,不可以为纯空格
|
|
7754
|
+
*/
|
|
7755
|
+
groupName?: string;
|
|
7756
|
+
/**
|
|
7757
|
+
* 群头像
|
|
7758
|
+
*/
|
|
7759
|
+
portraitUri?: string;
|
|
7760
|
+
}
|
|
7761
|
+
interface IGroupInfo extends IGroupInfoOption {
|
|
7762
|
+
/**
|
|
7763
|
+
* 群备注
|
|
7764
|
+
*/
|
|
7765
|
+
remark?: string;
|
|
7766
|
+
/**
|
|
7767
|
+
* 群成员角色
|
|
7768
|
+
*/
|
|
7769
|
+
role?: GroupMemberRole;
|
|
7770
|
+
/**
|
|
7771
|
+
* 入群时间:时间戳,精确到毫秒
|
|
7772
|
+
*/
|
|
7773
|
+
joinedTime?: number;
|
|
7774
|
+
/**
|
|
7775
|
+
* 创建者 ID
|
|
7776
|
+
*/
|
|
7777
|
+
creatorId?: string;
|
|
7778
|
+
/**
|
|
7779
|
+
* 群主 ID
|
|
7780
|
+
*/
|
|
7781
|
+
ownerId?: string;
|
|
7782
|
+
/**
|
|
7783
|
+
* 创建时间
|
|
7784
|
+
*/
|
|
7785
|
+
createTime?: number;
|
|
7786
|
+
/**
|
|
7787
|
+
* 群成员数
|
|
7788
|
+
*/
|
|
7789
|
+
membersCount?: number;
|
|
7790
|
+
}
|
|
7791
|
+
/**
|
|
7792
|
+
* 踢出群组或者主动退群配置
|
|
7793
|
+
* @category Interface
|
|
7794
|
+
* @since 5.12.0
|
|
7795
|
+
*/
|
|
7796
|
+
interface IQuitGroupConfig {
|
|
7797
|
+
/**
|
|
7798
|
+
* 是否移除群成员禁言状态,true代表移除,false代表不移除。默认为true
|
|
7799
|
+
*/
|
|
7800
|
+
removeMuteStatus: boolean;
|
|
7801
|
+
/**
|
|
7802
|
+
* 是否移除群成员白名单,true代表移除,false代表不移除。默认为true
|
|
7803
|
+
*/
|
|
7804
|
+
removeWhiteList: boolean;
|
|
7805
|
+
/**
|
|
7806
|
+
* 是否移除特别关注群成员,true代表移除,false代表不移除。默认为true
|
|
7807
|
+
*/
|
|
7808
|
+
removeFollow: boolean;
|
|
7809
|
+
}
|
|
7810
|
+
/**
|
|
7811
|
+
* 群成员信息
|
|
7812
|
+
* @category Interface
|
|
7813
|
+
* @since 5.12.0
|
|
7814
|
+
*/
|
|
7815
|
+
interface IGroupMemberInfo {
|
|
7816
|
+
/**
|
|
7817
|
+
* 群成员用户Id。
|
|
7818
|
+
*/
|
|
7819
|
+
userId: string;
|
|
7820
|
+
/**
|
|
7821
|
+
* 群成员名称。
|
|
7822
|
+
*/
|
|
7823
|
+
name: string;
|
|
7824
|
+
/**
|
|
7825
|
+
* 群成员头像 URL 地址。
|
|
7826
|
+
*/
|
|
7827
|
+
portraitUri: string;
|
|
7828
|
+
/**
|
|
7829
|
+
* 群成员群昵称:默认未设置时为用户名称
|
|
7830
|
+
*/
|
|
7831
|
+
nickname?: string;
|
|
7832
|
+
/**
|
|
7833
|
+
* 群成员附加信息
|
|
7834
|
+
*/
|
|
7835
|
+
extra?: string;
|
|
7836
|
+
/**
|
|
7837
|
+
* 群成员角色
|
|
7838
|
+
*/
|
|
7839
|
+
role?: GroupMemberRole;
|
|
7840
|
+
/**
|
|
7841
|
+
* 入群时间:时间戳,精确到毫秒
|
|
7842
|
+
*/
|
|
7843
|
+
joinedTime?: number;
|
|
7844
|
+
}
|
|
7845
|
+
/**
|
|
7846
|
+
* 特别关注信息
|
|
7847
|
+
* @category Interface
|
|
7848
|
+
* @since 5.12.0
|
|
7849
|
+
*/
|
|
7850
|
+
interface IFollowsInfo {
|
|
7851
|
+
/**
|
|
7852
|
+
* 用户Id。
|
|
7853
|
+
*/
|
|
7854
|
+
userId: string;
|
|
7855
|
+
/**
|
|
7856
|
+
* 关注时间
|
|
7857
|
+
*/
|
|
7858
|
+
time: number;
|
|
7859
|
+
}
|
|
7860
|
+
/**
|
|
7861
|
+
* 群申请信息
|
|
7862
|
+
* @category Interface
|
|
7863
|
+
* @since 5.12.0
|
|
7864
|
+
*/
|
|
7865
|
+
interface IGroupApplicationInfo {
|
|
7866
|
+
/**
|
|
7867
|
+
* 群Id。
|
|
7868
|
+
*/
|
|
7869
|
+
groupId: string;
|
|
7870
|
+
/**
|
|
7871
|
+
* 待加入群组用户
|
|
7872
|
+
*/
|
|
7873
|
+
joinMemberInfo: IGroupMemberInfo;
|
|
7874
|
+
/**
|
|
7875
|
+
* 邀请者
|
|
7876
|
+
*/
|
|
7877
|
+
inviterInfo?: IGroupMemberInfo;
|
|
7878
|
+
/**
|
|
7879
|
+
* 操作人信息
|
|
7880
|
+
*/
|
|
7881
|
+
operatorInfo?: IGroupMemberInfo;
|
|
7882
|
+
/**
|
|
7883
|
+
* 群请求状态
|
|
7884
|
+
*/
|
|
7885
|
+
status: GroupApplicationStatus;
|
|
7886
|
+
/**
|
|
7887
|
+
* 请求方向
|
|
7888
|
+
*/
|
|
7889
|
+
direction: GroupApplicationDirection;
|
|
7890
|
+
/**
|
|
7891
|
+
* 请求类型
|
|
7892
|
+
*/
|
|
7893
|
+
type: GroupApplicationType;
|
|
7894
|
+
/**
|
|
7895
|
+
* 操作时间:时间戳精确到毫秒
|
|
7896
|
+
*/
|
|
7897
|
+
operationTime: number;
|
|
7898
|
+
/**
|
|
7899
|
+
* 备注内容。针对拒绝加入群组情况,可查看备注内容
|
|
7900
|
+
*/
|
|
7901
|
+
reason: string;
|
|
7902
|
+
}
|
|
7903
|
+
/**
|
|
7904
|
+
* 群申请列表
|
|
7905
|
+
* @category Interface
|
|
7906
|
+
* @since 5.12.0
|
|
7907
|
+
*/
|
|
7908
|
+
interface IGroupMembers {
|
|
7909
|
+
/**
|
|
7910
|
+
* 当前查询的群成员总数
|
|
7911
|
+
*/
|
|
7912
|
+
memberCount: number;
|
|
7913
|
+
/**
|
|
7914
|
+
* 群成员信息数组
|
|
7915
|
+
*/
|
|
7916
|
+
members: IGroupMemberInfo[];
|
|
7917
|
+
}
|
|
7918
|
+
/**
|
|
7919
|
+
* 特别关注信息列表
|
|
7920
|
+
* @category Interface
|
|
7921
|
+
* @since 5.12.0
|
|
7922
|
+
*/
|
|
7923
|
+
interface IGroupFollowsList {
|
|
7924
|
+
/**
|
|
7925
|
+
* 群 ID
|
|
7926
|
+
*/
|
|
7927
|
+
groupId: string;
|
|
7928
|
+
/**
|
|
7929
|
+
* 关注人数
|
|
7930
|
+
*/
|
|
7931
|
+
followCount: number;
|
|
7932
|
+
/**
|
|
7933
|
+
* 关注列表
|
|
7934
|
+
*/
|
|
7935
|
+
follows: IGroupFollowsUserInfo[];
|
|
7936
|
+
}
|
|
7937
|
+
/**
|
|
7938
|
+
* 特别关注用户信息
|
|
7939
|
+
* @category Interface
|
|
7940
|
+
* @since 5.12.0
|
|
7941
|
+
*/
|
|
7942
|
+
interface IGroupFollowsUserInfo {
|
|
7943
|
+
/**
|
|
7944
|
+
* 用户 ID
|
|
7945
|
+
*/
|
|
7946
|
+
userId: string;
|
|
7947
|
+
/**
|
|
7948
|
+
* 用户昵称
|
|
7949
|
+
*/
|
|
7950
|
+
nickname: string;
|
|
7951
|
+
/**
|
|
7952
|
+
* 群身份
|
|
7953
|
+
*/
|
|
7954
|
+
role: GroupMemberRole;
|
|
7955
|
+
/**
|
|
7956
|
+
* 加入时间
|
|
7957
|
+
*/
|
|
7958
|
+
joinTime: number;
|
|
7959
|
+
/**
|
|
7960
|
+
* 关注时间
|
|
7961
|
+
*/
|
|
7962
|
+
followTime: number;
|
|
7963
|
+
/**
|
|
7964
|
+
* 附加信息
|
|
7965
|
+
*/
|
|
7966
|
+
extra: string;
|
|
7967
|
+
}
|
|
7968
|
+
/**
|
|
7969
|
+
* 群组操作信息
|
|
7970
|
+
* @category Interface
|
|
7971
|
+
* @since 5.12.0
|
|
7972
|
+
*/
|
|
7973
|
+
interface IGroupOperationInfo {
|
|
7974
|
+
/**
|
|
7975
|
+
* 群组 ID
|
|
7976
|
+
*/
|
|
7977
|
+
groupId: string;
|
|
7978
|
+
/**
|
|
7979
|
+
* 操作用户
|
|
7980
|
+
* 注意:服务端 api 操作可能为空
|
|
7981
|
+
*/
|
|
7982
|
+
operatorInfo?: IGroupMemberInfo;
|
|
7983
|
+
/**
|
|
7984
|
+
* 群组信息,仅创建群组返回 groupInfo
|
|
7985
|
+
*/
|
|
7986
|
+
groupInfo?: IGroupInfo;
|
|
7987
|
+
/**
|
|
7988
|
+
* 操作类型
|
|
7989
|
+
*/
|
|
7990
|
+
operation: GroupOperation;
|
|
7991
|
+
/**
|
|
7992
|
+
* 本次操作行为,涉及到的群成员列表
|
|
7993
|
+
* 注意:创建群组,解散群组时为空
|
|
7994
|
+
*/
|
|
7995
|
+
memberInfos?: IGroupMemberInfo[];
|
|
7996
|
+
/**
|
|
7997
|
+
* 操作时间
|
|
7998
|
+
*/
|
|
7999
|
+
operationTime: number;
|
|
8000
|
+
}
|
|
8001
|
+
/**
|
|
8002
|
+
* 群成员信息变更
|
|
8003
|
+
* @category Interface
|
|
8004
|
+
* @since 5.12.0
|
|
8005
|
+
*/
|
|
8006
|
+
interface IGroupMemberInfoChanged {
|
|
8007
|
+
/**
|
|
8008
|
+
* 群组ID
|
|
8009
|
+
*/
|
|
8010
|
+
groupId: string;
|
|
8011
|
+
/**
|
|
8012
|
+
* 操作人信息
|
|
8013
|
+
*/
|
|
8014
|
+
operatorInfo: IGroupMemberInfo;
|
|
8015
|
+
/**
|
|
8016
|
+
* 变更的群成员资料列表
|
|
8017
|
+
*/
|
|
8018
|
+
memberInfo: IGroupMemberInfo;
|
|
8019
|
+
/**
|
|
8020
|
+
* 操作时间
|
|
8021
|
+
*/
|
|
8022
|
+
operationTime: number;
|
|
8023
|
+
}
|
|
8024
|
+
/**
|
|
8025
|
+
* 群组资料变更回调
|
|
8026
|
+
* @category Interface
|
|
8027
|
+
* @since 5.12.0
|
|
8028
|
+
*/
|
|
8029
|
+
interface IGroupInfoChanged {
|
|
8030
|
+
/**
|
|
8031
|
+
* 操作用户信息
|
|
8032
|
+
*/
|
|
8033
|
+
operatorInfo: IGroupMemberInfo;
|
|
8034
|
+
/**
|
|
8035
|
+
* 群组信息
|
|
8036
|
+
*/
|
|
8037
|
+
groupInfo: IGroupInfo;
|
|
8038
|
+
/**
|
|
8039
|
+
* 操作时间
|
|
8040
|
+
*/
|
|
8041
|
+
operationTime: number;
|
|
8042
|
+
}
|
|
8043
|
+
/**
|
|
8044
|
+
* 群组备注更新信息
|
|
8045
|
+
* @category Interface
|
|
8046
|
+
* @since 5.12.0
|
|
8047
|
+
*/
|
|
8048
|
+
interface IGroupRemarkChangedSync {
|
|
8049
|
+
/**
|
|
8050
|
+
* 群组ID
|
|
8051
|
+
*/
|
|
8052
|
+
groupId: string;
|
|
8053
|
+
/**
|
|
8054
|
+
* 操作类型,参照 {@link GroupOperationType} 枚举
|
|
8055
|
+
*/
|
|
8056
|
+
operationType: GroupOperationType;
|
|
8057
|
+
/**
|
|
8058
|
+
* 操作时间
|
|
8059
|
+
*/
|
|
8060
|
+
operationTime: number;
|
|
8061
|
+
/**
|
|
8062
|
+
* 群备注内容
|
|
8063
|
+
*/
|
|
8064
|
+
groupRemark: string;
|
|
8065
|
+
}
|
|
8066
|
+
/**
|
|
8067
|
+
* 特别关注用户变更
|
|
8068
|
+
* @category Interface
|
|
8069
|
+
* @since 5.12.0
|
|
8070
|
+
*/
|
|
8071
|
+
interface IGroupFollowsChangedSync {
|
|
8072
|
+
/**
|
|
8073
|
+
* 群组ID
|
|
8074
|
+
*/
|
|
8075
|
+
groupId: string;
|
|
8076
|
+
/**
|
|
8077
|
+
* 操作类型,参照 {@link GroupOperationType} 枚举
|
|
8078
|
+
*/
|
|
8079
|
+
operationType: GroupOperationType;
|
|
8080
|
+
/**
|
|
8081
|
+
* 操作时间
|
|
8082
|
+
*/
|
|
8083
|
+
operationTime: number;
|
|
8084
|
+
/**
|
|
8085
|
+
* 成员用户 ID 数组
|
|
8086
|
+
*/
|
|
8087
|
+
userIds: string[];
|
|
8088
|
+
}
|
|
8089
|
+
interface IProcessCode {
|
|
8090
|
+
processCode: ErrorCode;
|
|
8091
|
+
}
|
|
8092
|
+
interface IServerGroupInfo {
|
|
8093
|
+
targetId: string;
|
|
8094
|
+
type: ConversationType;
|
|
8095
|
+
settingProfile: IServerProfileInfo[];
|
|
8096
|
+
extProfile: IServerProfileInfo[];
|
|
8097
|
+
baseInfo: IServerChannelBaseInfo;
|
|
8098
|
+
userInfo: IServerChannelsUserExtInfo;
|
|
8099
|
+
}
|
|
8100
|
+
interface IServerChannelBaseInfo {
|
|
8101
|
+
/**
|
|
8102
|
+
* 创建者 ID
|
|
8103
|
+
*/
|
|
8104
|
+
creatorId?: string;
|
|
8105
|
+
/**
|
|
8106
|
+
* 群主 ID
|
|
8107
|
+
*/
|
|
8108
|
+
ownerId?: string;
|
|
8109
|
+
/**
|
|
8110
|
+
* 创建时间
|
|
8111
|
+
*/
|
|
8112
|
+
createTime?: number;
|
|
8113
|
+
/**
|
|
8114
|
+
* 群成员数
|
|
8115
|
+
*/
|
|
8116
|
+
memberCount?: number;
|
|
8117
|
+
}
|
|
8118
|
+
interface IServerChannelsListResult<T = unknown> {
|
|
8119
|
+
listType: number;
|
|
8120
|
+
result: T;
|
|
8121
|
+
page: IServerChannelsPageParam;
|
|
8122
|
+
}
|
|
8123
|
+
interface IServerChannelsPageParam {
|
|
8124
|
+
size: number;
|
|
8125
|
+
pageToken: string;
|
|
8126
|
+
hasNext: boolean;
|
|
8127
|
+
total: number;
|
|
8128
|
+
}
|
|
8129
|
+
interface IServerChannelsUserInfo {
|
|
8130
|
+
userId: string;
|
|
8131
|
+
ext?: IServerChannelsUserExtInfo;
|
|
8132
|
+
opTime?: number;
|
|
8133
|
+
name?: string;
|
|
8134
|
+
portraitUrl?: string;
|
|
8135
|
+
}
|
|
8136
|
+
interface IServerChannelsUserExtInfo {
|
|
8137
|
+
role: number;
|
|
8138
|
+
joinTime: number;
|
|
8139
|
+
channelNickName: string;
|
|
8140
|
+
additional: string;
|
|
8141
|
+
remarkName: string;
|
|
8142
|
+
}
|
|
8143
|
+
interface IServerGroupBaseInfo {
|
|
8144
|
+
name?: string;
|
|
8145
|
+
portraitUrl?: string;
|
|
8146
|
+
introduction?: string;
|
|
8147
|
+
announcement?: string;
|
|
8148
|
+
joinPerm?: number;
|
|
8149
|
+
removePerm?: number;
|
|
8150
|
+
memInvitePerm?: number;
|
|
8151
|
+
invitePerm?: number;
|
|
8152
|
+
profilePerm?: number;
|
|
8153
|
+
memProfilePerm?: number;
|
|
8154
|
+
}
|
|
8155
|
+
interface IServerChannelsOutput {
|
|
8156
|
+
operateTime: number;
|
|
8157
|
+
flag: number;
|
|
8158
|
+
msg: string;
|
|
8159
|
+
processCode?: number;
|
|
8160
|
+
}
|
|
8161
|
+
interface IUserProfileBaseInfo {
|
|
8162
|
+
name: string;
|
|
8163
|
+
portraitUri: string;
|
|
8164
|
+
expiration: number;
|
|
8165
|
+
}
|
|
8166
|
+
interface IServerChannelsInviteStatusInfo {
|
|
8167
|
+
targetId: string;
|
|
8168
|
+
joinUserInfo: IServerChannelsUserInfo;
|
|
8169
|
+
inviterInfo: IServerChannelsUserInfo;
|
|
8170
|
+
status: number;
|
|
8171
|
+
directionType: number;
|
|
8172
|
+
joinType: number;
|
|
8173
|
+
detail: string;
|
|
8174
|
+
applyTime: number;
|
|
8175
|
+
processInfo: IServerChannelsUserInfo;
|
|
8176
|
+
processTime: number;
|
|
8177
|
+
}
|
|
8178
|
+
|
|
8179
|
+
/**
|
|
8180
|
+
* 进程内缓存数据
|
|
8181
|
+
*/
|
|
8182
|
+
interface IProcessCache {
|
|
8183
|
+
crtUserId: string;
|
|
8184
|
+
connectedTime: number;
|
|
8185
|
+
naviInfo: INaviInfo | null;
|
|
8186
|
+
connectionStatus: RCConnectionStatus;
|
|
8187
|
+
deviceId: string;
|
|
8188
|
+
deltaTime: number;
|
|
8189
|
+
}
|
|
8190
|
+
/**
|
|
8191
|
+
* 约束主进程 CppEngine 与 CppService 间的方法定义,以便于代码检查
|
|
8192
|
+
*/
|
|
8193
|
+
interface IEngine {
|
|
8194
|
+
/**
|
|
8195
|
+
* 注册本渲染进程至主进程,以接收主进程的消息通知,同时同步主进程的当前缓存数据
|
|
8196
|
+
*/
|
|
8197
|
+
getMainProcessCache(): Promise<IProcessCache>;
|
|
8198
|
+
/**
|
|
8199
|
+
* 建立连接
|
|
8200
|
+
* @param token
|
|
8201
|
+
* @param reconnectKickEnable
|
|
8202
|
+
*/
|
|
8203
|
+
connect(token: string, reconnectKickEnable: boolean, openCallPlus: boolean, traceId: string): IPromiseResult<string>;
|
|
8204
|
+
getNaviInfoFromCache(): INaviInfo | null;
|
|
8205
|
+
/**
|
|
8206
|
+
* 上报版本信息
|
|
8207
|
+
* @param version
|
|
8208
|
+
*/
|
|
8209
|
+
reportSDKInfo(version: {
|
|
8210
|
+
[name: string]: string;
|
|
8211
|
+
}): void;
|
|
8212
|
+
/**
|
|
8213
|
+
* 连接时间
|
|
8214
|
+
*/
|
|
8215
|
+
getConnectedTime(): number;
|
|
8216
|
+
/**
|
|
8217
|
+
* 调用非标准方法。所谓非标准方法,是为某些特定需求或产品添加,暂未作为标准接口添加至 API 层。
|
|
8218
|
+
* 对于未实现的方法,接口响应 Unsupport 错误码
|
|
8219
|
+
* @param method
|
|
8220
|
+
* @param args
|
|
6785
8221
|
*/
|
|
6786
8222
|
callExtra(method: string | keyof IExtraMethod, ...args: any[]): Promise<IAsyncRes<unknown>>;
|
|
6787
8223
|
/**
|
|
@@ -7326,6 +8762,54 @@ interface IEngine {
|
|
|
7326
8762
|
updateMyUserProfileVisibility(visibility: UserProfileVisibility): Promise<IAsyncRes>;
|
|
7327
8763
|
getMyUserProfileVisibility(): Promise<IAsyncRes<UserProfileVisibility>>;
|
|
7328
8764
|
searchUserProfileByUniqueId(uniqueId: string): Promise<IAsyncRes<IUserProfileInfo>>;
|
|
8765
|
+
createGroup(groupId: string, baseInfo: IServerGroupBaseInfo, extProfile: {
|
|
8766
|
+
[key: string]: string;
|
|
8767
|
+
} | undefined, inviteeUserIds: string[]): Promise<IAsyncRes<IProcessCode>>;
|
|
8768
|
+
updateGroupInfo(groupId: string, baseInfo: IServerGroupBaseInfo, extProfile: {
|
|
8769
|
+
[key: string]: string;
|
|
8770
|
+
} | undefined): Promise<IAsyncRes<void>>;
|
|
8771
|
+
getGroupsInfo(groupIds: string[]): Promise<IAsyncRes<IGroupInfo[]>>;
|
|
8772
|
+
kickGroupMembers(groupId: string, userIds: string[], config: IQuitGroupConfig): Promise<IAsyncRes<void>>;
|
|
8773
|
+
quitGroup(groupId: string, config: IQuitGroupConfig): Promise<IAsyncRes<void>>;
|
|
8774
|
+
dismissGroup(groupId: string): Promise<IAsyncRes<void>>;
|
|
8775
|
+
transferGroupOwner(groupId: string, newOwnerId: string, quitGroupAfterTransfer: boolean, config: IQuitGroupConfig): Promise<IAsyncRes<void>>;
|
|
8776
|
+
setGroupManagers(type: GroupOperationType, groupId: string, userIds: string[]): Promise<IAsyncRes<void>>;
|
|
8777
|
+
getGroupMembersByRole(groupId: string, role: GroupMemberRole, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
8778
|
+
getGroupMembers(groupId: string, userIds: string[]): Promise<IAsyncRes<IGroupMemberInfo[]>>;
|
|
8779
|
+
setGroupMemberInfo(groupId: string, userId: string, nickname: string, extra?: string): Promise<IAsyncRes<void>>;
|
|
8780
|
+
searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IGroupMemberInfo[]>>;
|
|
8781
|
+
joinGroup(groupId: string): Promise<IAsyncRes<IProcessCode>>;
|
|
8782
|
+
inviteUsersToGroup(groupId: string, userIds: string[]): Promise<IAsyncRes<IProcessCode>>;
|
|
8783
|
+
memberInviteResponse(params: {
|
|
8784
|
+
groupId: string;
|
|
8785
|
+
inviterId: string;
|
|
8786
|
+
optType: GroupOperationRole;
|
|
8787
|
+
optResult: GroupOperationStatus;
|
|
8788
|
+
joinUserId?: string;
|
|
8789
|
+
reason?: string;
|
|
8790
|
+
}): Promise<IAsyncRes<IProcessCode>>;
|
|
8791
|
+
getGroupApplications(option: IPagingQueryOption, directions: GroupApplicationDirection[], status: GroupApplicationStatus[]): Promise<IAsyncRes<IPagingQueryResult<IGroupApplicationInfo>>>;
|
|
8792
|
+
getJoinedGroupsByRole(role: GroupMemberRole, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupInfo>>>;
|
|
8793
|
+
searchJoinedGroups(groupName: string, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupInfo>>>;
|
|
8794
|
+
getJoinedGroups(groupIds: string[]): Promise<IAsyncRes<IGroupInfo[]>>;
|
|
8795
|
+
setGroupRemark(groupId: string, remark: string | null): Promise<IAsyncRes<void>>;
|
|
8796
|
+
setGroupFollows(optType: GroupOperationType, groupId: string, userIds: string[]): Promise<IAsyncRes<void>>;
|
|
8797
|
+
getGroupFollows(groupId: string): Promise<IAsyncRes<IFollowsInfo[]>>;
|
|
8798
|
+
addFriend(userId: string, directionType: DirectionType, extra?: string): Promise<IAsyncRes<IProcessCode>>;
|
|
8799
|
+
deleteFriends(userIds: string[], directionType: DirectionType): Promise<IAsyncRes<void>>;
|
|
8800
|
+
acceptFriendApplication(userId: string): Promise<IAsyncRes<void>>;
|
|
8801
|
+
refuseFriendApplication(userId: string, reason?: string): Promise<IAsyncRes<void>>;
|
|
8802
|
+
setFriendInfo(userId: string, remark: string, extProfile: {
|
|
8803
|
+
[key: string]: string;
|
|
8804
|
+
}): Promise<IAsyncRes<void>>;
|
|
8805
|
+
checkFriends(userIds: string[], directionType: DirectionType): Promise<IAsyncRes<IFriendRelationInfo[]>>;
|
|
8806
|
+
getFriends(directionType: QueryFriendsDirectionType, option: IPagingQueryOption | undefined): Promise<IAsyncRes<IPagingQueryResult<IFriendInfo>>>;
|
|
8807
|
+
getFriendApplications(option: IPagingQueryOption, type?: FriendApplicationType[], status?: FriendApplicationStatus[]): Promise<IAsyncRes<IPagingQueryResult<IFriendApplicationInfo>>>;
|
|
8808
|
+
deleteFriendApplication(userId: string, type: FriendApplicationType): Promise<IAsyncRes<void>>;
|
|
8809
|
+
getFriendsInfo(userIds: string[]): Promise<IAsyncRes<IFriendInfo[]>>;
|
|
8810
|
+
searchFriendsInfo(nickname: string): Promise<IAsyncRes<IFriendInfo[]>>;
|
|
8811
|
+
setFriendAddPermission(permission: FriendAddPermission): Promise<IAsyncRes<void>>;
|
|
8812
|
+
getFriendAddPermission(): Promise<IAsyncRes<FriendAddPermission>>;
|
|
7329
8813
|
rtcPing(roomId: string, mode: number, broadcastType?: number): Promise<IAsyncRes<any>>;
|
|
7330
8814
|
rtcSignaling(roomId: string, method: string, isQuery: boolean, sourceData: any): Promise<{
|
|
7331
8815
|
code: ErrorCode;
|
|
@@ -8164,6 +9648,17 @@ interface IWatcher {
|
|
|
8164
9648
|
subscribedRelationChange?: (data: ISubscribeRelationInfo[]) => void;
|
|
8165
9649
|
syncSubscribedUserStatusFinished?: (subscribeType: SubscribeType) => void;
|
|
8166
9650
|
ownUserProfileChanged?: (userProfile: IUserProfileInfo) => void;
|
|
9651
|
+
groupOperation?: (data: IGroupOperationInfo) => void;
|
|
9652
|
+
groupInfoChanged?: (data: IGroupInfoChanged) => void;
|
|
9653
|
+
groupMemberInfoChanged?: (data: IGroupMemberInfoChanged) => void;
|
|
9654
|
+
groupApplicationEvent?: (data: IGroupApplicationInfo) => void;
|
|
9655
|
+
groupRemarkChangedSync?: (data: IGroupRemarkChangedSync) => void;
|
|
9656
|
+
groupFollowsChangedSync?: (data: IGroupFollowsChangedSync) => void;
|
|
9657
|
+
friendAdd?: (data: IFriendAdd) => void;
|
|
9658
|
+
friendDelete?: (data: IFriendDelete) => void;
|
|
9659
|
+
friendApplicationStatusChanged?: (data: IFriendApplicationStatusChange) => void;
|
|
9660
|
+
friendCleared?: (data: number) => void;
|
|
9661
|
+
friendInfoChangedSync?: (data: IFriendInfoChangedSync) => void;
|
|
8167
9662
|
databaseUpgradeWillStart?: () => void;
|
|
8168
9663
|
databaseUpgrading?: (progress: number) => void;
|
|
8169
9664
|
databaseUpgradeDidComplete?: (code: ErrorCode) => void;
|
|
@@ -8482,6 +9977,17 @@ declare class APIContext {
|
|
|
8482
9977
|
private _subscribedRelationChange;
|
|
8483
9978
|
private _syncSubscribedUserStatusFinished;
|
|
8484
9979
|
private _ownUserProfileChanged;
|
|
9980
|
+
private _groupOperation;
|
|
9981
|
+
private _groupInfoChanged;
|
|
9982
|
+
private _groupMemberInfoChanged;
|
|
9983
|
+
private _groupApplicationEvent;
|
|
9984
|
+
private _groupRemarkChangedSync;
|
|
9985
|
+
private _groupFollowsChangedSync;
|
|
9986
|
+
private _friendAdd;
|
|
9987
|
+
private _friendDelete;
|
|
9988
|
+
private _friendApplicationStatusChanged;
|
|
9989
|
+
private _friendCleared;
|
|
9990
|
+
private _friendInfoChangedSync;
|
|
8485
9991
|
/**
|
|
8486
9992
|
* rtc 数据变更通知 pluginContext
|
|
8487
9993
|
*/
|
|
@@ -9092,7 +10598,6 @@ declare class APIContext {
|
|
|
9092
10598
|
* 获取指定用户的在线状态
|
|
9093
10599
|
*/
|
|
9094
10600
|
getSubscribeUserStatus(subscribeType: SubscribeType, userIds: string[]): Promise<IAsyncRes<ISubscribeUserStatusInfo[]>>;
|
|
9095
|
-
private _isEnableUserProfile;
|
|
9096
10601
|
updateMyUserProfile(profile: IUserProfileInfo): Promise<IAsyncRes<{
|
|
9097
10602
|
errorKey: string;
|
|
9098
10603
|
}>>;
|
|
@@ -9278,6 +10783,50 @@ declare class APIContext {
|
|
|
9278
10783
|
* 测试代理
|
|
9279
10784
|
*/
|
|
9280
10785
|
testProxy(proxy: IProxy, testHost: string): Promise<IResponse>;
|
|
10786
|
+
createGroup(groupId: string, baseInfo: IServerGroupBaseInfo, extProfile: {
|
|
10787
|
+
[key: string]: string;
|
|
10788
|
+
} | undefined, inviteeUserIds?: string[]): Promise<IAsyncRes<IProcessCode>>;
|
|
10789
|
+
updateGroupInfo(groupId: string, baseInfo: IServerGroupBaseInfo, extProfile: {
|
|
10790
|
+
[key: string]: string;
|
|
10791
|
+
} | undefined): Promise<IAsyncRes<void>>;
|
|
10792
|
+
getGroupsInfo(groupIds: string[]): Promise<IAsyncRes<IGroupInfo[]>>;
|
|
10793
|
+
kickGroupMembers(groupId: string, userIds: string[], config: IQuitGroupConfig): Promise<IAsyncRes<void>>;
|
|
10794
|
+
quitGroup(groupId: string, config: IQuitGroupConfig): Promise<IAsyncRes<void>>;
|
|
10795
|
+
dismissGroup(groupId: string): Promise<IAsyncRes<void>>;
|
|
10796
|
+
transferGroupOwner(groupId: string, newOwnerId: string, config: IQuitGroupConfig, quitGroupAfterTransfer?: boolean): Promise<IAsyncRes<void>>;
|
|
10797
|
+
setGroupManagers(type: GroupOperationType, groupId: string, userIds: string[]): Promise<IAsyncRes<void>>;
|
|
10798
|
+
getGroupMembersByRole(groupId: string, role: GroupMemberRole, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
10799
|
+
getGroupMembers(groupId: string, userIds: string[]): Promise<IAsyncRes<IGroupMemberInfo[]>>;
|
|
10800
|
+
setGroupMemberInfo(groupId: string, userId: string, nickname: string, extra?: string): Promise<IAsyncRes<void>>;
|
|
10801
|
+
searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IGroupMemberInfo[]>>;
|
|
10802
|
+
joinGroup(groupId: string): Promise<IAsyncRes<IProcessCode>>;
|
|
10803
|
+
inviteUsersToGroup(groupId: string, userIds: string[]): Promise<IAsyncRes<IProcessCode>>;
|
|
10804
|
+
acceptGroupInvite(groupId: string, inviterId: string): Promise<IAsyncRes<IProcessCode>>;
|
|
10805
|
+
refuseGroupInvite(groupId: string, inviterId: string, reason: string): Promise<IAsyncRes<IProcessCode>>;
|
|
10806
|
+
acceptGroupApplication(groupId: string, joinUserId: string, inviterId: string): Promise<IAsyncRes<IProcessCode>>;
|
|
10807
|
+
refuseGroupApplication(groupId: string, joinUserId: string, inviterId: string, reason?: string): Promise<IAsyncRes<IProcessCode>>;
|
|
10808
|
+
getGroupApplications(option: IPagingQueryOption, directions?: GroupApplicationDirection[], status?: GroupApplicationStatus[]): Promise<IAsyncRes<IPagingQueryResult<IGroupApplicationInfo>>>;
|
|
10809
|
+
getJoinedGroupsByRole(role: GroupMemberRole, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupInfo>>>;
|
|
10810
|
+
searchJoinedGroups(groupName: string, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupInfo>>>;
|
|
10811
|
+
getJoinedGroups(groupIds: string[]): Promise<IAsyncRes<IGroupInfo[]>>;
|
|
10812
|
+
setGroupRemark(groupId: string, remark: string | null): Promise<IAsyncRes<void>>;
|
|
10813
|
+
addGroupFollows(groupId: string, userIds: string[]): Promise<IAsyncRes<void>>;
|
|
10814
|
+
removeGroupFollows(groupId: string, userIds: string[]): Promise<IAsyncRes<void>>;
|
|
10815
|
+
getGroupFollows(groupId: string): Promise<IAsyncRes<IFollowsInfo[]>>;
|
|
10816
|
+
addFriend(userId: string, directionType: DirectionType, extra: string): Promise<IAsyncRes<IProcessCode>>;
|
|
10817
|
+
deleteFriends(userIds: string[], directionType: DirectionType): Promise<IAsyncRes<void>>;
|
|
10818
|
+
acceptFriendApplication(userId: string): Promise<IAsyncRes<void>>;
|
|
10819
|
+
refuseFriendApplication(userId: string, reason: string): Promise<IAsyncRes<void>>;
|
|
10820
|
+
setFriendInfo(userId: string, remark: string, extProfile: {
|
|
10821
|
+
[key: string]: string;
|
|
10822
|
+
}): Promise<IAsyncRes<void>>;
|
|
10823
|
+
checkFriends(userIds: string[], directionType: DirectionType): Promise<IAsyncRes<IFriendRelationInfo[]>>;
|
|
10824
|
+
getFriends(directionType: QueryFriendsDirectionType, option: IPagingQueryOption | undefined): Promise<IAsyncRes<IPagingQueryResult<IFriendInfo>>>;
|
|
10825
|
+
getFriendApplications(option: IPagingQueryOption, type?: FriendApplicationType[], status?: FriendApplicationStatus[]): Promise<IAsyncRes<IPagingQueryResult<IFriendApplicationInfo>>>;
|
|
10826
|
+
getFriendsInfo(userIds: string[]): Promise<IAsyncRes<IFriendInfo[]>>;
|
|
10827
|
+
searchFriendsInfo(nickname: string): Promise<IAsyncRes<IFriendInfo[]>>;
|
|
10828
|
+
setFriendAddPermission(permission: FriendAddPermission): Promise<IAsyncRes<void>>;
|
|
10829
|
+
getFriendAddPermission(): Promise<IAsyncRes<FriendAddPermission>>;
|
|
9281
10830
|
}
|
|
9282
10831
|
|
|
9283
10832
|
declare class PluginContext {
|
|
@@ -9633,6 +11182,17 @@ interface IEngineWatcher extends IConnectionListener {
|
|
|
9633
11182
|
subscribedRelationChange?: (data: ISubscribeRelationInfo[]) => void;
|
|
9634
11183
|
syncSubscribedUserStatusFinished?: (subscribeType: SubscribeType) => void;
|
|
9635
11184
|
ownUserProfileChanged?: (data: IUserProfileInfo) => void;
|
|
11185
|
+
groupOperation?: (data: IGroupOperationInfo) => void;
|
|
11186
|
+
groupInfoChanged?: (data: IGroupInfoChanged) => void;
|
|
11187
|
+
groupMemberInfoChanged?: (data: IGroupMemberInfoChanged) => void;
|
|
11188
|
+
groupApplicationEvent: (data: IGroupApplicationInfo) => void;
|
|
11189
|
+
groupRemarkChangedSync?: (data: IGroupRemarkChangedSync) => void;
|
|
11190
|
+
groupFollowsChangedSync?: (data: IGroupFollowsChangedSync) => void;
|
|
11191
|
+
friendAdd?: (data: IFriendAdd) => void;
|
|
11192
|
+
friendDelete?: (data: IFriendDelete) => void;
|
|
11193
|
+
friendApplicationStatusChanged?: (data: IFriendApplicationStatusChange) => void;
|
|
11194
|
+
friendCleared?: (data: number) => void;
|
|
11195
|
+
friendInfoChangedSync?: (data: IFriendInfoChangedSync) => void;
|
|
9636
11196
|
databaseUpgradeWillStart: () => void;
|
|
9637
11197
|
databaseUpgrading: (progress: number) => void;
|
|
9638
11198
|
databaseUpgradeDidComplete: (code: ErrorCode) => void;
|
|
@@ -10511,6 +12071,54 @@ declare abstract class AEngine {
|
|
|
10511
12071
|
*/
|
|
10512
12072
|
abstract getMessagesByTimestamp(conversation: IConversationOption, timestamp: number, beforeCount: number, afterCount: number): IPromiseResult<IReceivedMessage[]>;
|
|
10513
12073
|
abstract getConversations(conversations: IConversationOption[]): Promise<IAsyncRes<IReceivedConversation[]>>;
|
|
12074
|
+
abstract createGroup(groupId: string, baseInfo: IServerGroupBaseInfo, extProfile: {
|
|
12075
|
+
[key: string]: string;
|
|
12076
|
+
} | undefined, inviteeUserIds: string[]): Promise<IAsyncRes<IProcessCode>>;
|
|
12077
|
+
abstract updateGroupInfo(groupId: string, baseInfo: IServerGroupBaseInfo, extProfile: {
|
|
12078
|
+
[key: string]: string;
|
|
12079
|
+
} | undefined): Promise<IAsyncRes<void>>;
|
|
12080
|
+
abstract getGroupsInfo(groupIds: string[]): Promise<IAsyncRes<IGroupInfo[]>>;
|
|
12081
|
+
abstract kickGroupMembers(groupId: string, userIds: string[], config: IQuitGroupConfig): Promise<IAsyncRes<void>>;
|
|
12082
|
+
abstract quitGroup(groupId: string, config: IQuitGroupConfig): Promise<IAsyncRes<void>>;
|
|
12083
|
+
abstract dismissGroup(groupId: string): Promise<IAsyncRes<void>>;
|
|
12084
|
+
abstract transferGroupOwner(groupId: string, newOwnerId: string, quitGroupAfterTransfer: boolean, config: IQuitGroupConfig): Promise<IAsyncRes<void>>;
|
|
12085
|
+
abstract setGroupManagers(type: GroupOperationType, groupId: string, userIds: string[]): Promise<IAsyncRes<void>>;
|
|
12086
|
+
abstract getGroupMembersByRole(groupId: string, role: GroupMemberRole, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
12087
|
+
abstract getGroupMembers(groupId: string, userIds: string[]): Promise<IAsyncRes<IGroupMemberInfo[]>>;
|
|
12088
|
+
abstract setGroupMemberInfo(groupId: string, userId: string, nickname: string, extra?: string): Promise<IAsyncRes<void>>;
|
|
12089
|
+
abstract searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IGroupMemberInfo[]>>;
|
|
12090
|
+
abstract joinGroup(groupId: string): Promise<IAsyncRes<IProcessCode>>;
|
|
12091
|
+
abstract inviteUsersToGroup(groupId: string, userIds: string[]): Promise<IAsyncRes<IProcessCode>>;
|
|
12092
|
+
abstract memberInviteResponse(params: {
|
|
12093
|
+
groupId: string;
|
|
12094
|
+
inviterId: string;
|
|
12095
|
+
optType: GroupOperationRole;
|
|
12096
|
+
optResult: GroupOperationStatus;
|
|
12097
|
+
joinUserId?: string;
|
|
12098
|
+
reason?: string;
|
|
12099
|
+
}): Promise<IAsyncRes<IProcessCode>>;
|
|
12100
|
+
abstract getGroupApplications(option: IPagingQueryOption, directions?: GroupApplicationDirection[], status?: GroupApplicationStatus[]): Promise<IAsyncRes<IPagingQueryResult<IGroupApplicationInfo>>>;
|
|
12101
|
+
abstract getJoinedGroupsByRole(role: GroupMemberRole, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupInfo>>>;
|
|
12102
|
+
abstract searchJoinedGroups(groupName: string, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupInfo>>>;
|
|
12103
|
+
abstract getJoinedGroups(groupIds: string[]): Promise<IAsyncRes<IGroupInfo[]>>;
|
|
12104
|
+
abstract setGroupRemark(groupId: string, remark: string | null): Promise<IAsyncRes<void>>;
|
|
12105
|
+
abstract setGroupFollows(optType: GroupOperationType, groupId: string, userIds: string[]): Promise<IAsyncRes<void>>;
|
|
12106
|
+
abstract getGroupFollows(groupId: string): Promise<IAsyncRes<IFollowsInfo[]>>;
|
|
12107
|
+
abstract addFriend(userId: string, directionType: DirectionType, extra: string): Promise<IAsyncRes<IProcessCode>>;
|
|
12108
|
+
abstract deleteFriends(userIds: string[], directionType: DirectionType): Promise<IAsyncRes<void>>;
|
|
12109
|
+
abstract acceptFriendApplication(userId: string): Promise<IAsyncRes<void>>;
|
|
12110
|
+
abstract refuseFriendApplication(userId: string, reason: string): Promise<IAsyncRes<void>>;
|
|
12111
|
+
abstract setFriendInfo(userId: string, remark: string, extProfile: {
|
|
12112
|
+
[key: string]: string;
|
|
12113
|
+
}): Promise<IAsyncRes<void>>;
|
|
12114
|
+
abstract checkFriends(userIds: string[], directionType: DirectionType): Promise<IAsyncRes<IFriendRelationInfo[]>>;
|
|
12115
|
+
abstract getFriends(directionType: QueryFriendsDirectionType, option: IPagingQueryOption | undefined): Promise<IAsyncRes<IPagingQueryResult<IFriendInfo>>>;
|
|
12116
|
+
abstract getFriendApplications(option: IPagingQueryOption, type?: FriendApplicationType[], status?: FriendApplicationStatus[]): Promise<IAsyncRes<IPagingQueryResult<IFriendApplicationInfo>>>;
|
|
12117
|
+
abstract deleteFriendApplication(userId: string, type: FriendApplicationType): Promise<IAsyncRes<void>>;
|
|
12118
|
+
abstract getFriendsInfo(userIds: string[]): Promise<IAsyncRes<IFriendInfo[]>>;
|
|
12119
|
+
abstract searchFriendsInfo(nickname: string): Promise<IAsyncRes<IFriendInfo[]>>;
|
|
12120
|
+
abstract setFriendAddPermission(permission: FriendAddPermission): Promise<IAsyncRes<void>>;
|
|
12121
|
+
abstract getFriendAddPermission(): Promise<IAsyncRes<FriendAddPermission>>;
|
|
10514
12122
|
}
|
|
10515
12123
|
|
|
10516
12124
|
interface IUrlCenterInitOption {
|
|
@@ -10764,6 +12372,21 @@ declare class ValidatorManage<T> {
|
|
|
10764
12372
|
errorKey?: keyof IErrorCodeKey;
|
|
10765
12373
|
valid: boolean;
|
|
10766
12374
|
}) | ((value?: any) => boolean), required?: boolean, message?: string): this;
|
|
12375
|
+
/**
|
|
12376
|
+
* 验证参数
|
|
12377
|
+
* @param key 错误码标签
|
|
12378
|
+
* @param value 需要校验的值
|
|
12379
|
+
* @param validator 效验规则
|
|
12380
|
+
* @param errorCode 错误码
|
|
12381
|
+
* @param required 是否必填
|
|
12382
|
+
* @param message 自定义错误信息
|
|
12383
|
+
* @description 代替 validate 方法,支持传入错误码,无需定义 Key
|
|
12384
|
+
*/
|
|
12385
|
+
validateParameters(key: string, value: any, validator: AssertRules | ((value?: any) => {
|
|
12386
|
+
errorKey?: string;
|
|
12387
|
+
valid: boolean;
|
|
12388
|
+
errorCode?: ErrorCode;
|
|
12389
|
+
}) | ((value?: any) => boolean), errorCode: ErrorCode, required?: boolean, message?: string): this;
|
|
10767
12390
|
private _getValidationResult;
|
|
10768
12391
|
/**
|
|
10769
12392
|
* 内部验证接口是否完成初始化,若未完成初始化,返回状态码 `ErrorCode.BIZ_ERROR_CLIENT_NOT_INIT`
|
|
@@ -10771,7 +12394,7 @@ declare class ValidatorManage<T> {
|
|
|
10771
12394
|
* @param errorTag 验证失败时,需要留存的日志信息
|
|
10772
12395
|
* @description 对外接口定义中,使用此函数验证 SDK 初始化是否完成。
|
|
10773
12396
|
*/
|
|
10774
|
-
ifReady(handler: (context: APIContext, logger: BasicLogger, option: IAPIContextOption) => Promise<IAsyncRes<T>>): Promise<IAsyncRes<T>>;
|
|
12397
|
+
ifReady(handler: (context: APIContext, logger: BasicLogger, option: IAPIContextOption, traceId: string) => Promise<IAsyncRes<T>>): Promise<IAsyncRes<T>>;
|
|
10775
12398
|
/**
|
|
10776
12399
|
* 尝试调用需要初始化完成的函数,若未完成初始化,抛出异常 `Not initialized yet!`
|
|
10777
12400
|
* @param handler
|
|
@@ -10920,11 +12543,13 @@ declare const isLimitedArray: (option: {
|
|
|
10920
12543
|
/**
|
|
10921
12544
|
* 有限制的字符串
|
|
10922
12545
|
* 做长度检查、自定义检查
|
|
12546
|
+
* 先检测前后去空格是否为空
|
|
10923
12547
|
*/
|
|
10924
12548
|
declare const isLimitedString: (option: {
|
|
10925
12549
|
minLength?: number | undefined;
|
|
10926
12550
|
maxLength?: number | undefined;
|
|
10927
12551
|
validator?: ((val: string) => boolean) | undefined;
|
|
12552
|
+
isTrim?: boolean | undefined;
|
|
10928
12553
|
}) => (str: unknown) => boolean;
|
|
10929
12554
|
/**
|
|
10930
12555
|
* 检查参数是否为 ArrayBuffer
|
|
@@ -10973,10 +12598,18 @@ declare const notEmptyObject: (val: Object) => boolean;
|
|
|
10973
12598
|
declare const isValidConversationType: (conversation: number) => boolean;
|
|
10974
12599
|
declare const isValidNotificationLevel: (level: number) => boolean;
|
|
10975
12600
|
declare const isValidChannelId: (value: any) => boolean;
|
|
12601
|
+
declare const isValidEnum: (param: {
|
|
12602
|
+
value: unknown;
|
|
12603
|
+
type: object;
|
|
12604
|
+
}) => boolean;
|
|
10976
12605
|
/**
|
|
10977
12606
|
* 检查是否是有效的 targetId
|
|
10978
12607
|
*/
|
|
10979
12608
|
declare const isValidTargetId: (value: any) => boolean;
|
|
12609
|
+
/**
|
|
12610
|
+
* 检查是否是有效的 groupId
|
|
12611
|
+
*/
|
|
12612
|
+
declare const isValidGroupId: (value: any) => boolean;
|
|
10980
12613
|
declare const isTypeInConversationList: (type: number) => boolean;
|
|
10981
12614
|
/**
|
|
10982
12615
|
* 判断是否是一个有效的文件类型
|
|
@@ -11051,6 +12684,63 @@ declare namespace base {
|
|
|
11051
12684
|
declare const getUUID: () => string;
|
|
11052
12685
|
declare const getUUID22: () => string;
|
|
11053
12686
|
|
|
12687
|
+
/**
|
|
12688
|
+
* 格式化获取群组信息
|
|
12689
|
+
* @param list
|
|
12690
|
+
* @returns
|
|
12691
|
+
*/
|
|
12692
|
+
declare const formatGetGroupsInfo: (list?: IServerGroupInfo[]) => IGroupInfo[];
|
|
12693
|
+
/**
|
|
12694
|
+
* 格式化变更的群组信息
|
|
12695
|
+
* @param list
|
|
12696
|
+
* @returns
|
|
12697
|
+
*/
|
|
12698
|
+
declare const formatGroupsInfo: (list?: IServerGroupInfo[]) => IGroupInfo[];
|
|
12699
|
+
declare const formatGroupBaseInfo: (settingProfile: {
|
|
12700
|
+
[key: string]: string;
|
|
12701
|
+
}) => {
|
|
12702
|
+
memberInfoEditPermission?: number | undefined;
|
|
12703
|
+
groupInfoEditPermission?: number | undefined;
|
|
12704
|
+
inviteHandlePermission?: number | undefined;
|
|
12705
|
+
invitePermission?: number | undefined;
|
|
12706
|
+
removeMemberPermission?: number | undefined;
|
|
12707
|
+
joinPermission?: number | undefined;
|
|
12708
|
+
notice?: string | undefined;
|
|
12709
|
+
introduction?: string | undefined;
|
|
12710
|
+
portraitUri?: string | undefined;
|
|
12711
|
+
groupName?: string | undefined;
|
|
12712
|
+
};
|
|
12713
|
+
/**
|
|
12714
|
+
* 格式化群组成员信息
|
|
12715
|
+
* @param list 群组成员列表
|
|
12716
|
+
* @returns 返回 IGroupMember 类型数组
|
|
12717
|
+
*/
|
|
12718
|
+
declare const formatGroupMembers: (list?: IServerChannelsUserInfo[]) => IGroupMemberInfo[];
|
|
12719
|
+
/**
|
|
12720
|
+
* 格式化群组UserProfiles信息
|
|
12721
|
+
* expiration 为缓存过期时间
|
|
12722
|
+
*/
|
|
12723
|
+
declare const formatUserProfiles: (UserProfile: IUserProfileServerData[], expiration?: number | undefined) => any;
|
|
12724
|
+
/**
|
|
12725
|
+
* 格式化特别关注成员信息
|
|
12726
|
+
* @param list 群组成员列表
|
|
12727
|
+
* @returns 返回 IGroupMember 类型数组
|
|
12728
|
+
*/
|
|
12729
|
+
declare const formatFollowsInfo: (list: IServerChannelsUserInfo[]) => {
|
|
12730
|
+
userId: string;
|
|
12731
|
+
time: number;
|
|
12732
|
+
}[];
|
|
12733
|
+
/**
|
|
12734
|
+
* 将收到的用户信息转换为本地数据结构
|
|
12735
|
+
*/
|
|
12736
|
+
declare const transforServerProfileInfo: (profiles: IServerProfileInfo[]) => {
|
|
12737
|
+
[key: string]: string;
|
|
12738
|
+
};
|
|
12739
|
+
declare const formatGroupApplications: (list: IServerChannelsInviteStatusInfo[]) => IGroupApplicationInfo[];
|
|
12740
|
+
declare const arrayToKeyValue: (data: any[]) => {
|
|
12741
|
+
[key: string]: any;
|
|
12742
|
+
};
|
|
12743
|
+
|
|
11054
12744
|
declare class SuspendablePromise<T> {
|
|
11055
12745
|
private readonly _promise;
|
|
11056
12746
|
private _resolve;
|
|
@@ -11352,6 +13042,10 @@ declare const LOCAL_STORAGE_KEYS: {
|
|
|
11352
13042
|
* 已读回执存储
|
|
11353
13043
|
*/
|
|
11354
13044
|
READ_RECEIPT_KEY: (appkey: string, curUserId: string) => string;
|
|
13045
|
+
/**
|
|
13046
|
+
* PullEventChange 变更时间
|
|
13047
|
+
*/
|
|
13048
|
+
PULL_EVENT_CHANGE_TIME_KEY: (appKey: string, curUserId: string) => string;
|
|
11355
13049
|
};
|
|
11356
13050
|
|
|
11357
13051
|
interface ICloudConfig {
|
|
@@ -11539,4 +13233,4 @@ declare type AbsCodec<T> = Codec<T>;
|
|
|
11539
13233
|
*/
|
|
11540
13234
|
declare const version: string;
|
|
11541
13235
|
|
|
11542
|
-
export { AConnectionMgr, AEngine, APIContext, AbsCodec, AppStorage, AreaCode, AssertRules, BaseCloudController, BasicLogger, BasicNavi, BasicReporter, BasicStaticConfigManager, BasicStatistic, BasicStatisticReporter, CPP_PROTOCAL_MSGTYPE_OPTION, CallLibMsgType, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectReason, ConnectType, ConnectionStatus, Content, ConversationType, DB_LOG_FLUSH_FREQUENCY, DB_LOG_MAX_SIZE, DelayTimer, EConnectProtocol, EnableLogL, EnterpriseType, ErrorCode, ErrorCodeMap, EventEmitter, FORMATED_VERSION, FileType, HTTP_TIMEOUT, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBaseStatisticsData, IBlockedMessageInfo, ICancelRoomPKOptions, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListener, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IChrmKVEntries, IChrmKVEntry, IClearMessageOption, ICloudController, ICombineV2MessageContent, ICombinedMessage, IConnectResult, IConnectionListener, IConnectionStatusListener, IConversationIdentifier, IConversationOption, IConversationState, IConversationStateListener, IConversationTag, IConversationTagListener, IDeletedExpansion, IDeliveredUser, IDownloadAuth, IEndRoomPKOptions, IEngine, IEngineWatcher, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IFirstUnreadMessageInfo, IGetMsgOption, IGetUltraGroupListOption, IGooglePushConfig, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IGroupReadReceiptData, IHarmonyOSPushConfig, IInsertMessage, IInsertMsgOptions, IIsValidExpansion, IJoinRTCRoomData, ILocalReadReceiptInfo, ILocalTagStatus, ILogDB, ILogData, ILogger, IMRTRConfig, IM_CHATROOM_PULL_INTERVAL_TIME, IM_PING_INTERVAL_TIME, IM_PING_MIN_TIMEOUT, IM_PING_TIMEOUT, IM_SIGNAL_TIMEOUT, IMessageDeliver, IMessageDeliveredListener, IMessageListnenr, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IMetionedData, INaviCache, INaviContextInfo, INaviInfo, INetwork, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCRoomInfo, IRTCUserData, IRTCUsers, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IRecallMsgContent, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IReqRoomPKOptions, IRequest, IResRoomPKOptions, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerAddressData, IServerConversationStatus, IServerProfileInfo, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStaticConfig, IStatistic, IStatisticDB, IStatisticData, IStatisticsCMPData, IStatisticsCSData, IStatisticsDurData, IStatisticsNaviData, IStatisticsNetworkData, IStatisticsRMTPData, IStatisticsWebsocketData, IStorage, ISubData, ISubscribeLocalStore, ISubscribeRelationInfo, ISubscribeRelationServerData, ISubscribeStatusDetail, ISubscribeUserLocalBaseData, ISubscribeUserLocalOnlineData, ISubscribeUserLocalProfileData, ISubscribeUserStatusInfo, ISubscribeUserStatusServerData, ISyncReadStatusData, ITagInfo, ITagListener, ITagParam, ITagStatus, ITypingInfo, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraExMsgOptions, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraModifyMsgOptions, IUltraMsgQueryOptions, IUltraUnreadConversation, IUltraUnreadMsg, IUpdateItem, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUploadTask, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IUserProfileInfo, IUserProfileServerData, IWatcher, IWebSocket, IiOSPushConfig, IndexDBLogger, IndexDBReporter, IndexDBStatistic, IndexDBStatisticReporter, RTCKeyMaps as InnerRTCKeyMaps, InterruptionLevel, InvokerType, ItypingStateListener, KVString, LOCAL_STORAGE_KEYS, LiveRole, LiveType, LogContent, LogL, LogLevel, LogSource, LogTagId, LogType, MAX_CHATROOM_NOTIFICATION_EXTRA_LENGTH, MAX_MESSAGE_CONTENT_BYTES, MAX_MESSAGE_EXPANSION_KEY_LENGTH, MAX_MESSAGE_EXPANSION_VAL_LENGTH, MAX_UPLOAD_FILE_SIZE, MentionedInfoBody, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageType, NAVI_CACHE_DURATION, NAVI_REQ_TIMEOUT, NON_SUBSCRIBE_USER_PROFILE_VALID_TIME, NaviCacheType, NetworkType, NotificationLevel, NotificationStatus, ONE_LOG_SIZE_MAX, OnlineStatus, OperateStatus, PlatformInfo, PluginContext, ProtocalType, PushImportanceHonor, RCAssertError, RCConnectionStatus, RC_DEFAULT_USER, READ_RECEIPT_CATCH_TIME, REAT_TIME_LOG_SIZE, RTCApiType, RTCIdentityChangeType, RTCJoinType, RTCMode, RTCPluginContext, ReceivedStatus, SEND_MESSAGE_TYPE_OPTION, STATIC_CONFIG_CACHE_TIME, STATIC_CONFIG_IV, STATIC_CONFIG_KEY, STATUS_MESSAGE, SUBSCRIBE_USER_PROFILE_VALID_TIME, SentStatus, StatisticL, StatisticsTag, StatisticsVersion, StoreKeys, SubscribeDataType, SubscribeOperationType, SubscribeType, SuspendablePromise, TagChangeType, Type, UPLOAD_FILE_CHUNK_SIZE, UltraGroupChannelChangeType, UltraGroupChannelType, UltraMentionedType, UltraMsgChangeType, UltraMsgSubChangeType, UploadMethod, UserGroupChangeType, UserProfileVisibility, VERSION, ValidatorManage, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketNavi, appendUrl, assert, clearOldIndexDB, clone, cloneByJSON, completeSubscriptionPlatformStatus, deInitLogDB, decryptCBC, fixUrlProtocol, forEach, getBrowser, getClientMessageId, getDeviceId, getMessageUIdHash, getMimeKey, getMinionURL, getUUID, getUUID22, getUploadFileName, getbundleId, httpRequest, indexOf, initLogDB, initStatisticDB, isArray, isArrayBuffer, isBoolean, isConnnectAckCode as isConnnectAck, isDisconnectCode as isDisconnectedByServer, isFunction, isHttpUrl, isInObject, isInclude, isInteger, isLimitedArray, isLimitedString, isNull, isNumber, isObject, isStartCloudController, isString, isSupportIndexDB, isTypeInConversationList, isUndefined, isValidChannelId, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversation, isValidConversationType, isValidExpansion, isValidFileType, isValidNotificationLevel, isValidTargetId, base as logger, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, statisticTranscsv, todo, transcsv, transformReceivedStatusFlag, transformReceivedStatusInfo, transformUserProfiles, unInitStatisticDB, updateMentionedInfo, urlCenter, usingCppEngine, validate, validators, version };
|
|
13236
|
+
export { AConnectionMgr, AEngine, APIContext, AbsCodec, AppStorage, AreaCode, AssertRules, BaseCloudController, BasicLogger, BasicNavi, BasicReporter, BasicStaticConfigManager, BasicStatistic, BasicStatisticReporter, CPP_PROTOCAL_MSGTYPE_OPTION, CallLibMsgType, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectReason, ConnectType, ConnectionStatus, Content, ConversationType, DB_LOG_FLUSH_FREQUENCY, DB_LOG_MAX_SIZE, DelayTimer, DirectionType, EConnectProtocol, EnableLogL, EnterpriseType, ErrorCode, ErrorCodeMap, EventEmitter, FORMATED_VERSION, FileType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendEventType, FriendMsgChangeType, FriendRelationType, FriendSubChangeType, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationSubChangeType, GroupApplicationType, GroupFollowUserChangeType, GroupInfoChangeSubChangeType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupMsgChangeType, GroupOperation, GroupOperationPermission, GroupOperationRole, GroupOperationStatus, GroupOperationSubChangeType, GroupOperationType, HTTP_TIMEOUT, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBaseStatisticsData, IBlockedMessageInfo, ICancelRoomPKOptions, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListener, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IChrmKVEntries, IChrmKVEntry, IClearMessageOption, ICloudController, ICombineV2MessageContent, ICombinedMessage, IConnectResult, IConnectionListener, IConnectionStatusListener, IConversationIdentifier, IConversationOption, IConversationState, IConversationStateListener, IConversationTag, IConversationTagListener, IDeletedExpansion, IDeliveredUser, IDownloadAuth, IEndRoomPKOptions, IEngine, IEngineWatcher, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraMethod, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendInviteServerInfo, IFriendRelationInfo, IFriendRelationServerInfo, IFriendServerInfo, IGetMsgOption, IGetUltraGroupListOption, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHarmonyOSPushConfig, IInsertMessage, IInsertMsgOptions, IIsValidExpansion, IJoinRTCRoomData, ILocalReadReceiptInfo, ILocalTagStatus, ILogDB, ILogData, ILogger, IMRTRConfig, IM_CHATROOM_PULL_INTERVAL_TIME, IM_PING_INTERVAL_TIME, IM_PING_MIN_TIMEOUT, IM_PING_TIMEOUT, IM_SIGNAL_TIMEOUT, IMessageDeliver, IMessageDeliveredListener, IMessageListnenr, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IMetionedData, INaviCache, INaviContextInfo, INaviInfo, INetwork, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessCode, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCRoomInfo, IRTCUserData, IRTCUsers, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IRecallMsgContent, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IReqRoomPKOptions, IRequest, IResRoomPKOptions, IResponse, IRtcTokenData, IRuntime, ISendExMsgOptions, ISendMsgOptions, IServerAddressData, IServerChannelBaseInfo, IServerChannelsInviteStatusInfo, IServerChannelsListResult, IServerChannelsOutput, IServerChannelsPageParam, IServerChannelsUserExtInfo, IServerChannelsUserInfo, IServerConversationStatus, IServerGroupBaseInfo, IServerGroupInfo, IServerProfileInfo, IServerRTCRoomEntry, IServerUserSetting, ISetConversationStatusOptions, IStaticConfig, IStatistic, IStatisticDB, IStatisticData, IStatisticsCMPData, IStatisticsCSData, IStatisticsDurData, IStatisticsNaviData, IStatisticsNetworkData, IStatisticsRMTPData, IStatisticsWebsocketData, IStorage, ISubData, ISubscribeLocalStore, ISubscribeRelationInfo, ISubscribeRelationServerData, ISubscribeStatusDetail, ISubscribeUserLocalBaseData, ISubscribeUserLocalOnlineData, ISubscribeUserLocalProfileData, ISubscribeUserStatusInfo, ISubscribeUserStatusServerData, ISyncReadStatusData, ITagInfo, ITagListener, ITagParam, ITagStatus, ITypingInfo, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraExMsgOptions, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraModifyMsgOptions, IUltraMsgQueryOptions, IUltraUnreadConversation, IUltraUnreadMsg, IUpdateItem, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUploadTask, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IUserProfileBaseInfo, IUserProfileInfo, IUserProfileServerData, IWatcher, IWebSocket, IiOSPushConfig, IndexDBLogger, IndexDBReporter, IndexDBStatistic, IndexDBStatisticReporter, RTCKeyMaps as InnerRTCKeyMaps, InterruptionLevel, InvokerType, ItypingStateListener, KVString, LOCAL_STORAGE_KEYS, LimitedSubscribeType, LiveRole, LiveType, LogContent, LogL, LogLevel, LogSource, LogTagId, LogType, MAX_CHATROOM_NOTIFICATION_EXTRA_LENGTH, MAX_MESSAGE_CONTENT_BYTES, MAX_MESSAGE_EXPANSION_KEY_LENGTH, MAX_MESSAGE_EXPANSION_VAL_LENGTH, MAX_UPLOAD_FILE_SIZE, MentionedInfoBody, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageType, NAVI_CACHE_DURATION, NAVI_REQ_TIMEOUT, NON_SUBSCRIBE_USER_PROFILE_VALID_TIME, NaviCacheType, NetworkType, NotificationLevel, NotificationStatus, ONE_LOG_SIZE_MAX, OnlineStatus, OperateStatus, PlatformInfo, PluginContext, ProtocalType, PushImportanceHonor, QueryFriendsDirectionType, RCAssertError, RCConnectionStatus, RC_DEFAULT_USER, READ_RECEIPT_CATCH_TIME, REAT_TIME_LOG_SIZE, RTCApiType, RTCIdentityChangeType, RTCJoinType, RTCMode, RTCPluginContext, ReceivedStatus, SEND_MESSAGE_TYPE_OPTION, STATIC_CONFIG_CACHE_TIME, STATIC_CONFIG_IV, STATIC_CONFIG_KEY, STATUS_MESSAGE, SUBSCRIBE_USER_PROFILE_VALID_TIME, SentStatus, StatisticL, StatisticsTag, StatisticsVersion, StoreKeys, SubscribeDataType, SubscribeOperationType, SubscribeType, SuspendablePromise, TagChangeType, Type, UPLOAD_FILE_CHUNK_SIZE, UltraGroupChannelChangeType, UltraGroupChannelType, UltraMentionedType, UltraMsgChangeType, UltraMsgSubChangeType, UploadMethod, UserGroupChangeType, UserProfileVisibility, VERSION, ValidatorManage, VersionManage, WEB_SOCKET_TIMEOUT, WebSocketNavi, appendUrl, arrayToKeyValue, assert, clearOldIndexDB, clone, cloneByJSON, completeSubscriptionPlatformStatus, deInitLogDB, decryptCBC, fixUrlProtocol, forEach, formatFollowsInfo, formatGetGroupsInfo, formatGroupApplications, formatGroupBaseInfo, formatGroupMembers, formatGroupsInfo, formatUserProfiles, getBrowser, getClientMessageId, getDeviceId, getMessageUIdHash, getMimeKey, getMinionURL, getUUID, getUUID22, getUploadFileName, getbundleId, httpRequest, indexOf, initLogDB, initStatisticDB, isArray, isArrayBuffer, isBoolean, isConnnectAckCode as isConnnectAck, isDisconnectCode as isDisconnectedByServer, isFunction, isHttpUrl, isInObject, isInclude, isInteger, isLimitedArray, isLimitedString, isNull, isNumber, isObject, isStartCloudController, isString, isSupportIndexDB, isTypeInConversationList, isUndefined, isValidChannelId, isValidChrmEntryKey, isValidChrmEntryValue, isValidConversation, isValidConversationType, isValidEnum, isValidExpansion, isValidFileType, isValidGroupId, isValidNotificationLevel, isValidTargetId, base as logger, map, notEmptyArray, notEmptyObject, notEmptyString, pushConfigsToJSON, pushJSONToConfigs, statisticTranscsv, todo, transcsv, transforServerProfileInfo, transformReceivedStatusFlag, transformReceivedStatusInfo, transformUserProfiles, unInitStatisticDB, updateMentionedInfo, urlCenter, usingCppEngine, validate, validators, version };
|