@rongcloud/imlib-next 5.4.0 → 5.4.2-beem-enterprise.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,8 +1,5 @@
1
- import * as _rongcloud_engine from '@rongcloud/engine';
2
- import { LogLevel, MessageDirection, ReceivedStatus, IReadReceiptInfo, IPushConfig, IPluginGenerator, IAsyncRes, ConnectionStatus, IEventListener, NotificationStatus, NotificationLevel, IUserProfile, IConversationOption, ConversationType, ErrorCode, IBaseConversationInfo, IConversationState, IReceivedConversation, IUltraGroupOption, IChatroomInfo, IChatRoomEntry, IChatroomEntries, IRemoveChatRoomEntry, IRemoveChatRoomEntries, IRTCRoomBindOption, MentionedType, IMessageReaderResponse, IReceivedMessage, ITagParam, ITagInfo, IConversationTag, IReceivedConversationByTag, FileType, IUploadAuth, UploadMethod } from '@rongcloud/engine';
3
- export { ConnectionStatus, ConversationType, ErrorCode, IBlockedMessageInfo, IChatRoomEntries, IChatRoomEntry, IChatroomListenerData, IConversationOption, IConversationState, IDeletedExpansion, IExpansionListenerData, IPluginGenerator, IRTCRoomBindOption, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IUpdatedExpansion, LogLevel, MentionedType, MessageBlockType, MessageDirection, NotificationLevel, NotificationStatus, ReceivedStatus, UploadMethod, logger } from '@rongcloud/engine';
4
- import * as _rongcloud_engine_enums_ReceivedStatus from '@rongcloud/engine/enums/ReceivedStatus';
5
- import * as _rongcloud_engine_enums_ConversationType from '@rongcloud/engine/enums/ConversationType';
1
+ import { LogLevel, MessageDirection, ReceivedStatus, IReadReceiptInfo, IPushConfig, IPluginGenerator, IAsyncRes, ConnectionStatus, IEventListener, NotificationStatus, NotificationLevel, IUserProfile, IConversationOption, ConversationType, ErrorCode, IBaseConversationInfo, IConversationState, IGetUltraGroupListOption, IUltraGroupConversation, IUltraGroupOption, IChatroomInfo, IChatRoomEntry, IChatroomEntries, IRemoveChatRoomEntry, IRemoveChatRoomEntries, IRTCRoomBindOption, MentionedType, IMessageReaderResponse, IReceivedMessage, IReceivedConversation, ITagParam, ITagInfo, IConversationTag, IReceivedConversationByTag, FileType, IUploadAuth, UploadMethod } from '@rongcloud/engine';
2
+ export { ChatroomEntryType, ChatroomUserChangeType, ConnectionStatus, ConversationType, ErrorCode, FileType, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBlockedMessageInfo, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomListenerData, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IConversationOption, IConversationState, IConversationTag, IDeletedExpansion, IEventListener, IExpansionListenerData, IGetUltraGroupListOption, IGooglePushConfig, ILogExtensions, ILogInfo, ILogInit, IMessageReader, IMessageReaderResponse, IPluginGenerator, IPushConfig, IRTCRoomBindOption, IReadReceiptInfo, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, ITagInfo, ITagParam, IUltraGroupConversation, IUltraGroupOption, IUpdatedExpansion, IUploadAuth, IUserProfile, IiOSPushConfig, LogLevel, LogSource, LogTagId, MentionedType, MessageBlockType, MessageDirection, NotificationLevel, NotificationStatus, ReceivedStatus, UltraGroupChannelType, UploadMethod, logger } from '@rongcloud/engine';
6
3
 
7
4
  declare enum Events {
8
5
  CONNECTING = "CONNECTING",
@@ -25,7 +22,10 @@ declare enum Events {
25
22
  OPERATE_STATUS = "OPERATE_STATUS",
26
23
  ULTRA_GROUP_MESSAGE_EXPANSION_UPDATED = "ULTRA_GROUP_MESSAGE_EXPANSION_UPDATED",
27
24
  ULTRA_GROUP_MESSAGE_MODIFIED = "ULTRA_GROUP_MESSAGE_MODIFIED",
28
- ULTRA_GROUP_MESSAGE_RECALLED = "ULTRA_GROUP_MESSAGE_RECALLED"
25
+ ULTRA_GROUP_MESSAGE_RECALLED = "ULTRA_GROUP_MESSAGE_RECALLED",
26
+ ULTRA_GROUP_CHANNEL_TYPE_CHANGE = "ULTRA_GROUP_CHANNEL_TYPE_CHANGE",
27
+ ULTRA_GROUP_CHANNEL_DELETE = "ULTRA_GROUP_CHANNEL_DELETE",
28
+ ULTRA_GROUP_CHANNEL_USER_KICKED = "ULTRA_GROUP_CHANNEL_USER_KICKED"
29
29
  }
30
30
  declare enum SentStatus {
31
31
  /**
@@ -597,7 +597,7 @@ interface ISearchMessageInTimeRangeOption {
597
597
  * 获取会话列表
598
598
  * @param options
599
599
  */
600
- declare function getConversationList(options?: {
600
+ declare function getConversationList$1(options?: {
601
601
  /**
602
602
  * 会话数量
603
603
  */
@@ -628,20 +628,20 @@ declare function getConversation(options: IConversationOption): Promise<IAsyncRe
628
628
  declare function removeConversation(options: IConversationOption): Promise<IAsyncRes<void>>;
629
629
  /**
630
630
  * 获取会话文本草稿
631
- * @params conversationType 会话乐行
631
+ * @params conversationType 会话类型
632
632
  * @params targetId 目标 ID
633
633
  */
634
634
  declare function getTextMessageDraft(options: IConversationOption): Promise<IAsyncRes<string>>;
635
635
  /**
636
636
  * 设置会话文本草稿
637
- * @params conversationType 会话乐行
637
+ * @params conversationType 会话类型
638
638
  * @params targetId 目标 ID
639
639
  * @params draft 草稿内容
640
640
  */
641
641
  declare function saveTextMessageDraft(options: IConversationOption, draft: string): Promise<IAsyncRes<void>>;
642
642
  /**
643
643
  * 删除会话文本草稿
644
- * @params conversationType 会话乐行
644
+ * @params conversationType 会话类型
645
645
  * @params targetId 目标 ID
646
646
  */
647
647
  declare function clearTextMessageDraft(options: IConversationOption): Promise<IAsyncRes<void>>;
@@ -735,7 +735,7 @@ declare function getAllConversationState(): Promise<IAsyncRes<IConversationState
735
735
  /**
736
736
  * 获取超级群会话列表
737
737
  */
738
- declare function getUltraGroupList(): Promise<IAsyncRes<IReceivedConversation[]>>;
738
+ declare function getUltraGroupList(options?: IGetUltraGroupListOption): Promise<IAsyncRes<IUltraGroupConversation[]>>;
739
739
  /**
740
740
  * 获取超级群免打扰列表
741
741
  */
@@ -945,7 +945,7 @@ interface IImageMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
945
945
  */
946
946
  imageUri: string;
947
947
  }
948
- declare const _default$b: MessageConstructor<IImageMessageBody>;
948
+ declare const _default$a: MessageConstructor<IImageMessageBody>;
949
949
 
950
950
  interface IHQVoiceMessageBody extends IUserInfo, IExtraData, IMentionedInfo {
951
951
  /**
@@ -961,7 +961,7 @@ interface IHQVoiceMessageBody extends IUserInfo, IExtraData, IMentionedInfo {
961
961
  */
962
962
  duration: number;
963
963
  }
964
- declare const _default$a: MessageConstructor<IHQVoiceMessageBody>;
964
+ declare const _default$9: MessageConstructor<IHQVoiceMessageBody>;
965
965
 
966
966
  interface ISightMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
967
967
  /**
@@ -986,7 +986,7 @@ interface ISightMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
986
986
  */
987
987
  name: string;
988
988
  }
989
- declare const _default$9: MessageConstructor<ISightMessageBody>;
989
+ declare const _default$8: MessageConstructor<ISightMessageBody>;
990
990
 
991
991
  /**
992
992
  * 文本消息
@@ -997,7 +997,7 @@ interface ITextMessageBody extends IUserInfo, IExtraData, IMentionedInfo {
997
997
  */
998
998
  content: string;
999
999
  }
1000
- declare const _default$8: MessageConstructor<ITextMessageBody>;
1000
+ declare const _default$7: MessageConstructor<ITextMessageBody>;
1001
1001
 
1002
1002
  interface ICombineMessageBody extends IExtraData, IUserInfo {
1003
1003
  /**
@@ -1017,7 +1017,7 @@ interface ICombineMessageBody extends IExtraData, IUserInfo {
1017
1017
  */
1018
1018
  conversationType: ConversationType;
1019
1019
  }
1020
- declare const _default$7: MessageConstructor<ICombineMessageBody>;
1020
+ declare const _default$6: MessageConstructor<ICombineMessageBody>;
1021
1021
 
1022
1022
  interface IFileMessageBody extends IExtraData, IUserInfo {
1023
1023
  /**
@@ -1037,7 +1037,7 @@ interface IFileMessageBody extends IExtraData, IUserInfo {
1037
1037
  */
1038
1038
  fileUrl: string;
1039
1039
  }
1040
- declare const _default$6: MessageConstructor<IFileMessageBody>;
1040
+ declare const _default$5: MessageConstructor<IFileMessageBody>;
1041
1041
 
1042
1042
  interface IGIFMessageBody extends IExtraData, IUserInfo {
1043
1043
  /**
@@ -1057,14 +1057,14 @@ interface IGIFMessageBody extends IExtraData, IUserInfo {
1057
1057
  */
1058
1058
  height: number;
1059
1059
  }
1060
- declare const _default$5: MessageConstructor<IGIFMessageBody>;
1060
+ declare const _default$4: MessageConstructor<IGIFMessageBody>;
1061
1061
 
1062
1062
  interface IVoiceMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
1063
1063
  content: string;
1064
1064
  duration: number;
1065
1065
  extra: string;
1066
1066
  }
1067
- declare const _default$4: MessageConstructor<IVoiceMessageBody>;
1067
+ declare const _default$3: MessageConstructor<IVoiceMessageBody>;
1068
1068
 
1069
1069
  interface ILocationMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
1070
1070
  /**
@@ -1084,7 +1084,7 @@ interface ILocationMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
1084
1084
  */
1085
1085
  content: string;
1086
1086
  }
1087
- declare const _default$3: MessageConstructor<ILocationMessageBody>;
1087
+ declare const _default$2: MessageConstructor<ILocationMessageBody>;
1088
1088
 
1089
1089
  interface IReferenceMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
1090
1090
  /**
@@ -1104,7 +1104,7 @@ interface IReferenceMessageBody extends IExtraData, IMentionedInfo, IUserInfo {
1104
1104
  */
1105
1105
  objName: string;
1106
1106
  }
1107
- declare const _default$2: MessageConstructor<IReferenceMessageBody>;
1107
+ declare const _default$1: MessageConstructor<IReferenceMessageBody>;
1108
1108
 
1109
1109
  interface IArticle {
1110
1110
  title: string;
@@ -1114,7 +1114,7 @@ interface IArticle {
1114
1114
  }
1115
1115
  interface IRichContentMessageBody extends IArticle, IExtraData, IMentionedInfo, IUserInfo {
1116
1116
  }
1117
- declare const _default$1: MessageConstructor<IRichContentMessageBody>;
1117
+ declare const _default: MessageConstructor<IRichContentMessageBody>;
1118
1118
 
1119
1119
  /**
1120
1120
  * 发送消息
@@ -1188,7 +1188,7 @@ declare function sendSyncReadStatusMessage(conversation: IConversationOption, la
1188
1188
  code: ErrorCode.SUCCESS;
1189
1189
  msg?: undefined;
1190
1190
  } | {
1191
- code: ErrorCode.TIMEOUT | ErrorCode.UNKNOWN | ErrorCode.PARAMETER_ERROR | ErrorCode.EXTRA_METHOD_UNDEFINED | ErrorCode.MAIN_PROCESS_ERROR | ErrorCode.PARAMETER_CHANGED | ErrorCode.RC_MSG_UNAUTHORIZED | 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_TIMEOUT | ErrorCode.RC_HTTP_RECV_FAIL | ErrorCode.RC_NAVI_RESOURCE_ERROR | ErrorCode.RC_NODE_NOT_FOUND | ErrorCode.RC_DOMAIN_NOT_RESOLVE | ErrorCode.RC_SOCKET_NOT_CREATED | ErrorCode.RC_SOCKET_DISCONNECTED | ErrorCode.RC_PING_SEND_FAIL | ErrorCode.RC_PONG_RECV_FAIL | ErrorCode.RC_MSG_SEND_FAIL | ErrorCode.RC_MSG_CONTENT_EXCEED_LIMIT | ErrorCode.RC_CONN_ACK_TIMEOUT | ErrorCode.RC_CONN_PROTO_VERSION_ERROR | ErrorCode.RC_CONN_ID_REJECT | ErrorCode.RC_CONN_SERVER_UNAVAILABLE | ErrorCode.RC_CONN_USER_OR_PASSWD_ERROR | 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_DISCONN_SAME_CLIENT_ON_LINE | ErrorCode.RC_APP_AUTH_NOT_PASS | ErrorCode.RC_OTP_USED | ErrorCode.RC_PLATFORM_ERROR | ErrorCode.RC_QUERY_ACK_NO_DATA | ErrorCode.RC_MSG_DATA_INCOMPLETE | 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.CONVER_REMOVE_ERROR | 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.CONVER_CLEAR_ERROR | ErrorCode.EXPANSION_LIMIT_EXCEET | ErrorCode.MESSAGE_KV_NOT_SUPPORT | ErrorCode.CLEAR_HIS_TIME_ERROR | 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.UPLOAD_FILE_FAILED | 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.GET_MESSAGE_BY_ID_ERROR | ErrorCode.HAVNODEVICEID | ErrorCode.DEVICEIDISHAVE | ErrorCode.FEILD | ErrorCode.VOIPISNULL | ErrorCode.NOENGINETYPE | ErrorCode.NULLCHANNELNAME | ErrorCode.VOIPDYANMICERROR | ErrorCode.NOVOIP | ErrorCode.INTERNALERRROR | ErrorCode.VOIPCLOSE | ErrorCode.ALREADY_IN_USE | ErrorCode.INVALID_CHANNEL_NAME | ErrorCode.VIDEO_CONTAINER_IS_NULL | 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;
1191
+ code: ErrorCode.TIMEOUT | ErrorCode.UNKNOWN | ErrorCode.PARAMETER_ERROR | ErrorCode.EXTRA_METHOD_UNDEFINED | ErrorCode.MAIN_PROCESS_ERROR | ErrorCode.PARAMETER_CHANGED | 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_TIMEOUT | ErrorCode.RC_HTTP_RECV_FAIL | ErrorCode.RC_NAVI_RESOURCE_ERROR | ErrorCode.RC_NODE_NOT_FOUND | ErrorCode.RC_DOMAIN_NOT_RESOLVE | ErrorCode.RC_SOCKET_NOT_CREATED | ErrorCode.RC_SOCKET_DISCONNECTED | ErrorCode.RC_PING_SEND_FAIL | ErrorCode.RC_PONG_RECV_FAIL | ErrorCode.RC_MSG_SEND_FAIL | ErrorCode.RC_MSG_CONTENT_EXCEED_LIMIT | ErrorCode.RC_CONN_ACK_TIMEOUT | ErrorCode.RC_CONN_PROTO_VERSION_ERROR | ErrorCode.RC_CONN_ID_REJECT | ErrorCode.RC_CONN_SERVER_UNAVAILABLE | ErrorCode.RC_CONN_USER_OR_PASSWD_ERROR | 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_DISCONN_SAME_CLIENT_ON_LINE | ErrorCode.RC_APP_AUTH_NOT_PASS | ErrorCode.RC_OTP_USED | ErrorCode.RC_PLATFORM_ERROR | ErrorCode.RC_QUERY_ACK_NO_DATA | ErrorCode.RC_MSG_DATA_INCOMPLETE | 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.CONVER_REMOVE_ERROR | 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.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.UPLOAD_FILE_FAILED | 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;
1192
1192
  msg: string | undefined;
1193
1193
  }>;
1194
1194
  /**
@@ -1199,7 +1199,7 @@ declare function recallMessage(conversation: IConversationOption, options: IReca
1199
1199
  /**
1200
1200
  * 按消息 UId 删除消息
1201
1201
  */
1202
- declare function deleteMessages(conversation: IConversationOption, messages: {
1202
+ declare function deleteMessages$1(conversation: IConversationOption, messages: {
1203
1203
  /**
1204
1204
  * 消息 id
1205
1205
  */
@@ -1268,7 +1268,7 @@ declare function getFirstUnreadMessage(conversation: IConversationOption): Promi
1268
1268
  * @param callback
1269
1269
  * @deprecated
1270
1270
  */
1271
- declare function insertMessage(conversation: IConversationOption, content: IReceivedMessage, options?: IInsertOptions): Promise<IAsyncRes<IAReceivedMessage>>;
1271
+ declare function insertMessage$1(conversation: IConversationOption, content: IReceivedMessage, options?: IInsertOptions): Promise<IAsyncRes<IAReceivedMessage>>;
1272
1272
  /**
1273
1273
  * 获取消息
1274
1274
  * @param messageId 本地消息 ID 或 messageUId
@@ -1289,7 +1289,7 @@ declare function getUnreadMentionedMessages(conversation: IConversationOption):
1289
1289
  * @param count 获取的数量
1290
1290
  * @deprecated
1291
1291
  */
1292
- declare function searchMessages(conversation: IConversationOption, keyword: string, timestamp: number, count: number): Promise<IAsyncRes<{
1292
+ declare function searchMessages$1(conversation: IConversationOption, keyword: string, timestamp: number, count: number): Promise<IAsyncRes<{
1293
1293
  messages: IAReceivedMessage[];
1294
1294
  count: number | undefined;
1295
1295
  }>>;
@@ -1307,14 +1307,14 @@ declare function deleteLocalMessagesByTimestamp(conversation: IConversationOptio
1307
1307
  * @param conversation 会话
1308
1308
  * @deprecated
1309
1309
  */
1310
- declare function clearMessages(conversation: IConversationOption): Promise<IAsyncRes<void>>;
1310
+ declare function clearMessages$1(conversation: IConversationOption): Promise<IAsyncRes<void>>;
1311
1311
  /**
1312
1312
  * 按内容搜索会话
1313
1313
  * @param keyword 关键字
1314
1314
  * @param conversationTypes 会话类型数组
1315
1315
  * @deprecated
1316
1316
  */
1317
- declare function searchConversationByContent(keyword: string, conversationTypes?: ConversationType[], customMessageType?: string[], channelId?: string): Promise<IAsyncRes<IReceivedConversation[] | undefined>>;
1317
+ declare function searchConversationByContent$1(keyword: string, conversationTypes?: ConversationType[], customMessageType?: string[], channelId?: string): Promise<IAsyncRes<IReceivedConversation[] | undefined>>;
1318
1318
  /**
1319
1319
  * 清除时间戳前的未读数
1320
1320
  * @param conversationType 会话类型
@@ -1327,7 +1327,7 @@ declare function clearUnreadCountByTimestamp(conversation: IConversationOption,
1327
1327
  * 设置消息接收状态
1328
1328
  * @deprecated
1329
1329
  */
1330
- declare function setMessageReceivedStatus(messageId: number, receivedStatus: number): Promise<IAsyncRes<void>>;
1330
+ declare function setMessageReceivedStatus$1(messageId: number, receivedStatus: number): Promise<IAsyncRes<void>>;
1331
1331
 
1332
1332
  /**
1333
1333
  * 创建标签
@@ -1455,33 +1455,148 @@ declare const MessageType: {
1455
1455
  RECALL_MESSAGE_TYPE: string;
1456
1456
  };
1457
1457
 
1458
- declare const _default: {
1459
- clearLocalData(): Promise<_rongcloud_engine.IAsyncRes<boolean>>;
1460
- searchMessages(conversation: _rongcloud_engine.IConversationOption, keyword: string, startTime: number, count: number): Promise<_rongcloud_engine.IAsyncRes<{
1461
- messages: IAReceivedMessage[];
1462
- count: number | undefined;
1463
- }>>;
1464
- searchMessageInTimeRange(conversation: {
1465
- conversationType: _rongcloud_engine_enums_ConversationType.default;
1466
- targetId: string;
1467
- }, option: ISearchMessageInTimeRangeOption): Promise<_rongcloud_engine.IAsyncRes<{
1468
- messages: IAReceivedMessage[];
1469
- }>>;
1470
- getHistoryMessagesByMessageTypes(conversation: _rongcloud_engine.IConversationOption, option: IGetHistoryMessagesByTypesOption): Promise<_rongcloud_engine.IAsyncRes<{
1471
- messages: IAReceivedMessage[];
1472
- hasMore: boolean;
1473
- }>>;
1474
- setMessageStatusToRead(conversation: _rongcloud_engine.IConversationOption, timestamp: number): Promise<_rongcloud_engine.IAsyncRes<boolean>>;
1475
- setMessageReceivedStatus(messageId: number, receivedStatus: _rongcloud_engine_enums_ReceivedStatus.default): Promise<_rongcloud_engine.IAsyncRes<any>>;
1476
- setMessageSentStatus(messageId: number, sentStatus: SentStatus): Promise<_rongcloud_engine.IAsyncRes<any>>;
1477
- setMessageContent(messageId: number, content: Object, messageType?: string): Promise<_rongcloud_engine.IAsyncRes<any>>;
1478
- deleteMessages(messageIds: number[]): Promise<_rongcloud_engine.IAsyncRes<any>>;
1479
- clearMessages(conversation: _rongcloud_engine.IConversationOption): Promise<_rongcloud_engine.IAsyncRes<void>>;
1480
- deleteMessagesByTimestamp(conversation: _rongcloud_engine.IConversationOption, timestamp: number, cleanSpace: boolean): Promise<_rongcloud_engine.IAsyncRes<void>>;
1481
- insertMessage(conversation: _rongcloud_engine.IConversationOption, message: IAReceivedMessage, options?: IInsertOptions): Promise<_rongcloud_engine.IAsyncRes<IAReceivedMessage>>;
1482
- getAllConversationList(channelId?: string | undefined): Promise<_rongcloud_engine.IAsyncRes<IAReceivedConversation[]>>;
1483
- getConversationList(startTime: number, count: number, channelId?: string | undefined): Promise<_rongcloud_engine.IAsyncRes<IAReceivedConversation[]>>;
1484
- searchConversationByContent(keyword: string, messageTypes: string[], channelId?: string | undefined): Promise<_rongcloud_engine.IAsyncRes<IAReceivedConversation[]>>;
1485
- };
1458
+ /**
1459
+ * 获取全部会话列表
1460
+ * @param channelId 频道 ID,不传则获取全部频道 ID 类型
1461
+ */
1462
+ declare function getAllConversationList(channelId?: string): Promise<IAsyncRes<IAReceivedConversation[]>>;
1463
+ /**
1464
+ * 获取会话列表
1465
+ * @param startTime 起始时间
1466
+ * @param count 数量
1467
+ * @param channelId 频道 ID,不传则获取全部频道 ID 类型
1468
+ */
1469
+ declare function getConversationList(startTime: number, count: number, channelId?: string): Promise<IAsyncRes<IAReceivedConversation[]>>;
1470
+ /**
1471
+ * 根据消息内容搜索会话列表
1472
+ * @param keyword 搜索关键字
1473
+ * @param messageTypes 消息类型
1474
+ * @param channelId 频道 ID,不传则获取全部频道 ID 类型
1475
+ */
1476
+ declare function searchConversationByContent(keyword: string, messageTypes: string[], channelId?: string): Promise<IAsyncRes<IAReceivedConversation[]>>;
1477
+
1478
+ /**
1479
+ * 搜索消息
1480
+ * 如果不传 channelId,则在所有 channelId 中搜索消息
1481
+ * @param conversation 会话
1482
+ * @param keyword 搜索关键字
1483
+ * @param startTime 搜索起始时间
1484
+ * @param count 数量
1485
+ */
1486
+ declare function searchMessages(conversation: IConversationOption, keyword: string, startTime: number, count: number): Promise<IAsyncRes<{
1487
+ messages: IAReceivedMessage[];
1488
+ count: number | undefined;
1489
+ }>>;
1490
+ /**
1491
+ * 在时间范围内搜索消息
1492
+ * @param conversation 会话
1493
+ * @param option 配置
1494
+ */
1495
+ declare function searchMessageInTimeRange(conversation: {
1496
+ conversationType: ConversationType;
1497
+ targetId: string;
1498
+ }, option: ISearchMessageInTimeRangeOption): Promise<IAsyncRes<{
1499
+ messages: IAReceivedMessage[];
1500
+ }>>;
1501
+ /**
1502
+ * 获取指定消息类型的历史消息
1503
+ * @param conversation 会话
1504
+ * @param option 配置参数
1505
+ */
1506
+ declare function getHistoryMessagesByMessageTypes(conversation: IConversationOption, option: IGetHistoryMessagesByTypesOption): Promise<IAsyncRes<{
1507
+ messages: IAReceivedMessage[];
1508
+ hasMore: boolean;
1509
+ }>>;
1510
+ /**
1511
+ * 将自己发送的指定时间之前的消息标记对方已读,状态值为 SentStatus.READ
1512
+ * @param conversation 会话
1513
+ * @param timestamp 时间戳
1514
+ */
1515
+ declare function setMessageStatusToRead(conversation: IConversationOption, timestamp: number): Promise<IAsyncRes<boolean>>;
1516
+ /**
1517
+ * 设置对方发送的消息 自己的接受状态
1518
+ * @param messageId 消息 ID
1519
+ * @param receivedStatus 接受状态
1520
+ */
1521
+ declare function setMessageReceivedStatus(messageId: number, receivedStatus: ReceivedStatus): Promise<IAsyncRes>;
1522
+ /**
1523
+ * 设置自己发送的消息的发送状态
1524
+ * @param messageId 消息ID
1525
+ * @param sentStatus 发送状态
1526
+ */
1527
+ declare function setMessageSentStatus(messageId: number, sentStatus: SentStatus): Promise<IAsyncRes>;
1528
+ /**
1529
+ * 修改消息内容
1530
+ * @param messageId 消息 ID
1531
+ * @param content 消息 content
1532
+ * @param messageType 消息类型,如果设置了消息类型,会使该消息无法被搜索
1533
+ */
1534
+ declare function setMessageContent(messageId: number, content: Object, messageType?: string): Promise<IAsyncRes>;
1535
+ /**
1536
+ * 删除消息
1537
+ * @param messageIds 消息 ID 列表, 需是同一会话的消息
1538
+ */
1539
+ declare function deleteMessages(messageIds: number[]): Promise<IAsyncRes>;
1540
+ /**
1541
+ * 清空会话下历史消息
1542
+ * @param conversation 会话
1543
+ */
1544
+ declare function clearMessages(conversation: IConversationOption): Promise<IAsyncRes<void>>;
1545
+ /**
1546
+ * 从本地消息数据库中删除某一会话指定时间之前的消息数据
1547
+ * @param conversation 会话
1548
+ * @param timestamp 指定删除该时间戳之前的消息
1549
+ * @param cleanSpace 指定删除该时间戳之前的消息。是否清理数据条目所使用的磁盘空间。清理磁盘空间会阻塞进程且耗时较长,不推荐使用。
1550
+ * 数据在被抹除的情况下,未清理的磁盘空间会在后续存储操作中复用,且对数据查询无影响
1551
+ */
1552
+ declare function deleteMessagesByTimestamp(conversation: IConversationOption, timestamp: number, cleanSpace: boolean): Promise<IAsyncRes<void>>;
1553
+ /**
1554
+ * 向本地插入一条消息,不发送到服务器
1555
+ * @param conversationType 会话类型
1556
+ * @param targetId 目标 ID
1557
+ * @param message 消息体
1558
+ * @param callback
1559
+ */
1560
+ declare function insertMessage(conversation: IConversationOption, message: IAReceivedMessage, options?: IInsertOptions): Promise<IAsyncRes<IAReceivedMessage>>;
1561
+
1562
+ /**
1563
+ * 清除本地数据, 包括消息列表、会话列表、拉取消息的时间戳
1564
+ */
1565
+ declare function clearLocalData(): Promise<IAsyncRes<boolean>>;
1566
+
1567
+ declare const index_getAllConversationList: typeof getAllConversationList;
1568
+ declare const index_getConversationList: typeof getConversationList;
1569
+ declare const index_searchConversationByContent: typeof searchConversationByContent;
1570
+ declare const index_searchMessages: typeof searchMessages;
1571
+ declare const index_searchMessageInTimeRange: typeof searchMessageInTimeRange;
1572
+ declare const index_getHistoryMessagesByMessageTypes: typeof getHistoryMessagesByMessageTypes;
1573
+ declare const index_setMessageStatusToRead: typeof setMessageStatusToRead;
1574
+ declare const index_setMessageReceivedStatus: typeof setMessageReceivedStatus;
1575
+ declare const index_setMessageSentStatus: typeof setMessageSentStatus;
1576
+ declare const index_setMessageContent: typeof setMessageContent;
1577
+ declare const index_deleteMessages: typeof deleteMessages;
1578
+ declare const index_clearMessages: typeof clearMessages;
1579
+ declare const index_deleteMessagesByTimestamp: typeof deleteMessagesByTimestamp;
1580
+ declare const index_insertMessage: typeof insertMessage;
1581
+ declare const index_clearLocalData: typeof clearLocalData;
1582
+ declare namespace index {
1583
+ export {
1584
+ index_getAllConversationList as getAllConversationList,
1585
+ index_getConversationList as getConversationList,
1586
+ index_searchConversationByContent as searchConversationByContent,
1587
+ index_searchMessages as searchMessages,
1588
+ index_searchMessageInTimeRange as searchMessageInTimeRange,
1589
+ index_getHistoryMessagesByMessageTypes as getHistoryMessagesByMessageTypes,
1590
+ index_setMessageStatusToRead as setMessageStatusToRead,
1591
+ index_setMessageReceivedStatus as setMessageReceivedStatus,
1592
+ index_setMessageSentStatus as setMessageSentStatus,
1593
+ index_setMessageContent as setMessageContent,
1594
+ index_deleteMessages as deleteMessages,
1595
+ index_clearMessages as clearMessages,
1596
+ index_deleteMessagesByTimestamp as deleteMessagesByTimestamp,
1597
+ index_insertMessage as insertMessage,
1598
+ index_clearLocalData as clearLocalData,
1599
+ };
1600
+ }
1486
1601
 
1487
- export { BaseMessage, _default$7 as CombineMessage, ConnectType, Events, _default$6 as FileMessage, _default$5 as GIFMessage, GetHistoryMessageOption, GetHistoryMessageResult, _default$a as HQVoiceMessage, IAReceivedConversation, IAReceivedMessage, ICombineMessageBody, IConversationUpdateItem, IFileMessageBody, IGIFMessageBody, IHQVoiceMessageBody, IImageMessageBody, IImageMessageOption, IInitOption, IInsertOptions, ILocationMessageBody, IReceivedUpdateConversation, IReferenceMessageBody, IRichContentMessageBody, ISearchMessageInTimeRangeOption, ISendFileMessageOptions, ISendImageMessageOptions, ISendMessageOptions, ISightMessageBody, ITextMessageBody, IThumbnailConfig, IUploadHooks, IUploadMessageOption, IVoiceMessageBody, _default$b as ImageMessage, _default$3 as LocationMessage, MentionedInfo$1 as MentionedInfo, MentionedInfo as MentionedInfoBody, MessageConstructor, MessageType, _default$2 as ReferenceMessage, _default$1 as RichContentMessage, SentStatus, _default$9 as SightMessage, _default$8 as TextMessage, _default$4 as VoiceMessage, __addSDKVersion, addConversationsToTag, addEventListener, addTag, addToBlacklist, bindRTCRoomForChatroom, clearAllMessagesUnreadStatus, clearEventListeners, clearHistoryMessages, clearMessages, clearMessagesUnreadStatus, clearTextMessageDraft, clearUnreadCountByTimestamp, connect, deleteLocalMessagesByTimestamp, deleteMessages, disconnect, _default as electronExtension, forceRemoveChatRoomEntry, forceSetChatRoomEntry, getAllChatRoomEntries, getAllConversationState, getAllUltraGroupUnreadCount, getAllUltraGroupUnreadMentionedCount, getAllUnreadMentionedCount, getBlacklist, getBlacklistStatus, getBlockUltraGroupList, getBlockedConversationList, getChatRoomEntry, getChatRoomInfo, getChatroomHistoryMessages, getConnectionStatus, getConversation, getConversationList, getConversationNotificationLevel, getConversationNotificationStatus, getConversationsFromTagByPage, getCurrentUserId, getDeviceId, getFileToken, getFileUrl, getFirstUnreadMessage, getHistoryMessages, getMessage, getMessageReader, getRemoteHistoryMessages, getServerTime, getTags, getTagsFromConversation, getTextMessageDraft, getTopConversationList, getTotalUnreadCount, getUltraGroupDefaultNotificationLevel, getUltraGroupList, getUltraGroupMessageListByMessageUId, getUltraGroupUnreadCountByTargetId, getUltraGroupUnreadMentionedCountByTargetId, getUnreadCount, getUnreadCountByTag, getUnreadMentionedCount, getUnreadMentionedMessages, init, insertMessage, installPlugin, joinChatRoom, joinExistChatRoom, modifyMessage, onceEventListener, quitChatRoom, recallMessage, registerMessageType, removeAllExpansionForUltraGroupMessage, removeChatRoomEntries, removeChatRoomEntry, removeConversation, removeConversationsFromTag, removeEventListener, removeEventListeners, removeExpansionForUltraGroupMessage, removeFromBlacklist, removeMessageExpansionForKey, removeTag, removeTagFromConversations, removeTagsFromConversation, saveTextMessageDraft, searchConversationByContent, searchMessages, sendFileMessage, sendHQVoiceMessage, sendImageMessage, sendMessage, sendReadReceiptMessage, sendReadReceiptRequest, sendReadReceiptResponse, sendReadReceiptResponseV2, sendSightMessage, sendSyncReadStatusMessage, sendTextMessage, sendTypingStatusMessage, sendUltraGroupTypingStatus, setChatRoomEntries, setChatRoomEntry, setConversationNotificationLevel, setConversationNotificationStatus, setConversationToTop, setConversationToTopInTag, setMessageReceivedStatus, setUltraGroupDefaultNotificationLevel, updateExpansionForUltraGroupMessage, updateMessageExpansion, updateTag };
1602
+ export { BaseMessage, _default$6 as CombineMessage, ConnectType, Events, _default$5 as FileMessage, _default$4 as GIFMessage, GetHistoryMessageOption, GetHistoryMessageResult, _default$9 as HQVoiceMessage, IAReceivedConversation, IAReceivedMessage, ICombineMessageBody, IConversationUpdateItem, IExtraData, IFileMessageBody, IGIFMessageBody, IGetHistoryMessagesByTypesOption, IHQVoiceMessageBody, IImageMessageBody, IImageMessageOption, IInitOption, IInsertOptions, ILocationMessageBody, IMessageDesc, IRecallMessageOptions, IReceivedUpdateConversation, IReferenceMessageBody, IRichContentMessageBody, ISearchMessageInTimeRangeOption, ISendBody, ISendFileMessageOptions, ISendImageMessageOptions, ISendMessageOptions, ISendSightMessageOptions, ISightMessageBody, ITextMessageBody, IThumbnailConfig, IUploadHooks, IUploadMessageOption, IUserInfo, IVoiceMessageBody, _default$a as ImageMessage, _default$2 as LocationMessage, MentionedInfo$1 as MentionedInfo, MentionedInfo as MentionedInfoBody, MessageConstructor, MessageType, _default$1 as ReferenceMessage, _default as RichContentMessage, SentStatus, _default$8 as SightMessage, _default$7 as TextMessage, _default$3 as VoiceMessage, __addSDKVersion, addConversationsToTag, addEventListener, addTag, addToBlacklist, bindRTCRoomForChatroom, clearAllMessagesUnreadStatus, clearEventListeners, clearHistoryMessages, clearMessages$1 as clearMessages, clearMessagesUnreadStatus, clearTextMessageDraft, clearUnreadCountByTimestamp, connect, deleteLocalMessagesByTimestamp, deleteMessages$1 as deleteMessages, 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, getRemoteHistoryMessages, getServerTime, getTags, getTagsFromConversation, getTextMessageDraft, getTopConversationList, getTotalUnreadCount, getUltraGroupDefaultNotificationLevel, getUltraGroupList, getUltraGroupMessageListByMessageUId, getUltraGroupUnreadCountByTargetId, getUltraGroupUnreadMentionedCountByTargetId, 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, sendHQVoiceMessage, sendImageMessage, sendMessage, sendReadReceiptMessage, sendReadReceiptRequest, sendReadReceiptResponse, sendReadReceiptResponseV2, sendSightMessage, sendSyncReadStatusMessage, sendTextMessage, sendTypingStatusMessage, sendUltraGroupTypingStatus, setChatRoomEntries, setChatRoomEntry, setConversationNotificationLevel, setConversationNotificationStatus, setConversationToTop, setConversationToTopInTag, setMessageReceivedStatus$1 as setMessageReceivedStatus, setUltraGroupDefaultNotificationLevel, updateExpansionForUltraGroupMessage, updateMessageExpansion, updateTag };