@rongcloud/imlib-next 5.8.0 → 5.8.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.d.ts +80 -34
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LogLevel, EnableLogL, IRuntime, AreaCode, ConversationType, MessageDirection, ReceivedStatus, SentStatus, IReadReceiptInfo, IPushConfig, UltraGroupChannelType, RCConnectionStatus, IPluginGenerator, IAsyncRes, NotificationStatus, NotificationLevel, IUltraUnreadMsg, IUserProfile, IConversationOption, ITypingMessage, ErrorCode, IChatroomListenerData, IExpansionListenerData, IBlockedMessageInfo, IOperateStatusNotify, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUserGroupStatusInfo, IMessageDeliver, IGroupMessageDeliverStatus, IBaseConversationInfo, IConversationState as IConversationState$1, IGetUltraGroupListOption, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadMentionedOption, IUltraGroupUnreadInfo, IChatroomInfo, IChatRoomEntry, IChatroomEntries, IRemoveChatRoomEntry, IRemoveChatRoomEntries, IRTCRoomBindOption,
|
|
2
|
-
export { AreaCode, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, ConnectionStatus, ConversationType, EnableLogL, ErrorCode, FileType, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IConversationIdentifier, IConversationOption, IConversationTag, IDeletedExpansion, IDeliveredUser, IEventListener, IExpansionListenerData, IGetUltraGroupListOption, IGooglePushConfig, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IInsertMessage, IMessageDeliver, IMessageReader, IMessageReaderResponse, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPromiseResult, IProxy, IPushConfig, IRTCRoomBindOption, IReadReceiptInfo, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IResponse, ITagInfo, ITagParam, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraUnreadMsg, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IiOSPushConfig, LogL, LogLevel, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, NotificationLevel, NotificationStatus, OperateStatus, RCConnectionStatus, ReceivedStatus, SentStatus, UltraGroupChannelChangeType, UltraGroupChannelType, UploadMethod } from '@rongcloud/engine';
|
|
1
|
+
import { LogLevel, EnableLogL, IRuntime, AreaCode, ConversationType, MessageDirection, ReceivedStatus, SentStatus, IReadReceiptInfo, IPushConfig, UltraGroupChannelType, RCConnectionStatus, IPluginGenerator, IAsyncRes, NotificationStatus, NotificationLevel, IUltraUnreadMsg, IUserProfile, IConversationOption, ITypingMessage, IUpdateItem, ErrorCode, IChatroomListenerData, IExpansionListenerData, IBlockedMessageInfo, IOperateStatusNotify, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUserGroupStatusInfo, IMessageDeliver, IGroupMessageDeliverStatus, IBaseConversationInfo, IConversationState as IConversationState$1, IGetUltraGroupListOption, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadMentionedOption, IUltraGroupUnreadInfo, IChatroomInfo, IChatRoomEntry, IChatroomEntries, IRemoveChatRoomEntry, IRemoveChatRoomEntries, IRTCRoomBindOption, MentionedInfoBody, IMessageReaderResponse, IReceivedMessage, IReceivedConversation, ITagParam, ITagInfo, IConversationTag, FileType, IUploadAuth, UploadMethod, IInsertMessage, IGroupMessageDeliverInfo, IProxy, IPromiseResult, IResponse } from '@rongcloud/engine';
|
|
2
|
+
export { AreaCode, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, ConnectionStatus, ConversationType, EnableLogL, ErrorCode, FileType, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IConversationIdentifier, IConversationOption, IConversationTag, IDeletedExpansion, IDeliveredUser, IEventListener, IExpansionListenerData, IGetUltraGroupListOption, IGooglePushConfig, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IInsertMessage, IMessageDeliver, IMessageReader, IMessageReaderResponse, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPromiseResult, IProxy, IPushConfig, IRTCRoomBindOption, IReadReceiptInfo, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IResponse, ITagInfo, ITagParam, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraUnreadMsg, IUpdateItem, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IiOSPushConfig, LogL, LogLevel, MentionedInfoBody, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, NotificationLevel, NotificationStatus, OperateStatus, RCConnectionStatus, ReceivedStatus, SentStatus, UltraGroupChannelChangeType, UltraGroupChannelType, UploadMethod } from '@rongcloud/engine';
|
|
3
3
|
|
|
4
4
|
declare type IInitOption = {
|
|
5
5
|
/**
|
|
@@ -439,7 +439,7 @@ interface IConversationUpdateItem {
|
|
|
439
439
|
time: number;
|
|
440
440
|
val: any;
|
|
441
441
|
}
|
|
442
|
-
declare type MentionedInfo
|
|
442
|
+
declare type MentionedInfo = {
|
|
443
443
|
/**
|
|
444
444
|
* `@ 类型,其中 1 为 @ 所有人,2 为 @ 部分人`
|
|
445
445
|
*/
|
|
@@ -461,7 +461,7 @@ interface IReceivedUpdateConversation {
|
|
|
461
461
|
latestMessage?: IAReceivedMessage;
|
|
462
462
|
unreadMessageCount?: number;
|
|
463
463
|
hasMentioned?: boolean;
|
|
464
|
-
mentionedInfo?: MentionedInfo
|
|
464
|
+
mentionedInfo?: MentionedInfo;
|
|
465
465
|
lastUnreadTime?: number;
|
|
466
466
|
notificationStatus?: NotificationStatus;
|
|
467
467
|
isTop?: boolean;
|
|
@@ -504,7 +504,7 @@ interface IAReceivedConversation {
|
|
|
504
504
|
* 消息中的 @ 数据
|
|
505
505
|
* @description 仅在 `conversationType` 为 `ConversationType.GROUP` 时有效
|
|
506
506
|
*/
|
|
507
|
-
mentionedInfo?: MentionedInfo
|
|
507
|
+
mentionedInfo?: MentionedInfo;
|
|
508
508
|
/**
|
|
509
509
|
* 会话中消息的最后未读时间
|
|
510
510
|
*/
|
|
@@ -846,12 +846,7 @@ interface ITypingStatusEvent {
|
|
|
846
846
|
}
|
|
847
847
|
interface IConversationState {
|
|
848
848
|
conversation: IAReceivedConversation;
|
|
849
|
-
updatedItems?:
|
|
850
|
-
[key: string]: {
|
|
851
|
-
time: number;
|
|
852
|
-
val: any;
|
|
853
|
-
};
|
|
854
|
-
};
|
|
849
|
+
updatedItems?: IUpdateItem;
|
|
855
850
|
}
|
|
856
851
|
interface IConversationEvent {
|
|
857
852
|
/**
|
|
@@ -1349,20 +1344,11 @@ declare function getBlacklist(): Promise<IAsyncRes<string[]>>;
|
|
|
1349
1344
|
*/
|
|
1350
1345
|
declare function getBlacklistStatus(userId: string): Promise<IAsyncRes<boolean>>;
|
|
1351
1346
|
|
|
1352
|
-
/**
|
|
1353
|
-
* 群组内的消息包含的 @ 数据
|
|
1354
|
-
*/
|
|
1355
|
-
declare class MentionedInfo {
|
|
1356
|
-
type?: MentionedType | undefined;
|
|
1357
|
-
userIdList?: string[] | undefined;
|
|
1358
|
-
mentionedContent?: string | undefined;
|
|
1359
|
-
constructor(type?: MentionedType | undefined, userIdList?: string[] | undefined, mentionedContent?: string | undefined);
|
|
1360
|
-
}
|
|
1361
1347
|
interface IMentionedInfo {
|
|
1362
1348
|
/**
|
|
1363
1349
|
* 群组消息中的 @ 信息
|
|
1364
1350
|
*/
|
|
1365
|
-
mentionedInfo?:
|
|
1351
|
+
mentionedInfo?: MentionedInfoBody;
|
|
1366
1352
|
}
|
|
1367
1353
|
|
|
1368
1354
|
/**
|
|
@@ -1383,7 +1369,7 @@ interface IImageMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
|
1383
1369
|
*/
|
|
1384
1370
|
imageUri: string;
|
|
1385
1371
|
}
|
|
1386
|
-
declare const _default$
|
|
1372
|
+
declare const _default$d: MessageConstructor<IImageMessageBody>;
|
|
1387
1373
|
|
|
1388
1374
|
/**
|
|
1389
1375
|
* 图片消息
|
|
@@ -1403,7 +1389,7 @@ interface IHQVoiceMessageBody extends IUserInfo, IExtraData, IMentionedInfo {
|
|
|
1403
1389
|
*/
|
|
1404
1390
|
duration: number;
|
|
1405
1391
|
}
|
|
1406
|
-
declare const _default$
|
|
1392
|
+
declare const _default$c: MessageConstructor<IHQVoiceMessageBody>;
|
|
1407
1393
|
|
|
1408
1394
|
/**
|
|
1409
1395
|
* 短视频消息
|
|
@@ -1432,7 +1418,7 @@ interface ISightMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
|
1432
1418
|
*/
|
|
1433
1419
|
name: string;
|
|
1434
1420
|
}
|
|
1435
|
-
declare const _default$
|
|
1421
|
+
declare const _default$b: MessageConstructor<ISightMessageBody>;
|
|
1436
1422
|
|
|
1437
1423
|
/**
|
|
1438
1424
|
* 文本消息
|
|
@@ -1444,7 +1430,7 @@ interface ITextMessageBody extends IUserInfo, IExtraData, IMentionedInfo {
|
|
|
1444
1430
|
*/
|
|
1445
1431
|
content: string;
|
|
1446
1432
|
}
|
|
1447
|
-
declare const _default$
|
|
1433
|
+
declare const _default$a: MessageConstructor<ITextMessageBody>;
|
|
1448
1434
|
|
|
1449
1435
|
/**
|
|
1450
1436
|
* 富文本消息
|
|
@@ -1468,7 +1454,7 @@ interface ICombineMessageBody extends IExtraData, IUserInfo {
|
|
|
1468
1454
|
*/
|
|
1469
1455
|
conversationType: ConversationType;
|
|
1470
1456
|
}
|
|
1471
|
-
declare const _default$
|
|
1457
|
+
declare const _default$9: MessageConstructor<ICombineMessageBody>;
|
|
1472
1458
|
|
|
1473
1459
|
/**
|
|
1474
1460
|
* 文件消息
|
|
@@ -1492,7 +1478,7 @@ interface IFileMessageBody extends IExtraData, IUserInfo {
|
|
|
1492
1478
|
*/
|
|
1493
1479
|
fileUrl: string;
|
|
1494
1480
|
}
|
|
1495
|
-
declare const _default$
|
|
1481
|
+
declare const _default$8: MessageConstructor<IFileMessageBody>;
|
|
1496
1482
|
|
|
1497
1483
|
/**
|
|
1498
1484
|
* @category Interface
|
|
@@ -1515,7 +1501,7 @@ interface IGIFMessageBody extends IExtraData, IUserInfo {
|
|
|
1515
1501
|
*/
|
|
1516
1502
|
height: number;
|
|
1517
1503
|
}
|
|
1518
|
-
declare const _default$
|
|
1504
|
+
declare const _default$7: MessageConstructor<IGIFMessageBody>;
|
|
1519
1505
|
|
|
1520
1506
|
/**
|
|
1521
1507
|
* @category Interface
|
|
@@ -1525,7 +1511,7 @@ interface IVoiceMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
|
1525
1511
|
duration: number;
|
|
1526
1512
|
extra: string;
|
|
1527
1513
|
}
|
|
1528
|
-
declare const _default$
|
|
1514
|
+
declare const _default$6: MessageConstructor<IVoiceMessageBody>;
|
|
1529
1515
|
|
|
1530
1516
|
/**
|
|
1531
1517
|
* @category Interface
|
|
@@ -1548,7 +1534,7 @@ interface ILocationMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
|
1548
1534
|
*/
|
|
1549
1535
|
content: string;
|
|
1550
1536
|
}
|
|
1551
|
-
declare const _default$
|
|
1537
|
+
declare const _default$5: MessageConstructor<ILocationMessageBody>;
|
|
1552
1538
|
|
|
1553
1539
|
/**
|
|
1554
1540
|
* @category Interface
|
|
@@ -1571,7 +1557,7 @@ interface IReferenceMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
|
1571
1557
|
*/
|
|
1572
1558
|
objName: string;
|
|
1573
1559
|
}
|
|
1574
|
-
declare const _default$
|
|
1560
|
+
declare const _default$4: MessageConstructor<IReferenceMessageBody>;
|
|
1575
1561
|
|
|
1576
1562
|
interface IArticle {
|
|
1577
1563
|
title: string;
|
|
@@ -1584,7 +1570,67 @@ interface IArticle {
|
|
|
1584
1570
|
*/
|
|
1585
1571
|
interface IRichContentMessageBody extends IArticle, IExtraData, IMentionedInfo, IUserInfo {
|
|
1586
1572
|
}
|
|
1587
|
-
declare const _default: MessageConstructor<IRichContentMessageBody>;
|
|
1573
|
+
declare const _default$3: MessageConstructor<IRichContentMessageBody>;
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* 命令消息
|
|
1577
|
+
* @category Interface
|
|
1578
|
+
*/
|
|
1579
|
+
interface ICommandMessageBody extends IUserInfo, IExtraData, IMentionedInfo {
|
|
1580
|
+
/**
|
|
1581
|
+
* 命令名称,可以自行定义
|
|
1582
|
+
*/
|
|
1583
|
+
name: string;
|
|
1584
|
+
/**
|
|
1585
|
+
* 命令内容
|
|
1586
|
+
*/
|
|
1587
|
+
data: string;
|
|
1588
|
+
}
|
|
1589
|
+
declare const _default$2: MessageConstructor<ICommandMessageBody>;
|
|
1590
|
+
|
|
1591
|
+
/**
|
|
1592
|
+
* 小灰条消息
|
|
1593
|
+
* @category Interface
|
|
1594
|
+
*/
|
|
1595
|
+
interface IInformationNotificationMessageBody extends IUserInfo, IExtraData, IMentionedInfo {
|
|
1596
|
+
/**
|
|
1597
|
+
* 提示条消息内容
|
|
1598
|
+
*/
|
|
1599
|
+
message: string;
|
|
1600
|
+
/**
|
|
1601
|
+
* 提示条消息附加信息
|
|
1602
|
+
*/
|
|
1603
|
+
extra?: string;
|
|
1604
|
+
}
|
|
1605
|
+
declare const _default$1: MessageConstructor<IInformationNotificationMessageBody>;
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* 群组通知消息
|
|
1609
|
+
* @category Interface
|
|
1610
|
+
*/
|
|
1611
|
+
interface IGroupNotificationMessageBody extends IUserInfo, IExtraData, IMentionedInfo {
|
|
1612
|
+
/**
|
|
1613
|
+
* 操作人用户 Id
|
|
1614
|
+
*/
|
|
1615
|
+
operatorUserId: string;
|
|
1616
|
+
/**
|
|
1617
|
+
* 群组中各种通知的操作名称
|
|
1618
|
+
*/
|
|
1619
|
+
operation: string;
|
|
1620
|
+
/**
|
|
1621
|
+
* 操作数据
|
|
1622
|
+
*/
|
|
1623
|
+
data: string;
|
|
1624
|
+
/**
|
|
1625
|
+
* 消息内容
|
|
1626
|
+
*/
|
|
1627
|
+
message: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* 扩展信息
|
|
1630
|
+
*/
|
|
1631
|
+
extra?: string;
|
|
1632
|
+
}
|
|
1633
|
+
declare const _default: MessageConstructor<IGroupNotificationMessageBody>;
|
|
1588
1634
|
|
|
1589
1635
|
/**
|
|
1590
1636
|
* 发送消息
|
|
@@ -1679,7 +1725,7 @@ declare function sendSyncReadStatusMessage(conversation: IConversationOption, la
|
|
|
1679
1725
|
code: ErrorCode;
|
|
1680
1726
|
msg?: undefined;
|
|
1681
1727
|
} | {
|
|
1682
|
-
code: ErrorCode;
|
|
1728
|
+
code: ErrorCode.TIMEOUT | ErrorCode.UNKNOWN | ErrorCode.PARAMETER_ERROR | ErrorCode.EXTRA_METHOD_UNDEFINED | ErrorCode.MAIN_PROCESS_ERROR | ErrorCode.PARAMETER_CHANGED | ErrorCode.SYS_CONVERSATION_NOT_SUPPORT_MESSAGE | ErrorCode.RC_DISCUSSION_GROUP_ID_INVALID | ErrorCode.SEND_FREQUENCY_TOO_FAST | ErrorCode.NOT_IN_DISCUSSION | ErrorCode.FORBIDDEN_IN_GROUP | ErrorCode.RECALL_MESSAGE | ErrorCode.NOT_IN_GROUP | ErrorCode.NOT_IN_CHATROOM | ErrorCode.FORBIDDEN_IN_CHATROOM | ErrorCode.RC_CHATROOM_USER_KICKED | ErrorCode.RC_CHATROOM_NOT_EXIST | ErrorCode.RC_CHATROOM_IS_FULL | ErrorCode.RC_CHATROOM_PATAMETER_INVALID | ErrorCode.CHATROOM_GET_HISTORYMSG_ERROR | ErrorCode.CHATROOM_NOT_OPEN_HISTORYMSG_STORE | ErrorCode.CHATROOM_KV_EXCEED | ErrorCode.CHATROOM_KV_OVERWRITE_INVALID | ErrorCode.CHATROOM_KV_STORE_NOT_OPEN | ErrorCode.CHATROOM_KEY_NOT_EXIST | ErrorCode.CHATROOM_KV_SET_ERROR | ErrorCode.SENSITIVE_SHIELD | ErrorCode.SENSITIVE_REPLACE | ErrorCode.JOIN_IN_DISCUSSION | ErrorCode.CREATE_DISCUSSION | ErrorCode.INVITE_DICUSSION | ErrorCode.GET_USERINFO_ERROR | ErrorCode.REJECTED_BY_BLACKLIST | ErrorCode.RC_NET_CHANNEL_INVALID | ErrorCode.RC_NET_UNAVAILABLE | ErrorCode.RC_MSG_RESP_TIMEOUT | ErrorCode.RC_HTTP_SEND_FAIL | ErrorCode.RC_HTTP_REQ_FAIL | ErrorCode.RC_HTTP_RECV_FAIL | ErrorCode.RC_NAVI_REQ_FAILED | ErrorCode.RC_NODE_NOT_FOUND | ErrorCode.RC_DOMAIN_NOT_RESOLVE | ErrorCode.RC_SOCKET_NOT_CREATED | ErrorCode.RC_SOCKET_DISCONNECTED | ErrorCode.RC_PING_EXCEED_LIMIT | ErrorCode.RC_MSG_SEND_FAIL | ErrorCode.RC_MSG_CONTENT_EXCEED_LIMIT | ErrorCode.RC_NETWORK_DOWN | ErrorCode.RC_TCP_DISCONNECTED_NO_RMTP | ErrorCode.RC_CONN_ACK_TIMEOUT | ErrorCode.RC_CONN_PROTO_VERSION_ERROR | ErrorCode.RC_CONN_IDENTIFIER_REJECTED | ErrorCode.RC_CONN_SERVER_UNAVAILABLE | ErrorCode.RC_CONN_TOKEN_INCORRECT | ErrorCode.RC_CONN_NOT_AUTHRORIZED | ErrorCode.RC_CONN_REDIRECTED | ErrorCode.RC_CONN_PACKAGE_NAME_INVALID | ErrorCode.RC_CONN_APP_BLOCKED_OR_DELETED | ErrorCode.RC_CONN_USER_BLOCKED | ErrorCode.RC_DISCONN_KICK | ErrorCode.RC_DISCONN_EXCEPTION | ErrorCode.RC_CONN_TOKEN_EXPIRED | ErrorCode.RC_CONN_DEVICE_ERROR | ErrorCode.RC_CONN_HOSTNAME_ERROR | ErrorCode.RC_DISCONN_SAME_CLIENT_ON_LINE | ErrorCode.RC_LISCENSE_COUNT_OUT_OF_LIMIT | ErrorCode.RC_CONN_WRONG_CLUSTER | ErrorCode.RC_APP_AUTH_NOT_PASS | ErrorCode.RC_OTP_USED | ErrorCode.RC_PLATFORM_ERROR | ErrorCode.RC_ACCOUNT_CANCELLATION | ErrorCode.RC_LICENSE_EXPIRED | ErrorCode.RC_QUERY_ACK_NO_DATA | ErrorCode.RC_MSG_DATA_INCOMPLETE | ErrorCode.RC_UDP_DISCONNECTED | ErrorCode.RC_TCP_RESET | ErrorCode.BIZ_ERROR_CLIENT_NOT_INIT | ErrorCode.BIZ_ERROR_DATABASE_ERROR | ErrorCode.BIZ_ERROR_INVALID_PARAMETER | ErrorCode.BIZ_ERROR_NO_CHANNEL | ErrorCode.BIZ_ERROR_RECONNECT_SUCCESS | ErrorCode.BIZ_ERROR_CONNECTING | ErrorCode.MSG_ROAMING_SERVICE_UNAVAILABLE | ErrorCode.MSG_INSERT_ERROR | ErrorCode.MSG_DEL_ERROR | ErrorCode.TAG_EXISTS | ErrorCode.TAG_NOT_EXIST | ErrorCode.NO_TAG_IN_CONVER | ErrorCode.RC_CONNECTION_EXIST | ErrorCode.CONVER_GETLIST_ERROR | ErrorCode.CONVER_SETOP_ERROR | ErrorCode.CONVER_TOTAL_UNREAD_ERROR | ErrorCode.CONVER_TYPE_UNREAD_ERROR | ErrorCode.CONVER_ID_TYPE_UNREAD_ERROR | ErrorCode.EXPANSION_LIMIT_EXCEET | ErrorCode.MESSAGE_KV_NOT_SUPPORT | ErrorCode.UPLOAD_FAIL | ErrorCode.CONVER_OUT_LIMIT_ERROR | ErrorCode.CONVER_GET_ERROR | ErrorCode.GROUP_SYNC_ERROR | ErrorCode.GROUP_MATCH_ERROR | ErrorCode.READ_RECEIPT_ERROR | ErrorCode.PACKAGE_ENVIRONMENT_ERROR | ErrorCode.CAN_NOT_RECONNECT | ErrorCode.SERVER_UNAVAILABLE | ErrorCode.HOSTNAME_ERROR | ErrorCode.HAS_OHTER_SAME_CLIENT_ON_LINE | ErrorCode.METHOD_NOT_AVAILABLE | ErrorCode.METHOD_NOT_SUPPORT | ErrorCode.MSG_LIMIT_ERROR | ErrorCode.METHOD_ONLY_SUPPORT_ULTRA_GROUP | ErrorCode.CHATROOM_ID_ISNULL | ErrorCode.CHARTOOM_JOIN_ERROR | ErrorCode.CHATROOM_HISMESSAGE_ERROR | ErrorCode.CHATROOM_KV_NOT_FOUND | ErrorCode.BLACK_ADD_ERROR | ErrorCode.BLACK_GETSTATUS_ERROR | ErrorCode.BLACK_REMOVE_ERROR | ErrorCode.DRAF_GET_ERROR | ErrorCode.DRAF_SAVE_ERROR | ErrorCode.DRAF_REMOVE_ERROR | ErrorCode.SUBSCRIBE_ERROR | ErrorCode.NOT_SUPPORT | ErrorCode.QNTKN_FILETYPE_ERROR | ErrorCode.QNTKN_GET_ERROR | ErrorCode.COOKIE_ENABLE | ErrorCode.HAVNODEVICEID | ErrorCode.DEVICEIDISHAVE | ErrorCode.FEILD | ErrorCode.VOIPISNULL | ErrorCode.NOENGINETYPE | ErrorCode.NULLCHANNELNAME | ErrorCode.VOIPDYANMICERROR | ErrorCode.NOVOIP | ErrorCode.INTERNALERRROR | ErrorCode.VOIPCLOSE | ErrorCode.ULTRA_GROUP_USER_NOT_IN_PRIVATE_CHANNEL | ErrorCode.CANCEL | ErrorCode.REJECT | ErrorCode.HANGUP | ErrorCode.BUSYLINE | ErrorCode.NO_RESPONSE | ErrorCode.ENGINE_UN_SUPPORTED | ErrorCode.NETWORK_ERROR | ErrorCode.REMOTE_CANCEL | ErrorCode.REMOTE_REJECT | ErrorCode.REMOTE_HANGUP | ErrorCode.REMOTE_BUSYLINE | ErrorCode.REMOTE_NO_RESPONSE | ErrorCode.REMOTE_ENGINE_UN_SUPPORTED | ErrorCode.REMOTE_NETWORK_ERROR | ErrorCode.VOIP_NOT_AVALIABLE | ErrorCode.CHATROOM_KV_STORE_NOT_ALL_SUCCESS | ErrorCode.CHATROOM_KV_STORE_OUT_LIMIT | ErrorCode.SEARCH_PROPS_LIMIT_ERROR | ErrorCode.INVALID_PARAMETER_PROXY | ErrorCode.INVALID_PARAMETER_TESTHOST | ErrorCode.INVALID_CONNECT_TESTHOST_FAILED | ErrorCode.RC_CONN_PROXY_UNAVAILABLE;
|
|
1683
1729
|
msg: string | undefined;
|
|
1684
1730
|
}>;
|
|
1685
1731
|
/**
|
|
@@ -2209,4 +2255,4 @@ declare function getProxy(): IPromiseResult<IProxy>;
|
|
|
2209
2255
|
*/
|
|
2210
2256
|
declare function testProxy(proxy: IProxy, testHost: string): IPromiseResult<IResponse>;
|
|
2211
2257
|
|
|
2212
|
-
export { BaseMessage, _default$
|
|
2258
|
+
export { BaseMessage, _default$9 as CombineMessage, _default$2 as CommandMessage, ConnectType, EventListeners, Events, _default$8 as FileMessage, _default$7 as GIFMessage, GetHistoryMessageOption, GetHistoryMessageResult, _default as GroupNotificationMessage, _default$c as HQVoiceMessage, IAReceivedConversation, IAReceivedConversationByTag, IAReceivedMessage, IAUltraGroupReceivedConversation, ICombineMessageBody, ICommandMessageBody, IConversationEvent, IConversationState, IConversationUpdateItem, IExtraData, IFileMessageBody, IGIFMessageBody, IGetHistoryMessagesByTypesOption, IGroupNotificationMessageBody, IHQVoiceMessageBody, IImageMessageBody, IImageMessageOption, IInformationNotificationMessageBody, IInitOption, IInsertOptions, ILocationMessageBody, IMessageDesc, IMessageReceiptRequestEvent, IMessageReceiptResponseEvent, IMessagesEvent, IReadReceiptReceivedEvent, IRecallMessageOptions, IReceivedUpdateConversation, IReferenceMessageBody, IRichContentMessageBody, ISearchMessageInTimeRangeOption, ISendBody, ISendFileMessageOptions, ISendImageMessageOptions, ISendMessageOptions, ISendSightMessageOptions, ISightMessageBody, ITextMessageBody, IThumbnailConfig, ITypingStatusEvent, IUploadHooks, IUploadMessageOption, IUserInfo, IVoiceMessageBody, _default$d as ImageMessage, _default$1 as InformationNotificationMessage, _default$5 as LocationMessage, MentionedInfo, MessageConstructor, MessageType, _default$4 as ReferenceMessage, _default$3 as RichContentMessage, _default$b as SightMessage, _default$a as TextMessage, _default$6 as VoiceMessage, __addSDKVersion, addConversationsToTag, addEventListener, addTag, addToBlacklist, bindRTCRoomForChatroom, clearAllMessagesUnreadStatus, clearEventListeners, clearHistoryMessages, clearMessages$1 as clearMessages, clearMessagesUnreadStatus, clearTextMessageDraft, clearUnreadCountByTimestamp, connect, deleteLocalMessagesByTimestamp, deleteMessages$1 as deleteMessages, destroy, disconnect, index as electronExtension, forceRemoveChatRoomEntry, forceSetChatRoomEntry, getAllChatRoomEntries, getAllConversationState, getAllUltraGroupUnreadCount, getAllUltraGroupUnreadMentionedCount, getAllUnreadMentionedCount, getBlacklist, getBlacklistStatus, getBlockUltraGroupList, getBlockedConversationList, getChatRoomEntry, getChatRoomInfo, getChatroomHistoryMessages, getConnectionStatus, getConversation, getConversationList$1 as getConversationList, getConversationNotificationLevel, getConversationNotificationStatus, getConversationsFromTagByPage, getCurrentUserId, getDeviceId, getFileToken, getFileUrl, getFirstUnreadMessage, getHistoryMessages, getMessage, getMessageReader, getProxy, getRemoteHistoryMessages, getServerTime, getTags, getTagsFromConversation, getTextMessageDraft, getTopConversationList, getTotalUnreadCount, getTotalUnreadCountByLevels, getTotalUnreadMentionedCountByLevels, getUltraGroupDefaultNotificationLevel, getUltraGroupFirstUnreadMessageTimestamp, getUltraGroupList, getUltraGroupMessageListByMessageUId, getUltraGroupUnreadCountByTargetId, getUltraGroupUnreadInfoList, getUltraGroupUnreadMentionedCountByTargetId, getUltraGroupUnreadMentionedMessages, getUnreadConversationList, getUnreadCount, getUnreadCountByTag, getUnreadMentionedCount, getUnreadMentionedMessages, init, insertMessage$1 as insertMessage, installPlugin, joinChatRoom, joinExistChatRoom, modifyMessage, onceEventListener, quitChatRoom, recallMessage, registerMessageType, removeAllExpansionForUltraGroupMessage, removeChatRoomEntries, removeChatRoomEntry, removeConversation, removeConversationsFromTag, removeEventListener, removeEventListeners, removeExpansionForUltraGroupMessage, removeFromBlacklist, removeMessageExpansionForKey, removeTag, removeTagFromConversations, removeTagsFromConversation, saveTextMessageDraft, searchConversationByContent$1 as searchConversationByContent, searchMessages$1 as searchMessages, sendFileMessage, sendGIFMessage, sendHQVoiceMessage, sendImageMessage, sendMessage, sendReadReceiptMessage, sendReadReceiptRequest, sendReadReceiptResponse, sendReadReceiptResponseV2, sendSightMessage, sendSyncReadStatusMessage, sendTextMessage, sendTypingStatusMessage, sendUltraGroupTypingStatus, setChatRoomEntries, setChatRoomEntry, setConversationNotificationLevel, setConversationNotificationStatus, setConversationToTop, setConversationToTopInTag, setMessageReceivedStatus$1 as setMessageReceivedStatus, setProxy, setUltraGroupDefaultNotificationLevel, testProxy, updateExpansionForUltraGroupMessage, updateMessageExpansion, updateTag };
|