@rongcloud/imlib-next 5.8.4 → 5.8.5-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +107 -22
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
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, IChatroomJoinResponse, IChatroomInfo, IChatRoomEntry, IChatroomEntries, IRemoveChatRoomEntry, IRemoveChatRoomEntries, IRTCRoomBindOption, MentionedInfoBody, IMessageReaderResponse, IReceivedMessage, IReceivedConversation, ITagParam, ITagInfo, IConversationTag, FileType, IUploadAuth, IDownloadAuth, 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, IChatroomJoinResponse, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IConversationIdentifier, IConversationOption, IConversationTag, IDeletedExpansion, IDeliveredUser, IDownloadAuth, 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
|
-
import { IUploadInfo, IUploadResult } from '@rc-embed/upload/type';
|
|
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, IReadReceiptData, ISyncReadStatusData, IBaseConversationInfo, IConversationState as IConversationState$1, IGetUltraGroupListOption, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadMentionedOption, IUltraGroupUnreadInfo, IChatroomJoinResponse, IChatroomInfo, IChatRoomEntry, IChatroomEntries, IRemoveChatRoomEntry, IRemoveChatRoomEntries, IRTCRoomBindOption, MentionedInfoBody, ICombineV2MessageContent, IMessageReader, IMessageReaderResponse, IReceivedMessage, IReceivedConversation, ITagParam, ITagInfo, IConversationTag, FileType, IUploadAuth, IDownloadAuth, 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, IChatroomJoinResponse, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, ICombinedMessage, IConversationIdentifier, IConversationOption, IConversationTag, IDeletedExpansion, IDeliveredUser, IDownloadAuth, IEventListener, IExpansionListenerData, IGetUltraGroupListOption, IGooglePushConfig, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IGroupReadReceiptData, IInsertMessage, IMessageDeliver, IMessageReader, IMessageReaderResponse, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPrivateReadReceiptData, IPromiseResult, IProxy, IPushConfig, IRTCRoomBindOption, IReadReceiptData, IReadReceiptInfo, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IResponse, ISyncReadStatusData, 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';
|
|
4
3
|
export { IUploadInfo, IUploadResult } from '@rc-embed/upload/type';
|
|
4
|
+
import { IUploadInfo, UploadTask, IUploadResult } from '@rc-embed/upload';
|
|
5
|
+
export { UploadTask } from '@rc-embed/upload';
|
|
5
6
|
|
|
6
7
|
declare type IInitOption = {
|
|
7
8
|
/**
|
|
@@ -333,6 +334,16 @@ declare enum Events {
|
|
|
333
334
|
* 收到已读回执响应(群聊)
|
|
334
335
|
*/
|
|
335
336
|
MESSAGE_RECEIPT_RESPONSE = "MESSAGE_RECEIPT_RESPONSE",
|
|
337
|
+
/**
|
|
338
|
+
* 收到已读回执(V4 版本)
|
|
339
|
+
* @since todo
|
|
340
|
+
*/
|
|
341
|
+
MESSAGE_READ_RECEIPT = "MESSAGE_READ_RECEIPT",
|
|
342
|
+
/**
|
|
343
|
+
* 收到会话已读时间同步(V4 版本),收到此通知时 SDK 内会处理清除会话未读数
|
|
344
|
+
* @since todo
|
|
345
|
+
*/
|
|
346
|
+
SYNC_READ_STATUS = "SYNC_READ_STATUS",
|
|
336
347
|
/**
|
|
337
348
|
* 收到会话变更通知
|
|
338
349
|
*/
|
|
@@ -549,6 +560,10 @@ interface IAReceivedConversation {
|
|
|
549
560
|
* @since 5.8.4
|
|
550
561
|
*/
|
|
551
562
|
operationTime?: number;
|
|
563
|
+
/**
|
|
564
|
+
* 会话草稿
|
|
565
|
+
*/
|
|
566
|
+
draft?: string;
|
|
552
567
|
}
|
|
553
568
|
/**
|
|
554
569
|
* @category Interface
|
|
@@ -897,6 +912,11 @@ declare type EventListeners = {
|
|
|
897
912
|
* @hidden
|
|
898
913
|
*/
|
|
899
914
|
[Events.GROUP_MESSAGE_DELIVERED]: (list: IGroupMessageDeliverStatus[]) => void;
|
|
915
|
+
[Events.MESSAGE_READ_RECEIPT]: (data: IReadReceiptData) => void;
|
|
916
|
+
/**
|
|
917
|
+
* @hidden
|
|
918
|
+
*/
|
|
919
|
+
[Events.SYNC_READ_STATUS]: (list: ISyncReadStatusData) => void;
|
|
900
920
|
};
|
|
901
921
|
|
|
902
922
|
/**
|
|
@@ -1249,7 +1269,7 @@ declare function quitChatRoom(targetId: string): Promise<IAsyncRes<void>>;
|
|
|
1249
1269
|
* @category 聊天室
|
|
1250
1270
|
* @description count 或 order 有一个为0时,只返回成员总数,不返回成员列表信息
|
|
1251
1271
|
*/
|
|
1252
|
-
declare function getChatRoomInfo(targetId: string, options
|
|
1272
|
+
declare function getChatRoomInfo(targetId: string, options?: {
|
|
1253
1273
|
/**
|
|
1254
1274
|
* 获取聊天室的人数,传值范围:0-20,默认为 0
|
|
1255
1275
|
*/
|
|
@@ -1378,7 +1398,7 @@ interface IImageMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
|
1378
1398
|
*/
|
|
1379
1399
|
imageUri: string;
|
|
1380
1400
|
}
|
|
1381
|
-
declare const _default$
|
|
1401
|
+
declare const _default$e: MessageConstructor<IImageMessageBody>;
|
|
1382
1402
|
|
|
1383
1403
|
/**
|
|
1384
1404
|
* 图片消息
|
|
@@ -1398,7 +1418,7 @@ interface IHQVoiceMessageBody extends IUserInfo, IExtraData, IMentionedInfo {
|
|
|
1398
1418
|
*/
|
|
1399
1419
|
duration: number;
|
|
1400
1420
|
}
|
|
1401
|
-
declare const _default$
|
|
1421
|
+
declare const _default$d: MessageConstructor<IHQVoiceMessageBody>;
|
|
1402
1422
|
|
|
1403
1423
|
/**
|
|
1404
1424
|
* 短视频消息
|
|
@@ -1427,7 +1447,7 @@ interface ISightMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
|
|
|
1427
1447
|
*/
|
|
1428
1448
|
name: string;
|
|
1429
1449
|
}
|
|
1430
|
-
declare const _default$
|
|
1450
|
+
declare const _default$c: MessageConstructor<ISightMessageBody>;
|
|
1431
1451
|
|
|
1432
1452
|
/**
|
|
1433
1453
|
* 文本消息
|
|
@@ -1439,7 +1459,7 @@ interface ITextMessageBody extends IUserInfo, IExtraData, IMentionedInfo {
|
|
|
1439
1459
|
*/
|
|
1440
1460
|
content: string;
|
|
1441
1461
|
}
|
|
1442
|
-
declare const _default$
|
|
1462
|
+
declare const _default$b: MessageConstructor<ITextMessageBody>;
|
|
1443
1463
|
|
|
1444
1464
|
/**
|
|
1445
1465
|
* 富文本消息
|
|
@@ -1463,7 +1483,10 @@ interface ICombineMessageBody extends IExtraData, IUserInfo, IMentionedInfo {
|
|
|
1463
1483
|
*/
|
|
1464
1484
|
conversationType: ConversationType;
|
|
1465
1485
|
}
|
|
1466
|
-
declare const _default$
|
|
1486
|
+
declare const _default$a: MessageConstructor<ICombineMessageBody>;
|
|
1487
|
+
|
|
1488
|
+
declare type CombineV2MessageContent = ICombineV2MessageContent & IExtraData & IUserInfo & IMentionedInfo;
|
|
1489
|
+
declare const _default$9: MessageConstructor<CombineV2MessageContent>;
|
|
1467
1490
|
|
|
1468
1491
|
/**
|
|
1469
1492
|
* 文件消息
|
|
@@ -1726,17 +1749,75 @@ declare function sendReadReceiptResponseV2(targetId: string, messageList: {
|
|
|
1726
1749
|
}, channelId?: string): Promise<IAsyncRes<void>>;
|
|
1727
1750
|
/**
|
|
1728
1751
|
* 多端同步阅读状态
|
|
1729
|
-
* @
|
|
1730
|
-
* @param
|
|
1731
|
-
* @
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1752
|
+
* @param conversation 会话信息
|
|
1753
|
+
* @param timestamp 时间戳
|
|
1754
|
+
* @example
|
|
1755
|
+
* ```js
|
|
1756
|
+
* const con = {
|
|
1757
|
+
* conversationType: ConversationType.Group,
|
|
1758
|
+
* targetId: 'targetId'
|
|
1759
|
+
* }
|
|
1760
|
+
* sendSyncReadStatusMessage(con, Date.now()).then(res => {
|
|
1761
|
+
* if (res.code === ErrorCode.success) {
|
|
1762
|
+
* console.log('send success', res.data)
|
|
1763
|
+
* } else {
|
|
1764
|
+
* console.log('send error', res.msg)
|
|
1765
|
+
* }
|
|
1766
|
+
* })
|
|
1767
|
+
* ```
|
|
1768
|
+
*/
|
|
1769
|
+
declare function sendSyncReadStatusMessage(conversation: IConversationOption, lastMessageSendTime: number): Promise<IAsyncRes<unknown>>;
|
|
1770
|
+
/**
|
|
1771
|
+
* 发送已读回执(V4 版本)
|
|
1772
|
+
*
|
|
1773
|
+
* 调用此接口后,消息的发送者会收到 EVENTS.MESSAGE_READ_RECEIPT 事件通知
|
|
1774
|
+
*
|
|
1775
|
+
* 调用此接口需在开发者后台开通服务
|
|
1776
|
+
* @since todo
|
|
1777
|
+
* @param conversation 会话信息,支持单聊、群聊
|
|
1778
|
+
* @param endMsgUId 结束消息 UId
|
|
1779
|
+
* @param startMsgUId 开始消息UId, 仅群聊时有效
|
|
1780
|
+
* @example
|
|
1781
|
+
* ```js
|
|
1782
|
+
* const con = {
|
|
1783
|
+
* conversationType: ConversationType.Group,
|
|
1784
|
+
* targetId: 'targetId'
|
|
1785
|
+
* }
|
|
1786
|
+
* sendReadReceiptMessageV4(con, 'endMsgUId', 'startMsgUId').then(res => {
|
|
1787
|
+
* if (res.code === ErrorCode.success) {
|
|
1788
|
+
* console.log('send success')
|
|
1789
|
+
* } else {
|
|
1790
|
+
* console.log('send error', res.msg)
|
|
1791
|
+
* }
|
|
1792
|
+
* })
|
|
1793
|
+
* ```
|
|
1794
|
+
*/
|
|
1795
|
+
declare function sendReadReceiptMessageV4(conversation: IConversationOption, endMsgUId: string, startMsgUId?: string): Promise<IAsyncRes<unknown>>;
|
|
1796
|
+
/**
|
|
1797
|
+
* 获取消息的已读回执列表
|
|
1798
|
+
*
|
|
1799
|
+
* 调用此接口需在开发者后台开通服务
|
|
1800
|
+
* @since todo
|
|
1801
|
+
* @param conversation 会话信息, 仅支持群聊
|
|
1802
|
+
* @param messageUid 消息 UId
|
|
1803
|
+
* @example
|
|
1804
|
+
* ```js
|
|
1805
|
+
* const con = {
|
|
1806
|
+
* conversationType: ConversationType.Group,
|
|
1807
|
+
* targetId: 'targetId'
|
|
1808
|
+
* }
|
|
1809
|
+
* getMessageReadReceiptV4(con, 'MsgUId').then(res => {
|
|
1810
|
+
* if (res.code === ErrorCode.success) {
|
|
1811
|
+
* console.log('send success', res.data)
|
|
1812
|
+
* } else {
|
|
1813
|
+
* console.log('send error', res.msg)
|
|
1814
|
+
* }
|
|
1815
|
+
* })
|
|
1816
|
+
* ```
|
|
1817
|
+
*/
|
|
1818
|
+
declare function getMessageReadReceiptV4(conversation: IConversationOption, messageUid: string): Promise<IAsyncRes<{
|
|
1819
|
+
list: IMessageReader[];
|
|
1820
|
+
}>>;
|
|
1740
1821
|
/**
|
|
1741
1822
|
* 撤回消息
|
|
1742
1823
|
* @category 消息
|
|
@@ -1975,6 +2056,7 @@ declare function getUnreadCountByTag(tagId: string, containMuted: boolean): Prom
|
|
|
1975
2056
|
*/
|
|
1976
2057
|
declare function setConversationToTopInTag(tagId: string, conversation: IConversationOption, isTop: boolean): Promise<IAsyncRes<void>>;
|
|
1977
2058
|
|
|
2059
|
+
declare function createUploadTask(uploadInfo: IUploadInfo): IAsyncRes<UploadTask>;
|
|
1978
2060
|
declare function upload(uploadInfo: IUploadInfo): Promise<IAsyncRes<IUploadResult>>;
|
|
1979
2061
|
/**
|
|
1980
2062
|
* 获取文件 token
|
|
@@ -2042,6 +2124,7 @@ declare const MessageType: {
|
|
|
2042
2124
|
FILE: string;
|
|
2043
2125
|
SIGHT: string;
|
|
2044
2126
|
COMBINE: string;
|
|
2127
|
+
COMBINE_V2: string;
|
|
2045
2128
|
CHRM_KV_NOTIFY: string;
|
|
2046
2129
|
LOG_COMMAND: string;
|
|
2047
2130
|
EXPANSION_NOTIFY: string;
|
|
@@ -2168,7 +2251,7 @@ declare function insertMessage(conversation: IConversationOption, message: IARec
|
|
|
2168
2251
|
* @param checkDuplicate 选择是否排重,默认 false
|
|
2169
2252
|
* @returns
|
|
2170
2253
|
*/
|
|
2171
|
-
declare function batchInsertMessage(messages: IInsertMessage[], checkDuplicate: boolean): Promise<IAsyncRes<
|
|
2254
|
+
declare function batchInsertMessage(messages: IInsertMessage[], checkDuplicate: boolean): Promise<IAsyncRes<boolean>>;
|
|
2172
2255
|
/**
|
|
2173
2256
|
* 获取会话所有消息数
|
|
2174
2257
|
* @param conversation
|
|
@@ -2202,12 +2285,14 @@ declare function getGroupMessageDeliverList(targetId: string, messageUId: string
|
|
|
2202
2285
|
*
|
|
2203
2286
|
* @param enableCheck 是否使用融云消息重排机制 true: 开启, false: 关闭
|
|
2204
2287
|
* @description
|
|
2288
|
+
* @returns data => true: 成功,false: 失败
|
|
2205
2289
|
*
|
|
2206
2290
|
*/
|
|
2207
2291
|
declare function setCheckDuplicateMessage(enableCheck: boolean): Promise<IAsyncRes<boolean>>;
|
|
2208
2292
|
|
|
2209
2293
|
/**
|
|
2210
2294
|
* 清除本地数据, 包括消息列表、会话列表、拉取消息的时间戳
|
|
2295
|
+
* @returns data => true: 成功,false: 失败
|
|
2211
2296
|
*/
|
|
2212
2297
|
declare function clearLocalData(): Promise<IAsyncRes<boolean>>;
|
|
2213
2298
|
/**
|
|
@@ -2284,4 +2369,4 @@ declare function getProxy(): IPromiseResult<IProxy>;
|
|
|
2284
2369
|
*/
|
|
2285
2370
|
declare function testProxy(proxy: IProxy, testHost: string): IPromiseResult<IResponse>;
|
|
2286
2371
|
|
|
2287
|
-
export { BaseMessage, _default$
|
|
2372
|
+
export { BaseMessage, _default$a as CombineMessage, _default$9 as CombineV2Message, CombineV2MessageContent, _default$2 as CommandMessage, ConnectType, EventListeners, Events, _default$8 as FileMessage, _default$7 as GIFMessage, GetHistoryMessageOption, GetHistoryMessageResult, _default as GroupNotificationMessage, _default$d 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$e as ImageMessage, _default$1 as InformationNotificationMessage, _default$5 as LocationMessage, MentionedInfo, MessageConstructor, MessageType, _default$4 as ReferenceMessage, _default$3 as RichContentMessage, _default$c as SightMessage, _default$b as TextMessage, _default$6 as VoiceMessage, __addSDKVersion, addConversationsToTag, addEventListener, addTag, addToBlacklist, bindRTCRoomForChatroom, clearAllMessagesUnreadStatus, clearEventListeners, clearHistoryMessages, clearMessages$1 as clearMessages, clearMessagesUnreadStatus, clearTextMessageDraft, clearUnreadCountByTimestamp, connect, createUploadTask, 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, getDownloadAuth, getFileToken, getFileUrl, getFirstUnreadMessage, getHistoryMessages, getMessage, getMessageReadReceiptV4, 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, sendReadReceiptMessageV4, sendReadReceiptRequest, sendReadReceiptResponse, sendReadReceiptResponseV2, sendSightMessage, sendSyncReadStatusMessage, sendTextMessage, sendTypingStatusMessage, sendUltraGroupTypingStatus, setChatRoomEntries, setChatRoomEntry, setConversationNotificationLevel, setConversationNotificationStatus, setConversationToTop, setConversationToTopInTag, setMessageReceivedStatus$1 as setMessageReceivedStatus, setProxy, setUltraGroupDefaultNotificationLevel, testProxy, updateExpansionForUltraGroupMessage, updateMessageExpansion, updateTag, upload };
|