@rongcloud/imlib-next 5.10.3 → 5.12.0

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,5 +1,5 @@
1
- import { FileType, APIContext, LogLevel, EnableLogL, IRuntime, AreaCode, ConversationType, MessageDirection, ReceivedStatus, IReceivedStatusInfo, SentStatus, IReadReceiptResponseInfo, 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, ISubscribeUserStatusInfo, ISubscribeRelationInfo, SubscribeType, IUserProfileInfo, IBaseConversationInfo, IConversationState as IConversationState$1, IGetUltraGroupListOption, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadMentionedOption, IUltraGroupUnreadInfo, IChatroomJoinResponse, IChatroomInfo, IChatroomEntry, IChatroomEntries, IRemoveChatroomEntry, IRTCRoomBindOption, MentionedInfoBody, ICombineV2MessageContent, IMessageReadReceiptV4Response, IGroupReadReceiptData, IClearMessageOption, IMessageReaderResponse, IFirstUnreadMessageInfo, IReceivedMessage, IReceivedConversation, ITagParam, ITagInfo, IConversationTag, IUploadAuth, IDownloadAuth, UploadMethod, IInsertMessage, IGroupMessageDeliverInfo, IProxy, IPromiseResult, IResponse, UserProfileVisibility } 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, IClearMessageOption, ICombineV2MessageContent, ICombinedMessage, IConversationIdentifier, IConversationOption, IConversationTag, IDeletedExpansion, IDeliveredUser, IDownloadAuth, IEventListener, IExpansionListenerData, IFirstUnreadMessageInfo, IGetUltraGroupListOption, IGooglePushConfig, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IGroupReadReceiptData, IHarmonyOSPushConfig, IInsertMessage, IMessageDeliver, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPrivateReadReceiptData, IPromiseResult, IProxy, IPushConfig, IRTCRoomBindOption, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IResponse, ISubscribeRelationInfo, ISubscribeStatusDetail, ISubscribeUserStatusInfo, ISyncReadStatusData, ITagInfo, ITagParam, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraUnreadMsg, IUpdateItem, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IUserProfileInfo, IiOSPushConfig, InterruptionLevel, LogL, LogLevel, MentionedInfoBody, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, NotificationLevel, NotificationStatus, OnlineStatus, OperateStatus, PlatformInfo, PushImportanceHonor, RCConnectionStatus, ReceivedStatus, SentStatus, SubscribeOperationType, SubscribeType, UltraGroupChannelChangeType, UltraGroupChannelType, UploadMethod, UserProfileVisibility } from '@rongcloud/engine';
1
+ import { FileType, APIContext, LogLevel, EnableLogL, IRuntime, AreaCode, ConversationType, MessageDirection, ReceivedStatus, IReceivedStatusInfo, SentStatus, IReadReceiptResponseInfo, 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, ISubscribeUserStatusInfo, ISubscribeRelationInfo, SubscribeType, IUserProfileInfo, IGroupOperationInfo, IGroupInfoChanged, IGroupMemberInfoChanged, IGroupApplicationInfo, IGroupRemarkChangedSync, IGroupFollowsChangedSync, IFriendAdd, IFriendDelete, IFriendApplicationStatusChange, IFriendInfoChangedSync, IBaseConversationInfo, IConversationState as IConversationState$1, IGetUltraGroupListOption, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadMentionedOption, IUltraGroupUnreadInfo, IChatroomJoinResponse, IChatroomInfo, IChatroomEntry, IChatroomEntries, IRemoveChatroomEntry, IRTCRoomBindOption, MentionedInfoBody, ICombineV2MessageContent, IMessageReadReceiptV4Response, IGroupReadReceiptData, IClearMessageOption, IMessageReaderResponse, IFirstUnreadMessageInfo, IReceivedMessage, IReceivedConversation, ITagParam, ITagInfo, IConversationTag, IUploadAuth, IDownloadAuth, UploadMethod, IInsertMessage, IGroupMessageDeliverInfo, IProxy, IPromiseResult, IResponse, UserProfileVisibility, IGroupInfoOption, IProcessCode, IGroupInfo, IQuitGroupConfig, GroupMemberRole, IPagingQueryOption, IPagingQueryResult, IGroupMemberInfo, GroupApplicationDirection, GroupApplicationStatus, IFollowsInfo, DirectionType, IFriendRelationInfo, QueryFriendsDirectionType, IFriendInfo, FriendApplicationType, FriendApplicationStatus, IFriendApplicationInfo, FriendAddPermission } from '@rongcloud/engine';
2
+ export { AreaCode, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, ConnectionStatus, ConversationType, DirectionType, EnableLogL, ErrorCode, FileType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendRelationType, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupOperation, GroupOperationPermission, GroupOperationType, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IClearMessageOption, ICombineV2MessageContent, ICombinedMessage, IConversationIdentifier, IConversationOption, IConversationTag, IDeletedExpansion, IDeliveredUser, IDownloadAuth, IEventListener, IExpansionListenerData, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendRelationInfo, IGetUltraGroupListOption, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupMessageDeliverInfo, IGroupMessageDeliverStatus, IGroupMessageDeliveredStatusInfo, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHarmonyOSPushConfig, IInsertMessage, IMessageDeliver, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPrivateReadReceiptData, IProcessCode, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, IRTCRoomBindOption, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IResponse, ISubscribeRelationInfo, ISubscribeStatusDetail, ISubscribeUserStatusInfo, ISyncReadStatusData, ITagInfo, ITagParam, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraUnreadMsg, IUpdateItem, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IUserProfileInfo, IiOSPushConfig, InterruptionLevel, LogL, LogLevel, MentionedInfoBody, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, NotificationLevel, NotificationStatus, OnlineStatus, OperateStatus, PlatformInfo, PushImportanceHonor, QueryFriendsDirectionType, RCConnectionStatus, ReceivedStatus, SentStatus, SubscribeOperationType, SubscribeType, UltraGroupChannelChangeType, UltraGroupChannelType, UploadMethod, UserProfileVisibility } from '@rongcloud/engine';
3
3
 
4
4
  /**
5
5
  * 缩略图配置
@@ -629,7 +629,67 @@ declare enum Events {
629
629
  * 我的用户信息变更通知
630
630
  * @since 5.10.1
631
631
  */
632
- OWN_USER_PROFILE_CHANGED = "OWN_USER_PROFILE_CHANGED"
632
+ OWN_USER_PROFILE_CHANGED = "OWN_USER_PROFILE_CHANGED",
633
+ /**
634
+ * 群组操作通知
635
+ */
636
+ GROUP_OPERATION = "GROUP_OPERATION",
637
+ /**
638
+ * 群组资料变更通知
639
+ */
640
+ GROUP_INFO_CHANGED = "GROUP_INFO_CHANGED",
641
+ /**
642
+ * 群成员资料变更回调
643
+ */
644
+ GROUP_MEMBER_INFO_CHANGED = "GROUP_MEMBER_INFO_CHANGED",
645
+ /**
646
+ * 用户申请/邀请事件及结果回调
647
+ */
648
+ GROUP_APPLICATION_EVENT = "GROUP_APPLICATION_EVENT",
649
+ /**
650
+ * 群名称备注名更新多端同步回调事件
651
+ */
652
+ GROUP_REMARK_CHANGED_SYNC = "GROUP_REMARK_CHANGED_SYNC",
653
+ /**
654
+ * 群成员特别关注变更多端回调事件
655
+ */
656
+ GROUP_FOLLOWS_CHANGED_SYNC = "GROUP_FOLLOWS_CHANGED_SYNC",
657
+ /**
658
+ * 添加好友回调
659
+ */
660
+ FRIEND_ADDED = "FRIEND_ADDED",
661
+ /**
662
+ * 删除好友回调
663
+ */
664
+ FRIEND_DELETE = "FRIEND_DELETE",
665
+ /**
666
+ * 好友申请状态变更回调
667
+ * @since 5.12.0
668
+ */
669
+ FRIEND_APPLICATION_STATUS_CHANGED = "FRIEND_APPLICATION_STATUS_CHANGED",
670
+ /**
671
+ * 清空好友回调
672
+ */
673
+ FRIEND_CLEARED = "FRIEND_CLEARED",
674
+ /**
675
+ * 好友资料变更多端同步回调
676
+ */
677
+ FRIEND_INFO_CHANGED_SYNC = "FRIEND_INFO_CHANGED_SYNC",
678
+ /**
679
+ * 数据库将开始升级
680
+ * @since 5.10.3
681
+ */
682
+ DATABASE_UPGRADE_WILL_START = "DATABASE_UPGRADE_WILL_START",
683
+ /**
684
+ * 数据库升级中
685
+ * @since 5.10.3
686
+ */
687
+ DATABASE_UPGRADING = "DATABASE_UPGRADING",
688
+ /**
689
+ * 数据库升级完成
690
+ * @since 5.10.3
691
+ */
692
+ DATABASE_UPGRADE_DID_COMPLETE = "DATABASE_UPGRADE_DID_COMPLETE"
633
693
  }
634
694
  /**
635
695
  * 消息审核状态
@@ -1291,6 +1351,20 @@ declare type EventListeners = {
1291
1351
  [Events.SUBSCRIBED_RELATION_CHANGE]: (data: ISubscribeRelationInfo[]) => void;
1292
1352
  [Events.SYNC_SUBSCRIBED_USER_STATUS_FINISHED]: (type: SubscribeType) => void;
1293
1353
  [Events.OWN_USER_PROFILE_CHANGED]: (data: IUserProfileInfo) => void;
1354
+ [Events.GROUP_OPERATION]: (data: IGroupOperationInfo) => void;
1355
+ [Events.GROUP_INFO_CHANGED]: (data: IGroupInfoChanged) => void;
1356
+ [Events.GROUP_MEMBER_INFO_CHANGED]: (data: IGroupMemberInfoChanged) => void;
1357
+ [Events.GROUP_APPLICATION_EVENT]: (data: IGroupApplicationInfo) => void;
1358
+ [Events.GROUP_REMARK_CHANGED_SYNC]: (data: IGroupRemarkChangedSync) => void;
1359
+ [Events.GROUP_FOLLOWS_CHANGED_SYNC]: (data: IGroupFollowsChangedSync) => void;
1360
+ [Events.FRIEND_ADDED]: (data: IFriendAdd) => void;
1361
+ [Events.FRIEND_DELETE]: (data: IFriendDelete) => void;
1362
+ [Events.FRIEND_APPLICATION_STATUS_CHANGED]: (data: IFriendApplicationStatusChange) => void;
1363
+ [Events.FRIEND_CLEARED]: (data: number) => void;
1364
+ [Events.FRIEND_INFO_CHANGED_SYNC]: (data: IFriendInfoChangedSync) => void;
1365
+ [Events.DATABASE_UPGRADE_WILL_START]: () => void;
1366
+ [Events.DATABASE_UPGRADING]: (progress: number) => void;
1367
+ [Events.DATABASE_UPGRADE_DID_COMPLETE]: (code: ErrorCode) => void;
1294
1368
  };
1295
1369
 
1296
1370
  /**
@@ -3655,7 +3729,7 @@ declare function updateTag(tag: ITagParam): Promise<IAsyncRes<void>>;
3655
3729
  declare function getTags(): Promise<IAsyncRes<ITagInfo[] | undefined>>;
3656
3730
  /**
3657
3731
  * 获取会话下的标签
3658
- * @description 更具会话信息获取具体某个会话下的标签列表
3732
+ * @description 根据会话信息获取具体某个会话下的标签列表
3659
3733
  * @category 标签
3660
3734
  * @param conversation 会话信息,包含会话类型、会话 ID 和 channelId,类型为 {@link IConversationOption}
3661
3735
  * @returns 返回一个 {@link IAsyncRes} 类型 Promise,data 为标签列表,类型为 {@link IConversationTag} 数组或者 undefined
@@ -4735,4 +4809,396 @@ declare function getMyUserProfileVisibility(): Promise<IAsyncRes<UserProfileVisi
4735
4809
  */
4736
4810
  declare function searchUserProfileByUniqueId(uniqueId: string): Promise<IAsyncRes<IUserProfileInfo>>;
4737
4811
 
4738
- 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, IAuditInfo, 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, IUploadConfig, IUploadHooks, IUploadInfo, IUploadMessageOption, IUploadResult, IUserInfo, IVoiceMessageBody, _default$e as ImageMessage, _default$1 as InformationNotificationMessage, _default$5 as LocationMessage, MentionedInfo, MessageAuditType, MessageConstructor, MessageType, _default$4 as ReferenceMessage, _default$3 as RichContentMessage, _default$c as SightMessage, _default$b as TextMessage, UploadTask, _default$6 as VoiceMessage, __addSDKVersion, addConversationsToTag, addEventListener, addTag, addToBlacklist, batchClearRemoteHistoryMessages, batchGetMessageReadReceiptInfoV4, batchRemoveConversation, batchSetConversationNotificationLevel, batchSetConversationToTop, 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, getConversationTypeNotificationLevel, getConversationsFromTagByPage, getCurrentUserId, getDeviceId, getDownloadAuth, getFileToken, getFileUrl, getFirstUnreadMessage, getFirstUnreadMessageInfo, getHistoryMessages, getMessage, getMessageReadReceiptV4, getMessageReader, getMyUserProfile, getMyUserProfileVisibility, getProxy, getRemoteHistoryMessages, getServerTime, getSubscribeUserList, getSubscribeUserStatus, getTags, getTagsFromConversation, getTextMessageDraft, getTopConversationList, getTotalUnreadCount, getTotalUnreadCountByLevels, getTotalUnreadMentionedCountByLevels, getUltraGroupDefaultNotificationLevel, getUltraGroupFirstUnreadMessageTimestamp, getUltraGroupList, getUltraGroupMessageListByMessageUId, getUltraGroupUnreadCountByTargetId, getUltraGroupUnreadInfoList, getUltraGroupUnreadMentionedCountByTargetId, getUltraGroupUnreadMentionedMessages, getUnreadConversationList, getUnreadCount, getUnreadCountByTag, getUnreadMentionedCount, getUnreadMentionedMessages, getUserProfiles, 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, searchUserProfileByUniqueId, sendFileMessage, sendGIFMessage, sendHQVoiceMessage, sendImageMessage, sendMessage, sendReadReceiptMessage, sendReadReceiptMessageV4, sendReadReceiptRequest, sendReadReceiptResponse, sendReadReceiptResponseV2, sendSightMessage, sendSyncReadStatusMessage, sendTextMessage, sendTypingStatusMessage, sendUltraGroupTypingStatus, setChatRoomEntries, setChatRoomEntry, setConversationNotificationLevel, setConversationNotificationStatus, setConversationToTop, setConversationToTopInTag, setConversationTypeNotificationLevel, setMessageReceivedStatus$1 as setMessageReceivedStatus, setProxy, setUltraGroupDefaultNotificationLevel, stopUploadTask, subscribeUserStatus, testProxy, unSubscribeUserStatus, updateExpansionForUltraGroupMessage, updateMessageExpansion, updateMyUserProfile, updateMyUserProfileVisibility, updateTag, upload };
4812
+ /**
4813
+ * 创建群组
4814
+ * @description 客户端创建群组需要开通 `信息托管功能` 和 `允许通过 SDK 创建、设置群组资料及权限` 服务,未开通时不支持此功能
4815
+ * 创建群组 <br>
4816
+ * <strong>注意:<br>
4817
+ * 群ID(id)、群名称(name)必填,否则接口调用失败。
4818
+ * @param groupInfo 群信息。{$link IGroupInfoOption}
4819
+ * @param inviteeUserIds 加入群组的用户 ID 数组,一次最多允许 100 个用户加入。(非必填)
4820
+ * @category 群组
4821
+ * @since 5.12.0
4822
+ */
4823
+ declare function createGroup(groupInfo: IGroupInfoOption, inviteeUserIds?: string[]): Promise<IAsyncRes<IProcessCode>>;
4824
+ /**
4825
+ * 设置群资料
4826
+ * @description 客户端创建群组需要开通 `信息托管功能` 和 `允许通过 SDK 创建、设置群组资料及权限` 服务,未开通时不支持此功能
4827
+ * @param groupInfo {@link IGroupInfoOption} 设置群资料配置
4828
+ * @category 群组
4829
+ * @since 5.12.0
4830
+ */
4831
+ declare function updateGroupInfo(groupInfo: IGroupInfoOption): Promise<IAsyncRes<void>>;
4832
+ /**
4833
+ * 批量获取群组信息
4834
+ * @description 客户端创建群组需要开通 `信息托管功能`,未开通时不支持此功能,支持获取已存在的所有群组信息
4835
+ * @param groupIds 群 ID 数组,单次查询最多支持 20 个群组。
4836
+ * @returns 返回一个 {@link IAsyncRes} 类型 Promise,data 为 {@link IGroupInfoOption} 类型
4837
+ * @category 群组
4838
+ * @since 5.12.0
4839
+ */
4840
+ declare function getGroupsInfo(groupIds: string[]): Promise<IAsyncRes<IGroupInfo[]>>;
4841
+ /**
4842
+ * 踢出群组成员
4843
+ * @description 需要开启`信息托管功能` 和 `允许通过 SDK 踢出群成员 ` 功能,否则不支持此功能
4844
+ * @param groupId 群组Id。
4845
+ * @param userIds 群成员Id数组。支持批量操作,单次上限为 100 个。
4846
+ * @param config 踢出群组配置。参照{@link IQuitGroupConfig}
4847
+ * @category 群组
4848
+ * @since 5.12.0
4849
+ */
4850
+ declare function kickGroupMembers(groupId: string, userIds: string[], config?: IQuitGroupConfig): Promise<IAsyncRes<void>>;
4851
+ /**
4852
+ * 退出群组
4853
+ * @description 客户端创建群组需要开通 `信息托管功能`,未开通时不支持此功能,用户退出后,群会话信息仍然保留,但不再能接收此群的消息,本地历史消息不做删除处理。
4854
+ * @param groupId 群组 ID
4855
+ * @param config 退出群组配置。参照{@link IQuitGroupConfig}
4856
+ * - 是否移除群成员禁言状态:默认为移除
4857
+ * - 是否移除群成员白名单:默认为移除
4858
+ * - 是否移除特别关注群成员:默认为移除
4859
+ * @category 群组
4860
+ * @since 5.12.0
4861
+ */
4862
+ declare function quitGroup(groupId: string, config?: IQuitGroupConfig): Promise<IAsyncRes<void>>;
4863
+ /**
4864
+ * 解散群组
4865
+ * @description 客户端创建群组需要开通 `信息托管功能`,未开通时不支持此功能,只有群主,可以解散自已创建的群组,解散后群会话信息仍然保留,本地历史消息不做删除处理。
4866
+ * @param groupId 群组 ID
4867
+ * @category 群组
4868
+ * @since 5.12.0
4869
+ */
4870
+ declare function dismissGroup(groupId: string): Promise<IAsyncRes<void>>;
4871
+ /**
4872
+ * 转让群组
4873
+ * @description 需要开启`信息托管功能` 和 `允许通过 SDK 转让群组 ` 功能,否则不支持此功能
4874
+ * @param groupId 群组Id。
4875
+ * @param newOwnerId 转让后的群主用户ID
4876
+ * @param quitGroup 转让后是否退出群组
4877
+ * @param config 踢出群组配置。注意:只有在转让后退出群组状态下此功能才生效。
4878
+ * 该配置参数仅在 quitGroup 为 true 时生效,参照{@link IQuitGroupConfig}
4879
+ * @category 群组
4880
+ * @since 5.12.0
4881
+ */
4882
+ declare function transferGroupOwner(groupId: string, newOwnerId: string, quitGroup?: boolean, config?: IQuitGroupConfig): Promise<IAsyncRes<void>>;
4883
+ /**
4884
+ * 设置群管理员
4885
+ * @description 需要开启`信息托管功能` 和 `允许通过 SDK 操作群管理员 ` 功能,否则不支持此功能
4886
+ * - 注意:只有群主可以设置群管理员,一个群最多可以设置 10 个管理员。
4887
+ * @param groupId 群组 ID
4888
+ * @param userIds 用户 ID 数组, 注意:用户 ID 必须为群成员,一次最多添加 10 个管理员。
4889
+ * @category 群组
4890
+ * @since 5.12.0
4891
+ */
4892
+ declare function addGroupManagers(groupId: string, userIds: string[]): Promise<IAsyncRes<void>>;
4893
+ /**
4894
+ * 移除群管理员
4895
+ * @description 需要开启`信息托管功能` 和 `允许通过 SDK 操作群管理员 ` 功能,否则不支持此功能
4896
+ * @param groupId 群组 ID
4897
+ * @param userIds 用户 ID 数组, 注意:用户 ID 必须为群成员,一次最多操作 10 个管理员。
4898
+ * @category 群组
4899
+ * @since 5.12.0
4900
+ */
4901
+ declare function removeGroupManagers(groupId: string, userIds: string[]): Promise<IAsyncRes<void>>;
4902
+ /**
4903
+ * 分页获取群成员信息
4904
+ * @description 需要开启`信息托管功能` 功能,否则不支持此功能
4905
+ * @param groupId 群组Id。
4906
+ * @param role 群成员角色数组。参照{@link GroupMemberRole} 0:不区分角色或位置角色获取所有群成员
4907
+ * @param option 分页拉取参数。参照{@link IPagingQueryOption}, 一页最多查询 100 条数据
4908
+ * @returns 返回一个 {@link IAsyncRes} 类型 Promise,data 为包含群成员总数和群成员信息,群成员信息为 {@link IGroupMemberInfo} 类型
4909
+ * @category 群组
4910
+ * @since 5.12.0
4911
+ */
4912
+ declare function getGroupMembersByRole(groupId: string, role: GroupMemberRole, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
4913
+ /**
4914
+ * 获取已加入指定群成员信息
4915
+ * @description 需要开启`信息托管功能` 功能,否则不支持此功能
4916
+ * - 注意:当前用户未在群组中不支持获取群成员信息
4917
+ * @param groupId 群组 ID
4918
+ * @param userIds 用户 ID 数组,最多不超过 100 个
4919
+ * @returns 返回一个 {@link IAsyncRes} 类型 Promise,data 为 {@link IGroupMemberInfo} 类型
4920
+ * @category 群组
4921
+ * @since 5.12.0
4922
+ */
4923
+ declare function getGroupMembers(groupId: string, userIds: string[]): Promise<IAsyncRes<IGroupMemberInfo[]>>;
4924
+ /**
4925
+ * 设置群成员资料
4926
+ * @description 需要开启`信息托管功能` 功能,否则不支持此功能
4927
+ * @param groupId 群组Id。
4928
+ * @param userId 群成员用户Id。
4929
+ * @param nickname 群成员昵称。长度不超过 64 个字符, nickname 不可为纯空格
4930
+ * @param extra 群成员附加信息。长度不超过 128 个字符
4931
+ * @category 群组
4932
+ * @since 5.12.0
4933
+ */
4934
+ declare function setGroupMemberInfo(groupId: string, userId: string, nickname: string, extra?: string): Promise<IAsyncRes<void>>;
4935
+ /**
4936
+ * 根据昵称搜索群成员信息
4937
+ * @description 需要开启`信息托管功能` 功能,否则不支持此功能,Web 平台暂不支持
4938
+ * - 注意:当前用户未在群组中不支持获取群成员信息
4939
+ * @param groupId 群组Id。
4940
+ * @param name 群成员昵称搜索关键字。注意:不能为空最长不超过 64 个字符;支持模糊搜索查询;昵称为空时,默认搜索用户名。搜索字段不可以传递纯空格。
4941
+ * @param option 分页拉取参数。参照{@link IPagingQueryOption},一页最多查询 200 条数据
4942
+ * @returns 返回一个 {@link IAsyncRes} 类型 Promise,data 为 {@link IGroupMemberInfo} 类型
4943
+ * @category 群组
4944
+ * @since 5.12.0
4945
+ */
4946
+ declare function searchGroupMembers(groupId: string, name: string, option: IPagingQueryOption): Promise<IAsyncRes<IGroupMemberInfo[]>>;
4947
+ /**
4948
+ * 加入群组
4949
+ * @description 客户端创建群组需要开通 `信息托管功能` 和 `允许通过 SDK 主动加入群组`,未开通时不支持此功能
4950
+ *
4951
+ * - 注意:群组加入权限不同,加入群组方式也不同:
4952
+ * - 不用验证:直接加入群组。
4953
+ - 群主验证(默认):向该群组中的群主发送状态通知,群主同意后加入群组,未同意情况下可多次发送请求。
4954
+ - 申请加入群组系统消息中,包含申请加入群组信息,用户可选择添加。
4955
+ - 群管理员及群主:向该群组中的所有管理员和群主发送一条群系统消息申请加入群组,群管理员或群主同意后加入群组,未同意情况下可多次发送请求。
4956
+ - 申请加入群组系统消息中,包含申请加入群组信息,用户可选择添加。
4957
+ - 不允许任何人加入:无法加入群组,返回状态提示。
4958
+ * @param groupId 群组 ID
4959
+ * @category 群组
4960
+ * @since 5.12.0
4961
+ */
4962
+ declare function joinGroup(groupId: string): Promise<IAsyncRes<IProcessCode>>;
4963
+ /**
4964
+ * 邀请用户加入群组
4965
+ * @description 客户端创建群组需要开通 `信息托管功能`,未开通时不支持此功能,通过邀请方式将用户加入群组,不需要群主或管理员同意,可直接加入群组
4966
+ * @param groupId 群组 ID
4967
+ * @param userId 用户 ID,最多支持 30 个用户
4968
+ * @category 群组
4969
+ * @since 5.12.0
4970
+ */
4971
+ declare function inviteUsersToGroup(groupId: string, userIds: string[]): Promise<IAsyncRes<IProcessCode>>;
4972
+ /**
4973
+ * 用户同意加入群组
4974
+ * @description 客户端创建群组需要开通 `信息托管功能`,未开通时不支持此功能
4975
+ * @param groupId 群组 ID
4976
+ * @param inviterId 发出邀请的用户 ID
4977
+ * @category 群组
4978
+ * @since 5.12.0
4979
+ */
4980
+ declare function acceptGroupInvite(groupId: string, inviterId: string): Promise<IAsyncRes<void>>;
4981
+ /**
4982
+ * 用户拒绝加入群组
4983
+ * @description 客户端创建群组需要开通 `信息托管功能`,未开通时不支持此功能
4984
+ * @param groupId 群组 ID
4985
+ * @param userId 发出邀请的用户 ID
4986
+ * @param reason 备注内容,拒绝时可选择是否输入拒绝原因,内容不超过 128 个字符。
4987
+ * @category 群组
4988
+ * @since 5.12.0
4989
+ */
4990
+ declare function refuseGroupInvite(groupId: string, inviterId: string, reason?: string): Promise<IAsyncRes<void>>;
4991
+ /**
4992
+ * 群主或管理员同意用户加入群组
4993
+ * @description 客户端创建群组需要开通 `信息托管功能`,未开通时不支持此功能,群主或群管理员收到用户加入群组申请后,同意用户加入群组。
4994
+ * @param groupId 群组 ID
4995
+ * @param inviterId 邀请人 ID。非必填,如果是邀请入群,则传邀请人ID;如果是主动加群,可以为空。
4996
+ * @param applicantId 申请入群用户 ID
4997
+ * @category 群组
4998
+ * @since 5.12.0
4999
+ */
5000
+ declare function acceptGroupApplication(groupId: string, applicantId: string, inviterId?: string): Promise<IAsyncRes<IProcessCode>>;
5001
+ /**
5002
+ * 群主或管理员拒绝用户加入群组
5003
+ * @description 客户端创建群组需要开通 `信息托管功能`,未开通时不支持此功能,群主或群管理员收到用户加入群组申请后,拒绝用户加入群组。
5004
+ * @param groupId 群组 ID
5005
+ * @param inviterId 邀请人 ID。非必填,如果是邀请入群,则传邀请人ID;如果是主动加群,可以为空。
5006
+ * @param applicantId 申请入群用户 ID
5007
+ * @param reason 备注内容,拒绝时可选择是否输入拒绝原因,内容不超过 128 个字符。
5008
+ * @category 群组
5009
+ * @since 5.12.0
5010
+ */
5011
+ declare function refuseGroupApplication(groupId: string, applicantId: string, inviterId?: string, reason?: string): Promise<IAsyncRes<void>>;
5012
+ /**
5013
+ * 获取群组请求
5014
+ * @description 客户端创建群组需要开通 `信息托管功能`,未开通时不支持此功能。管理员查看同自已相关的群组操作请求<br>
5015
+ * 包括:用户申请加入群组、被邀请用户拒绝加入群组、邀请用户加入指定群组。
5016
+ * @param option 分页拉取参数。参照{@link IPagingQueryOption},一页最多查询 200 条数据
5017
+ * @param status 群组请求状态数组,参数仅 Electron 支持,且 Electron 为必填项,Web 传递无效
5018
+ * @param directions 群组请求方向数组,参照{@link GroupApplicationDirection},参数仅 Electron 支持,且 Electron 为必填项,Web 传递无效
5019
+ * @returns 返回一个 {@link IAsyncRes} 类型 Promise,data 中包含 {@link IGroupApplicationInfo} 类型数组
5020
+ * @category 群组
5021
+ * @since 5.12.0
5022
+ */
5023
+ declare function getGroupApplications(option: IPagingQueryOption, directions?: GroupApplicationDirection[], status?: GroupApplicationStatus[]): Promise<IAsyncRes<IPagingQueryResult<IGroupApplicationInfo>>>;
5024
+ /**
5025
+ * 获取用户所在的群组
5026
+ * @description 客户端创建群组需要开通 `信息托管功能`,未开通时不支持此功能
5027
+ * @param roles 群组身份数组。
5028
+ * @param option 分页拉取参数 {@link IPagingQueryOption},一页最多查询 100 条数据
5029
+ * @returns 返回一个 {@link IAsyncRes} 类型 Promise,data 为 {@link IGroupInfoOption} 类型数组
5030
+ * @category 群组
5031
+ * @since 5.12.0
5032
+ */
5033
+ declare function getJoinedGroupsByRole(option: IPagingQueryOption, role: GroupMemberRole): Promise<IAsyncRes<IPagingQueryResult<IGroupInfo>>>;
5034
+ /**
5035
+ * 按群名称搜索我加入的群组
5036
+ * @description 客户端创建群组需要开通 `信息托管功能`,未开通时不支持此功能, Web 平台暂不支持
5037
+ * @param groupName 群名称搜索关键字。不能为空最长不超过 64 个字符,支持模糊搜索查询时需要去掉前后空格。
5038
+ * @param option 分页拉取参数。参照{@link IPagingQueryOption},一页最多查询 200 条数据
5039
+ * @returns 返回一个 {@link IAsyncRes} 类型 Promise,data 为 {@link void} 类型
5040
+ * @category 群组
5041
+ * @since 5.12.0
5042
+ */
5043
+ declare function searchJoinedGroups(groupName: string, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupInfo>>>;
5044
+ /**
5045
+ * 批量获取群组信息
5046
+ * @description 客户端创建群组需要开通 `信息托管功能`,未开通时不支持此功能,支持获取已存在的所有群组信息
5047
+ * @param groupIds 群组 ID 数组,一次最多查询 20 个群组
5048
+ * @category 群组
5049
+ * @since 5.12.0
5050
+ */
5051
+ declare function getJoinedGroups(groupIds: string[]): Promise<IAsyncRes<IGroupInfo[]>>;
5052
+ /**
5053
+ * 设置群组名称
5054
+ * @description 客户端创建群组需要开通 `信息托管功能`,未开通时不支持此功能
5055
+ * @param groupId 群组 ID
5056
+ * @param remark 备注名,设置为 '' 代表移除。字符串长度不超过 64 个字符,如群备注名已存在则做替换处理,以最后一次设置为准。
5057
+ * @category 群组
5058
+ * @since 5.12.0
5059
+ */
5060
+ declare function setGroupRemark(groupId: string, remark: string): Promise<IAsyncRes<void>>;
5061
+ /**
5062
+ * 设置群组成员关注
5063
+ * @param groupId 群组 ID
5064
+ * @param userIds 用户 ID 数组,单次最多关注 100 个用户
5065
+ * @category 群组
5066
+ * @since 5.12.0
5067
+ */
5068
+ declare function addGroupFollows(groupId: string, userIds: string[]): Promise<IAsyncRes<void>>;
5069
+ /**
5070
+ * 移除群组成员关注
5071
+ * @param groupId 群组 ID
5072
+ * @param userIds 用户 ID 数组,单次取消关注 100 个用户
5073
+ * @category 群组
5074
+ * @since 5.12.0
5075
+ */
5076
+ declare function removeGroupFollows(groupId: string, userIds: string[]): Promise<IAsyncRes<void>>;
5077
+ /**
5078
+ * 获取群组成员关注
5079
+ * @param groupId 群组 Id,只支持普通群。
5080
+ * @category 群组
5081
+ * @since 5.12.0
5082
+ */
5083
+ declare function getGroupFollows(groupId: string): Promise<IAsyncRes<IFollowsInfo[]>>;
5084
+
5085
+ /**
5086
+ * 添加好友
5087
+ * @param userId 准备添加为好友的用户 ID
5088
+ * @param type 添加的好友类型:单向好友、双向好友。
5089
+ * @param extra 附加信息。非必填项,发送好友请求时的附加信息,长度不超过 128 个字符。
5090
+ * @category 好友
5091
+ * @since 5.12.0
5092
+ */
5093
+ declare function addFriend(userId: string, directionType: DirectionType, extra?: string): Promise<IAsyncRes<IProcessCode>>;
5094
+ /**
5095
+ * 解除好友
5096
+ * @param userIds 需要解除好友关系的用户 ID列表,一次最多解除 100 个用户
5097
+ * @param type 删除的好友类型:单向好友、双向好友
5098
+ * @description 注意:单向好友删除:只在操作用户的好友列表中删除好友;双向好友删除:同时在两方的好友列表中删除好友
5099
+ * @category 好友
5100
+ * @since 5.12.0
5101
+ */
5102
+ declare function deleteFriends(userIds: string[], directionType: DirectionType): Promise<IAsyncRes<void>>;
5103
+ /**
5104
+ * 同意加为好友
5105
+ * @param userId 同意成为好友的用户ID
5106
+ * @category 好友
5107
+ * @since 5.12.0
5108
+ */
5109
+ declare function acceptFriendApplication(userId: string): Promise<IAsyncRes<void>>;
5110
+ /**
5111
+ * 拒绝加为好友
5112
+ * @param userId 拒绝成为好友的用户ID
5113
+ // * @param reason 拒绝原因。非必填项,长度不超过 128 个字符。
5114
+ * @category 好友
5115
+ * @since 5.12.0
5116
+ */
5117
+ declare function refuseFriendApplication(userId: string): Promise<IAsyncRes<void>>;
5118
+ /**
5119
+ * 设置好友信息
5120
+ * @param userId 好友的用户ID
5121
+ * @param remark 好友备注名。最多为 64 个字符
5122
+ * @param extProfile 扩展信息。默认最多可设置 10 个扩展信息。(需要通过开发者后台 API 设置后才能使用,否则返回设置失败)
5123
+ * @category 好友
5124
+ * @since 5.12.0
5125
+ */
5126
+ declare function setFriendInfo(userId: string, remark?: string, extProfile?: {
5127
+ [key: string]: string;
5128
+ }): Promise<IAsyncRes<void>>;
5129
+ /**
5130
+ * 检查好友关系
5131
+ *
5132
+ * 注意:
5133
+ * 单向检查:只检查用户 ID 的好友列表中,是否包含目标用户。
5134
+ *
5135
+ * 返回好友关系类型:
5136
+ * 1,不在我的好友列表中;
5137
+ * 2,在我的好友列表中。
5138
+ *
5139
+ * 双向检查:对双方的好友列表都进行检查。
5140
+ *
5141
+ * 返回好友关系类型:
5142
+ * 1,在双方的好友列表中;
5143
+ * 2,不在双方的好友列表中;
5144
+ * 3,仅在当前用户的好友列表中;
5145
+ * 4,仅在目标用户的好友列表中。
5146
+ *
5147
+ * @param userIds 好友关系的用户 ID列表,一次最多检查 20 个用户
5148
+ * @param directionType 检查的好友类型:单向好友、双向好友。
5149
+ * @category 好友
5150
+ * @since 5.12.0
5151
+ */
5152
+ declare function checkFriends(userIds: string[], directionType: DirectionType): Promise<IAsyncRes<IFriendRelationInfo[]>>;
5153
+ /**
5154
+ * 获取好友列表
5155
+ * @description count 和 pageToken 仅 web 有效,web 不传递 count 和 pageToken 默认查询第一页
5156
+ *
5157
+ * @param directionTypes 好友方向类型:单向好友、双向好友。参照 {@link QueryFriendsDirectionType}
5158
+ * @param option 分页拉取参数,参照 {@link IPagingQueryOption}, 仅 web 有效,Count 默认 50, 一页最多查询 100 条数据,
5159
+ * @category 好友
5160
+ * @since 5.12.0
5161
+ */
5162
+ declare function getFriends(directionType: QueryFriendsDirectionType, option?: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IFriendInfo>>>;
5163
+ /**
5164
+ * 分页获取好友请求列表
5165
+ *
5166
+ * @param types 请求类型。可选择多个。参照 {@link FriendApplicationType}
5167
+ * @param option 分页拉取参数,参照 {@link IPagingQueryOption}, 一页最多查询 100 条数据,
5168
+ * @param status 请求状态。可选择多个,支持申请添加好友、已同意、已拒绝、已过期。此字段仅在 Electron 平台支持,参照 {@link FriendApplicationStatus}
5169
+ * @category 好友
5170
+ * @since 5.12.0
5171
+ */
5172
+ declare function getFriendApplications(option?: IPagingQueryOption, types?: FriendApplicationType[], status?: FriendApplicationStatus[]): Promise<IAsyncRes<IPagingQueryResult<IFriendApplicationInfo>>>;
5173
+ /**
5174
+ * 根据用户ID获取好友信息
5175
+ *
5176
+ * @param userIds 用户 ID列表,一次最多获取 100 个好友信息
5177
+ * @category 好友
5178
+ * @since 5.12.0
5179
+ */
5180
+ declare function getFriendsInfo(userIds: string[]): Promise<IAsyncRes<IFriendInfo[]>>;
5181
+ /**
5182
+ * 根据好友昵称搜索好友信息
5183
+ * 此接口仅 Electron 平台支持
5184
+ * @param name 用户昵称关键字,不能为空最长不超过 64 个字符。
5185
+ * @category 好友
5186
+ * @since 5.12.0
5187
+ */
5188
+ declare function searchFriendsInfo(name: string): Promise<IAsyncRes<IFriendInfo[]>>;
5189
+ /**
5190
+ * 设置当前用户的加好友权限
5191
+ *
5192
+ * @param permission 加好友权限。参照{@link IAddFriendPermission}
5193
+ * @category 好友
5194
+ * @since 5.12.0
5195
+ */
5196
+ declare function setFriendAddPermission(permission: FriendAddPermission): Promise<IAsyncRes<void>>;
5197
+ /**
5198
+ * 获取当前用户的加好友权限
5199
+ * @category 好友
5200
+ * @since 5.12.0
5201
+ */
5202
+ declare function getFriendAddPermission(): Promise<IAsyncRes<FriendAddPermission>>;
5203
+
5204
+ 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, IAuditInfo, 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, IUploadConfig, IUploadHooks, IUploadInfo, IUploadMessageOption, IUploadResult, IUserInfo, IVoiceMessageBody, _default$e as ImageMessage, _default$1 as InformationNotificationMessage, _default$5 as LocationMessage, MentionedInfo, MessageAuditType, MessageConstructor, MessageType, _default$4 as ReferenceMessage, _default$3 as RichContentMessage, _default$c as SightMessage, _default$b as TextMessage, UploadTask, _default$6 as VoiceMessage, __addSDKVersion, acceptFriendApplication, acceptGroupApplication, acceptGroupInvite, addConversationsToTag, addEventListener, addFriend, addGroupFollows, addGroupManagers, addTag, addToBlacklist, batchClearRemoteHistoryMessages, batchGetMessageReadReceiptInfoV4, batchRemoveConversation, batchSetConversationNotificationLevel, batchSetConversationToTop, bindRTCRoomForChatroom, checkFriends, clearAllMessagesUnreadStatus, clearEventListeners, clearHistoryMessages, clearMessages$1 as clearMessages, clearMessagesUnreadStatus, clearTextMessageDraft, clearUnreadCountByTimestamp, connect, createGroup, createUploadTask, deleteFriends, deleteLocalMessagesByTimestamp, deleteMessages$1 as deleteMessages, destroy, disconnect, dismissGroup, 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, getConversationTypeNotificationLevel, getConversationsFromTagByPage, getCurrentUserId, getDeviceId, getDownloadAuth, getFileToken, getFileUrl, getFirstUnreadMessage, getFirstUnreadMessageInfo, getFriendAddPermission, getFriendApplications, getFriends, getFriendsInfo, getGroupApplications, getGroupFollows, getGroupMembers, getGroupMembersByRole, getGroupsInfo, getHistoryMessages, getJoinedGroups, getJoinedGroupsByRole, getMessage, getMessageReadReceiptV4, getMessageReader, getMyUserProfile, getMyUserProfileVisibility, getProxy, getRemoteHistoryMessages, getServerTime, getSubscribeUserList, getSubscribeUserStatus, getTags, getTagsFromConversation, getTextMessageDraft, getTopConversationList, getTotalUnreadCount, getTotalUnreadCountByLevels, getTotalUnreadMentionedCountByLevels, getUltraGroupDefaultNotificationLevel, getUltraGroupFirstUnreadMessageTimestamp, getUltraGroupList, getUltraGroupMessageListByMessageUId, getUltraGroupUnreadCountByTargetId, getUltraGroupUnreadInfoList, getUltraGroupUnreadMentionedCountByTargetId, getUltraGroupUnreadMentionedMessages, getUnreadConversationList, getUnreadCount, getUnreadCountByTag, getUnreadMentionedCount, getUnreadMentionedMessages, getUserProfiles, init, insertMessage$1 as insertMessage, installPlugin, inviteUsersToGroup, joinChatRoom, joinExistChatRoom, joinGroup, kickGroupMembers, modifyMessage, onceEventListener, quitChatRoom, quitGroup, recallMessage, refuseFriendApplication, refuseGroupApplication, refuseGroupInvite, registerMessageType, removeAllExpansionForUltraGroupMessage, removeChatRoomEntries, removeChatRoomEntry, removeConversation, removeConversationsFromTag, removeEventListener, removeEventListeners, removeExpansionForUltraGroupMessage, removeFromBlacklist, removeGroupFollows, removeGroupManagers, removeMessageExpansionForKey, removeTag, removeTagFromConversations, removeTagsFromConversation, saveTextMessageDraft, searchConversationByContent$1 as searchConversationByContent, searchFriendsInfo, searchGroupMembers, searchJoinedGroups, searchMessages$1 as searchMessages, searchUserProfileByUniqueId, sendFileMessage, sendGIFMessage, sendHQVoiceMessage, sendImageMessage, sendMessage, sendReadReceiptMessage, sendReadReceiptMessageV4, sendReadReceiptRequest, sendReadReceiptResponse, sendReadReceiptResponseV2, sendSightMessage, sendSyncReadStatusMessage, sendTextMessage, sendTypingStatusMessage, sendUltraGroupTypingStatus, setChatRoomEntries, setChatRoomEntry, setConversationNotificationLevel, setConversationNotificationStatus, setConversationToTop, setConversationToTopInTag, setConversationTypeNotificationLevel, setFriendAddPermission, setFriendInfo, setGroupMemberInfo, setGroupRemark, setMessageReceivedStatus$1 as setMessageReceivedStatus, setProxy, setUltraGroupDefaultNotificationLevel, stopUploadTask, subscribeUserStatus, testProxy, transferGroupOwner, unSubscribeUserStatus, updateExpansionForUltraGroupMessage, updateGroupInfo, updateMessageExpansion, updateMyUserProfile, updateMyUserProfileVisibility, updateTag, upload };