@rongcloud/imlib-next 5.30.0-c-tmp-alpha.2 → 5.30.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.cjs +1 -1
- package/index.cjs.js +1 -1
- package/index.d.ts +4 -28
- package/index.esm.js +2 -2
- package/index.mjs +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FileType, APIContext, IAsyncRes, IPluginGenerator, MessageTypeDescription, LogLevel, EnableLogL, AreaCode, LogDBProxy, IReceivedMessage, IGetHistoryMessageOption, IReceivedConversation, IPushConfig, IAuditInfoKeyInMessage, IRecallMsgOptions, IConversationOption, ITypingMessage, IUpdateItem, ErrorCode, IChatroomListenerData, IExpansionListenerData, IUserSettingsChangedEvent, IBlockedMessageInfo, IOperateStatusNotify, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUserGroupStatusInfo, IReadReceiptData, ISyncReadStatusData, ISubscribeUserStatusInfo, ISubscribeRelationInfo, SubscribeType, IUserProfileInfo, IGroupOperationInfo, IGroupInfoChanged, IGroupMemberInfoChanged, IGroupApplicationInfo, IGroupRemarkChangedSync, IGroupFollowsChangedSync, IFriendAdd, IFriendDelete, IFriendApplicationStatusChange, IFriendInfoChangedSync, IStreamMessageResponseEventData as IStreamMessageResponseEventData$1, ReadReceiptResponseV5, ISpeechToTextResponse, TranslateItem, IGetUltraGroupListOption, RCResult, IUltraGroupConversation, NotificationLevel, IUltraGroupOption, IUltraGroupUnreadMentionedOption, IUltraUnreadMsg, IUltraGroupUnreadInfo, ICombineMessageContent, ICombineV2MessageContent, ICommandMessageContent, IFileMessageContent, IGIFMessageContent, IGroupNotificationMessageContent, IImageMessageContent, IInformationNotificationMessageContent, ILocationMessageContent, IReferenceMessageContent, IRichContentMessageContent, ISightMessageContent, IStreamMessageContent, ITextMessageContent, IHQVoiceMessageContent, IVoiceMessageContent, IUserExtraKeyInMessage, IExtraDataKeyInMessage, IMentionedInfoKeyInMessage, IMessageReadReceiptV4Response, IGroupReadReceiptData, MessageDirection, IClearMessageOption, IMessageReaderResponse, IFirstUnreadMessageInfo, ConversationType, ReadReceiptInfoV5, IMessageIdentifier, ReadReceiptUsersOption, ReadReceiptUsersResult, IConvertSpeechToTextOption, TranslateMessagesParams, TranslateTextsParams, IModifyMessageParams, ITagParam, ITagInfo, IConversationTag, IUploadAuth, IDownloadAuth, UploadMethod, IConversationIdentifier, IEditedMessageDraft, IGetHistoryMessagesByTypesOption, ReceivedStatus, IReceivedStatusInfo, SentStatus, IInsertMessage, ISearchMessageParams, IProxy, IPromiseResult, IResponse, IUpdateMyProfileFail, UserProfileVisibility, ISubscribeUserOnlineStatus, IGroupInfoOption, ICreateGroupFail, IErrorKeys, IGroupInfo, IQuitGroupConfig, GroupMemberRole, IPagingQueryOption, IPagingQueryResult, IGroupMemberInfo, IProcessCode, GroupApplicationDirection, GroupApplicationStatus, IFollowsInfo, DirectionType, IFriendRelationInfo, QueryFriendsDirectionType, IFriendInfo, FriendApplicationType, FriendApplicationStatus, IFriendApplicationInfo, FriendAddPermission, RCConnectionStatus, AppSettings, INotificationQuietHoursSetting, IGetConversationListByTimestampParams, ConversationBatchDeletionParams, TranslateStrategy, NotificationStatus, IConversationUnreadCount, IGetUnreadMentionMeConversationListParams, IChatroomJoinResponse, IChatroomInfo, IChatroomEntry, IChatroomEntries, IRemoveChatroomEntry, IRTCRoomBindOption, MentionedInfo } from '@rongcloud/engine';
|
|
2
|
-
export { AppSettings, AreaCode, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, ConnectionStatus, ConversationBatchDeletionParams, ConversationType, DirectionType, EnableLogL, ErrorCode, FileType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendRelationType, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupOperation, GroupOperationPermission, GroupOperationType, GroupReadReceiptVersion, IAndroidPushConfig, IAsyncRes, IAuditInfoKeyInMessage, IAuditInfoValueInMessage, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IClearMessageOption, ICombineMessageContent, ICombineV2MessageContent, ICombinedMessage, ICommandMessageContent, IConversationFilter, IConversationIdentifier, IConversationOption, IConversationTag, IConvertHQVoiceMessageToTextOption, IConvertSpeechToTextOption, IConvertVoiceMessageToTextOption, IDeletedExpansion, IDownloadAuth, IEditedMessageDraft, IErrorKeys, IEventListener, IExpansionListenerData, IExtraDataKeyInMessage, IFileMessageContent, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendRelationInfo, IGIFMessageContent, IGetConversationListByTimestampParams, IGetHistoryMessagesByTypesOption, IGetUltraGroupListOption, IGetUnreadMentionMeConversationListParams, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupNotificationMessageContent, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHQVoiceMessageContent, IHarmonyOSPushConfig, IImageMessageContent, IInformationNotificationMessageContent, IInsertMessage, ILocationMessageContent, ILogData, IMentionedInfoKeyInMessage, IMessageDesc, IMessageFilter, IMessageIdentifier, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IModifyMessageParams, INotificationQuietHoursSetting, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPlatformOnlineStatus, IPrivateReadReceiptData, IProcessCode, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, IRTCRoomBindOption, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IReferContentInMessage, IReferContentKeyInMessage, IReferenceMessageContent,
|
|
2
|
+
export { AppSettings, AreaCode, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, ConnectionStatus, ConversationBatchDeletionParams, ConversationType, DirectionType, EnableLogL, ErrorCode, FileType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendRelationType, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupOperation, GroupOperationPermission, GroupOperationType, GroupReadReceiptVersion, IAndroidPushConfig, IAsyncRes, IAuditInfoKeyInMessage, IAuditInfoValueInMessage, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IClearMessageOption, ICombineMessageContent, ICombineV2MessageContent, ICombinedMessage, ICommandMessageContent, IConversationFilter, IConversationIdentifier, IConversationOption, IConversationTag, IConvertHQVoiceMessageToTextOption, IConvertSpeechToTextOption, IConvertVoiceMessageToTextOption, IDeletedExpansion, IDownloadAuth, IEditedMessageDraft, IErrorKeys, IEventListener, IExpansionListenerData, IExtraDataKeyInMessage, IFileMessageContent, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendRelationInfo, IGIFMessageContent, IGetConversationListByTimestampParams, IGetHistoryMessagesByTypesOption, IGetUltraGroupListOption, IGetUnreadMentionMeConversationListParams, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupNotificationMessageContent, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHQVoiceMessageContent, IHarmonyOSPushConfig, IImageMessageContent, IInformationNotificationMessageContent, IInsertMessage, ILocationMessageContent, ILogData, IMentionedInfoKeyInMessage, IMessageDesc, IMessageFilter, IMessageIdentifier, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IModifyMessageParams, INotificationQuietHoursSetting, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPlatformOnlineStatus, IPrivateReadReceiptData, IProcessCode, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, IRTCRoomBindOption, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IReferContentInMessage, IReferContentKeyInMessage, IReferenceMessageContent, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IResponse, IRichContentMessageContent, ISearchMessageParams, ISearchMessagesResult, ISightMessageContent, ISpeechToTextInfo, ISpeechToTextResponse, IStreamMessageContent, IStreamMessageResponseChunkData, ISubscribeRelationInfo, ISubscribeStatusDetail, ISubscribeUserOnlineStatus, ISubscribeUserStatusInfo, ISyncReadStatusData, ITagInfo, ITagParam, ITextMessageContent, ITimeRange, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraUnreadMsg, IUpdateItem, IUpdateMyProfileFail, IUpdatedExpansion, IUploadAuth, IUserExtraKeyInMessage, IUserExtraValueInMessage, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IUserProfileInfo, IUserSettingsChangedEvent, IVoiceMessageContent, IiOSPushConfig, InterruptionLevel, LogDBProxy, LogL, LogLevel, MentionedInfo, MentionedType, MessageAuditType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageType, NotificationLevel, NotificationStatus, OnlineStatus, OperateStatus, Platform, Platform as PlatformInfo, PushImportanceHonor, PushNotificationQuietHoursLevel, QueryFriendsDirectionType, RCConnectionStatus, RCResult, ReadReceiptInfoV5, ReadReceiptResponseV5, ReadReceiptUser, ReadReceiptUsersOption, ReadReceiptUsersResult, ReceivedStatus, ReferenceMessageStatus, SentStatus, SpeechToTextStatus, StreamMessageResponseEventType, SubscribeOperationType, SubscribeType, TranslateInfo, TranslateItem, TranslateMessageParam, TranslateMessagesParams, TranslateMode, TranslateStatus, TranslateStrategy, TranslateTextParam, TranslateTextsParams, UltraGroupChannelChangeType, UltraGroupChannelType, UploadMethod, UserProfileVisibility, UserSettingsChangedKey, UserType, createLogDBProxy, fail, ok } from '@rongcloud/engine';
|
|
3
3
|
|
|
4
4
|
/** [EN]
|
|
5
5
|
* Thumbnail configuration
|
|
@@ -125,7 +125,6 @@ declare class UploadTask {
|
|
|
125
125
|
* @category Basic
|
|
126
126
|
* @param plugins Plugin generator
|
|
127
127
|
* @param options Plugin configuration
|
|
128
|
-
|
|
129
128
|
*/
|
|
130
129
|
/**
|
|
131
130
|
* 装载 plugin 插件
|
|
@@ -179,7 +178,6 @@ declare function removeMonitor(id: number): void;
|
|
|
179
178
|
* const res = await RongIMLib.connect(token);
|
|
180
179
|
* console.info('IM connection result:', res);
|
|
181
180
|
* ```
|
|
182
|
-
|
|
183
181
|
*/
|
|
184
182
|
/**
|
|
185
183
|
* 建立 IM 连接
|
|
@@ -1027,7 +1025,6 @@ interface ISendMessageOptions {
|
|
|
1027
1025
|
* 1. Status messages only have pub, no ack response
|
|
1028
1026
|
* 2. Status messages are not stored or counted by default, and the `isPersisted` and `isCounted` configurations will be invalid
|
|
1029
1027
|
* @deprecated Please set whether the message type is a status message when registering the message
|
|
1030
|
-
|
|
1031
1028
|
*/
|
|
1032
1029
|
/**
|
|
1033
1030
|
* 是否是状态消息,一般为无需注册的自定义消息
|
|
@@ -1584,7 +1581,6 @@ interface IRefreshReferenceMessageResult {
|
|
|
1584
1581
|
/** [EN]
|
|
1585
1582
|
* Event listener
|
|
1586
1583
|
* @category Type
|
|
1587
|
-
|
|
1588
1584
|
*/
|
|
1589
1585
|
/**
|
|
1590
1586
|
* 事件监听器
|
|
@@ -1694,7 +1690,6 @@ declare function addEventListener<T extends Events>(eventType: T, listener: Even
|
|
|
1694
1690
|
* console.log('Connection established');
|
|
1695
1691
|
* });
|
|
1696
1692
|
* ```
|
|
1697
|
-
|
|
1698
1693
|
*/
|
|
1699
1694
|
/**
|
|
1700
1695
|
* 添加监听器 (仅执行一次)
|
|
@@ -1723,7 +1718,6 @@ declare function onceEventListener<T extends Events>(eventType: T, listener: Eve
|
|
|
1723
1718
|
* const listener = (evt) => console.log(evt.messages)
|
|
1724
1719
|
* RongIMLib.removeEventListener(Events.MESSAGES, listener);
|
|
1725
1720
|
* ```
|
|
1726
|
-
|
|
1727
1721
|
*/
|
|
1728
1722
|
/**
|
|
1729
1723
|
* 移除事件
|
|
@@ -1749,7 +1743,6 @@ declare function removeEventListener<T extends Events>(eventType: T, listener: E
|
|
|
1749
1743
|
* ```ts
|
|
1750
1744
|
* RongIMLib.removeEventListeners(Events.MESSAGES);
|
|
1751
1745
|
* ```
|
|
1752
|
-
|
|
1753
1746
|
*/
|
|
1754
1747
|
/**
|
|
1755
1748
|
* 移除同一类型下的所有事件
|
|
@@ -2294,7 +2287,6 @@ declare function getUltraGroupUnreadInfoList(targetIds: string[]): Promise<RCRes
|
|
|
2294
2287
|
* const res = await RongIMLib.addToBlacklist(userId);
|
|
2295
2288
|
* console.log('blacklist addition result:', res);
|
|
2296
2289
|
* ```
|
|
2297
|
-
|
|
2298
2290
|
*/
|
|
2299
2291
|
/**
|
|
2300
2292
|
* 加入黑名单
|
|
@@ -2384,7 +2376,6 @@ declare function getBlacklist(): Promise<IAsyncRes<string[]>>;
|
|
|
2384
2376
|
* const res = await RongIMLib.getBlacklistStatus(userId);
|
|
2385
2377
|
* console.log('blacklist retrieval result:', res);
|
|
2386
2378
|
* ```
|
|
2387
|
-
|
|
2388
2379
|
*/
|
|
2389
2380
|
/**
|
|
2390
2381
|
* 查询用户是否在黑名单中
|
|
@@ -6122,7 +6113,6 @@ declare function updateMyUserProfile(profile: IUserProfileInfo): Promise<IAsyncR
|
|
|
6122
6113
|
* @category User profiles
|
|
6123
6114
|
* @description This method is used to batch retrieve user profile information.
|
|
6124
6115
|
* @param userIds List of user IDs, with a maximum of 100 IDs per request
|
|
6125
|
-
* @returns Returns a Promise of type {@link IAsyncRes}, where the data is an array of type {@link IUserProfileInfo}
|
|
6126
6116
|
* @since 5.10.1
|
|
6127
6117
|
* @example Example of batch retrieving user profiles:
|
|
6128
6118
|
* ```ts
|
|
@@ -6136,7 +6126,6 @@ declare function updateMyUserProfile(profile: IUserProfileInfo): Promise<IAsyncR
|
|
|
6136
6126
|
* @category 用户资料
|
|
6137
6127
|
* @description 此方法用于批量获取用户的资料信息
|
|
6138
6128
|
* @param userIds 用户 ID 列表,一次最多获取 100 个
|
|
6139
|
-
* @returns 返回一个 {@link IAsyncRes} 类型 Promise,其中 data 为 {@link IUserProfileInfo} 类型数组
|
|
6140
6129
|
* @since 5.10.1
|
|
6141
6130
|
* @example 批量获取用户资料示例:
|
|
6142
6131
|
* ```ts
|
|
@@ -6145,7 +6134,7 @@ declare function updateMyUserProfile(profile: IUserProfileInfo): Promise<IAsyncR
|
|
|
6145
6134
|
* console.log('批量获取用户资料结果:', res);
|
|
6146
6135
|
* ```
|
|
6147
6136
|
*/
|
|
6148
|
-
declare function getUserProfiles(userIds: string[]): Promise<
|
|
6137
|
+
declare function getUserProfiles(userIds: string[]): Promise<RCResult<IUserProfileInfo[]>>;
|
|
6149
6138
|
/** [EN]
|
|
6150
6139
|
* Get current user profile
|
|
6151
6140
|
* @category User profile
|
|
@@ -6271,7 +6260,6 @@ declare function getSubscribeUsersOnlineStatus(userIds: string[]): Promise<RCRes
|
|
|
6271
6260
|
* @param inviteeUserIds An array of user IDs to be added to the group. A maximum of 100 users can be added at once. (Optional)
|
|
6272
6261
|
* @category Group
|
|
6273
6262
|
* @since 5.12.0
|
|
6274
|
-
|
|
6275
6263
|
*/
|
|
6276
6264
|
/**
|
|
6277
6265
|
* 创建群组
|
|
@@ -6291,7 +6279,6 @@ declare function createGroup(groupInfo: IGroupInfoOption, inviteeUserIds?: strin
|
|
|
6291
6279
|
* @param groupInfo {@link IGroupInfoOption} Configuration for setting group information
|
|
6292
6280
|
* @category Group
|
|
6293
6281
|
* @since 5.12.0
|
|
6294
|
-
|
|
6295
6282
|
*/
|
|
6296
6283
|
/**
|
|
6297
6284
|
* 设置群资料
|
|
@@ -6308,7 +6295,6 @@ declare function updateGroupInfo(groupInfo: IGroupInfoOption): Promise<IAsyncRes
|
|
|
6308
6295
|
* @returns Returns a Promise of type {@link IAsyncRes}, where the data is of type {@link IGroupInfoOption}.
|
|
6309
6296
|
* @category Group
|
|
6310
6297
|
* @since 5.12.0
|
|
6311
|
-
|
|
6312
6298
|
*/
|
|
6313
6299
|
/**
|
|
6314
6300
|
* 批量获取群组信息
|
|
@@ -6327,7 +6313,6 @@ declare function getGroupsInfo(groupIds: string[]): Promise<IAsyncRes<IGroupInfo
|
|
|
6327
6313
|
* @param config Configuration for removing group members. Refer to {@link IQuitGroupConfig}.
|
|
6328
6314
|
* @category Group
|
|
6329
6315
|
* @since 5.12.0
|
|
6330
|
-
|
|
6331
6316
|
*/
|
|
6332
6317
|
/**
|
|
6333
6318
|
* 踢出群组成员
|
|
@@ -6807,7 +6792,6 @@ declare function addFriend(userId: string, directionType: DirectionType, extra?:
|
|
|
6807
6792
|
* @description Note: One-way friend removal: Only removes the friend from the operator's friend list. Two-way friend removal: Removes the friend from both parties' friend lists.
|
|
6808
6793
|
* @category Friend
|
|
6809
6794
|
* @since 5.12.0
|
|
6810
|
-
|
|
6811
6795
|
*/
|
|
6812
6796
|
/**
|
|
6813
6797
|
* 解除好友
|
|
@@ -6834,10 +6818,8 @@ declare function acceptFriendApplication(userId: string): Promise<IAsyncRes<void
|
|
|
6834
6818
|
/** [EN]
|
|
6835
6819
|
* Reject friend request
|
|
6836
6820
|
* @param userId The user ID of the user to reject as a friend
|
|
6837
|
-
* // * @param reason The reason for rejection. Optional, with a maximum length of 128 characters.
|
|
6838
6821
|
* @category Friend
|
|
6839
6822
|
* @since 5.12.0
|
|
6840
|
-
|
|
6841
6823
|
*/
|
|
6842
6824
|
/**
|
|
6843
6825
|
* 拒绝加为好友
|
|
@@ -6887,7 +6869,6 @@ declare function setFriendInfo(userId: string, remark?: string, extProfile?: {
|
|
|
6887
6869
|
* @param directionType Type of friend relationship to check: unidirectional, bidirectional.
|
|
6888
6870
|
* @category Friend
|
|
6889
6871
|
* @since 5.12.0
|
|
6890
|
-
|
|
6891
6872
|
*/
|
|
6892
6873
|
/**
|
|
6893
6874
|
* 检查好友关系
|
|
@@ -6921,7 +6902,6 @@ declare function checkFriends(userIds: string[], directionType: DirectionType):
|
|
|
6921
6902
|
* @param option Pagination query parameters. Refer to {@link IPagingQueryOption}. This parameter is only valid for the web platform. The default `Count` is 50, and a maximum of 100 records can be queried per page.
|
|
6922
6903
|
* @category Friends
|
|
6923
6904
|
* @since 5.12.0
|
|
6924
|
-
|
|
6925
6905
|
*/
|
|
6926
6906
|
/**
|
|
6927
6907
|
* 获取好友列表
|
|
@@ -7503,7 +7483,6 @@ declare function saveTextMessageDraft(options: IConversationOption, draft: strin
|
|
|
7503
7483
|
* const conversation = await RongIMLib.clearTextMessageDraft(options);
|
|
7504
7484
|
* console.info('Result of deleting conversation text draft:', conversation);
|
|
7505
7485
|
* ```
|
|
7506
|
-
|
|
7507
7486
|
*/
|
|
7508
7487
|
/**
|
|
7509
7488
|
* 删除会话文本草稿
|
|
@@ -7614,7 +7593,6 @@ declare function getTotalUnreadCountByLevels(conversationTypes: ConversationType
|
|
|
7614
7593
|
* const totalUnreadCount = await RongIMLib.getTotalUnreadMentionedCountByLevels(conversationTypes, levels);
|
|
7615
7594
|
* console.info('Result of getting the total unread mention count for specified Do Not Disturb levels:', totalUnreadCount);
|
|
7616
7595
|
* ```
|
|
7617
|
-
|
|
7618
7596
|
*/
|
|
7619
7597
|
/**
|
|
7620
7598
|
* 获取会话指定免打扰级别未读 @ 消息数
|
|
@@ -7688,7 +7666,6 @@ declare function getUnreadCount(options: IConversationOption): Promise<RCResult<
|
|
|
7688
7666
|
* const clearRes = await RongIMLib.clearMessagesUnreadStatus(options);
|
|
7689
7667
|
* console.info('Result of clearing the unread count for the specified conversation:', clearRes);
|
|
7690
7668
|
* ```
|
|
7691
|
-
|
|
7692
7669
|
*/
|
|
7693
7670
|
/**
|
|
7694
7671
|
* 清除指定会话未读数
|
|
@@ -8791,8 +8768,7 @@ declare function getChatroomHistoryMessages(targetId: string, options: GetHistor
|
|
|
8791
8768
|
* };
|
|
8792
8769
|
* const res = await RongIMLib.bindRTCRoomForChatroom(option);
|
|
8793
8770
|
* console.log('RTC room binding result:', res);
|
|
8794
|
-
* ```
|
|
8795
|
-
|
|
8771
|
+
* ```
|
|
8796
8772
|
*/
|
|
8797
8773
|
/**
|
|
8798
8774
|
* 绑定音视频房间
|
|
@@ -8956,4 +8932,4 @@ declare function getAutoTranslateEnabled(): Promise<RCResult<boolean>>;
|
|
|
8956
8932
|
|
|
8957
8933
|
declare type IStreamMessageResponseEventData = IStreamMessageResponseEventData$1<IAReceivedMessage>;
|
|
8958
8934
|
|
|
8959
|
-
export { BaseMessage, BuiltinMessage, CombineMessage, CombineV2Message, CombineV2MessageContent, CommandMessage, ConnectType, EventListeners, Events, FileMessage, GIFMessage, GetHistoryMessageOption, GetHistoryMessageResult, GroupNotificationMessage, HQVoiceMessage, IAReceivedConversation, IAReceivedConversationByTag, IAReceivedMessage, IAUltraGroupReceivedConversation, IAuditInfo, IBaseConversationInfo, IChatroomJoinOpts, ICombineMessageBody, ICommandMessageBody, IConversationEvent, IConversationState, IConversationUpdateItem, IExtraData, IFileMessageBody, IGIFMessageBody, IGetChatroomInfoOptions, IGetConversationListOptions, IGroupNotificationMessageBody, IHQVoiceMessageBody, IImageMessageBody, IImageMessageOption, IInformationNotificationMessageBody, IInitOption, IInsertOptions, ILocationMessageBody, IMessageReceiptRequestEvent, IMessageReceiptResponseEvent, IMessagesEvent, IReadReceiptReceivedEvent, IRecallMessageOptions, IReceivedUpdateConversation, IReferenceMessageBody, IRichContentMessageBody, ISearchMessageInTimeRangeOption, ISendBody, ISendFileMessageOptions, ISendImageMessageOptions, ISendMessageOptions, ISendSightMessageOptions, ISightMessageBody, IStreamMessageBody, IStreamMessageResponseEventData, ITextMessageBody, IThumbnailConfig, ITypingStatusEvent, IUploadConfig, IUploadHooks, IUploadInfo, IUploadMessageOption, IUploadResult, IUserInfo, IVoiceMessageBody, ImageMessage, InformationNotificationMessage, LocationMessage, MentionedInfoBody, MessageConstructor, Monitor, MonitorableAPI, ReferenceMessage, RichContentMessage, SightMessage, TextMessage, Transformer, UploadTask, VoiceMessage, __addSDKVersion, acceptFriendApplication, acceptGroupApplication, acceptGroupInvite, addConversationsToTag, addEventListener, addFriend, addGroupFollows, addGroupManagers, addMonitor, addTag, addToBlacklist, batchClearRemoteHistoryMessages, batchDeleteConversations, batchGetMessageReadReceiptInfoV4, batchRemoveConversation, batchSetConversationNotificationLevel, batchSetConversationToTop, batchSetConversationTranslateStrategy, bindRTCRoomForChatroom, checkFriends, clearAllMessagesUnreadStatus, clearEventListeners, clearHistoryMessages, clearMessages$1 as clearMessages, clearMessagesUnreadStatus, clearRealtimeConUnreadCount, clearTextMessageDraft, clearUnreadCountByTimestamp, connect, createGroup, createUploadTask, deleteFriends, deleteLocalMessagesByTimestamp, deleteMessages$1 as deleteMessages, destroy, disconnect, dismissGroup, index as electronExtension, forceRemoveChatRoomEntry, forceSetChatRoomEntry, getAllChatRoomEntries, getAllConversationList, getAllUltraGroupUnreadCount, getAllUltraGroupUnreadMentionedCount, getAllUnreadMentionedCount, getAppSettings, getAutoTranslateEnabled, getBlacklist, getBlacklistStatus, getBlockUltraGroupList, getBlockedConversationList, getChatRoomEntry, getChatRoomInfo, getChatroomHistoryMessages, getConnectionStatus, getConversation, getConversationList, getConversationListByTimestamp, getConversationNotificationLevel, getConversationNotificationStatus, getConversationTypeNotificationLevel, getConversationsFromTagByPage, getCurrentUserId, getDeviceId, getDownloadAuth, getFileToken, getFileUrl, getFirstUnreadMessage, getFirstUnreadMessageInfo, getFriendAddPermission, getFriendApplications, getFriends, getFriendsInfo, getGroupApplications, getGroupFollows, getGroupMembers, getGroupMembersByRole, getGroupsInfo, getHistoryMessages, getJoinedGroups, getJoinedGroupsByRole, getMessage, getMessageReadReceiptInfoV5, getMessageReadReceiptInfoV5ByIdentifiers, getMessageReadReceiptV4, getMessageReader, getMessagesReadReceiptByUsersV5, getMessagesReadReceiptUsersByPageV5, getMyUserProfile, getMyUserProfileVisibility, getNotificationQuietHoursSetting, getProxy, getRealtimeConTotalUnreadCount, getRealtimeConUnreadCounts, getRealtimeConversations, getRemoteHistoryMessages, getServerTime, getSubscribeUserList, getSubscribeUserStatus, getSubscribeUsersOnlineStatus, getTags, getTagsFromConversation, getTextMessageDraft, getTopConversationList, getTotalUnreadCount, getTotalUnreadCountByLevels, getTotalUnreadMentionedCountByLevels, getTranslationLanguage, getUltraGroupDefaultNotificationLevel, getUltraGroupFirstUnreadMessageTimestamp, getUltraGroupList, getUltraGroupMessageListByMessageUId, getUltraGroupUnreadCountByTargetId, getUltraGroupUnreadInfoList, getUltraGroupUnreadMentionedCountByTargetId, getUltraGroupUnreadMentionedMessages, getUnreadConversationList, getUnreadCount, getUnreadCountByTag, getUnreadMentionMeConversationList, getUnreadMentionedCount, getUnreadMentionedMessages$1 as getUnreadMentionedMessages, getUserProfiles, init, insertMessage$1 as insertMessage, installPlugin, inviteUsersToGroup, joinChatRoom, joinExistChatRoom, joinGroup, kickGroupMembers, modifyMessage, modifyMessageWithParams, onceEventListener, quitChatRoom, quitGroup, recallMessage, refreshReferenceMessageWithParams, refuseFriendApplication, refuseGroupApplication, refuseGroupInvite, registerMessageType, removeAllExpansionForUltraGroupMessage, removeChatRoomEntries, removeChatRoomEntry, removeConversation, removeConversationsFromTag, removeEventListener, removeEventListeners, removeExpansionForUltraGroupMessage, removeFromBlacklist, removeGroupFollows, removeGroupManagers, removeMessageExpansionForKey, removeMonitor, removeNotificationQuietHoursSetting, removeRealtimeConversations, removeTag, removeTagFromConversations, removeTagsFromConversation, requestSpeechToTextForMessage, requestStreamMessageContent, saveTextMessageDraft, searchConversationByContent$1 as searchConversationByContent, searchFriendsInfo, searchGroupMembers, searchJoinedGroups, searchMessages$1 as searchMessages, searchUserProfileByUniqueId, sendFileMessage, sendGIFMessage, sendHQVoiceMessage, sendImageMessage, sendMessage, sendReadReceiptMessage, sendReadReceiptMessageV4, sendReadReceiptRequest, sendReadReceiptResponse, sendReadReceiptResponseV2, sendReadReceiptResponseV5, sendSightMessage, sendSyncReadStatusMessage, sendTextMessage, sendTypingStatusMessage, sendUltraGroupTypingStatus, setAutoTranslateEnabled, setChatRoomEntries, setChatRoomEntry, setConversationNotificationLevel, setConversationNotificationStatus, setConversationToTop, setConversationToTopInTag, setConversationTypeNotificationLevel, setFriendAddPermission, setFriendInfo, setGroupMemberInfo, setGroupRemark, setMessageReceivedStatus$1 as setMessageReceivedStatus, setNotificationQuietHoursWithSetting, setProxy, setTranslationLanguage, setUltraGroupDefaultNotificationLevel, stopUploadTask, subscribeUserStatus, testProxy, transferGroupOwner, translateMessagesWithParams, translateTextsWithParams, unSubscribeUserStatus, updateExpansionForUltraGroupMessage, updateGroupInfo, updateMessageExpansion, updateMyUserProfile, updateMyUserProfileVisibility, updateTag, upload };
|
|
8935
|
+
export { BaseMessage, BuiltinMessage, CombineMessage, CombineV2Message, CombineV2MessageContent, CommandMessage, ConnectType, EventListeners, Events, FileMessage, GIFMessage, GetHistoryMessageOption, GetHistoryMessageResult, GroupNotificationMessage, HQVoiceMessage, IAReceivedConversation, IAReceivedConversationByTag, IAReceivedMessage, IAUltraGroupReceivedConversation, IAuditInfo, IBaseConversationInfo, IChatroomJoinOpts, ICombineMessageBody, ICommandMessageBody, IConversationEvent, IConversationState, IConversationUpdateItem, IExtraData, IFileMessageBody, IGIFMessageBody, IGetChatroomInfoOptions, IGetConversationListOptions, IGroupNotificationMessageBody, IHQVoiceMessageBody, IImageMessageBody, IImageMessageOption, IInformationNotificationMessageBody, IInitOption, IInsertOptions, ILocationMessageBody, IMessageReceiptRequestEvent, IMessageReceiptResponseEvent, IMessagesEvent, IReadReceiptReceivedEvent, IRecallMessageOptions, IReceivedUpdateConversation, IReferenceMessageBody, IRefreshReferenceMessageParams, IRefreshReferenceMessageResult, IRichContentMessageBody, ISearchMessageInTimeRangeOption, ISendBody, ISendFileMessageOptions, ISendImageMessageOptions, ISendMessageOptions, ISendSightMessageOptions, ISightMessageBody, IStreamMessageBody, IStreamMessageResponseEventData, ITextMessageBody, IThumbnailConfig, ITypingStatusEvent, IUploadConfig, IUploadHooks, IUploadInfo, IUploadMessageOption, IUploadResult, IUserInfo, IVoiceMessageBody, ImageMessage, InformationNotificationMessage, LocationMessage, MentionedInfoBody, MessageConstructor, Monitor, MonitorableAPI, ReferenceMessage, RichContentMessage, SightMessage, TextMessage, Transformer, UploadTask, VoiceMessage, __addSDKVersion, acceptFriendApplication, acceptGroupApplication, acceptGroupInvite, addConversationsToTag, addEventListener, addFriend, addGroupFollows, addGroupManagers, addMonitor, addTag, addToBlacklist, batchClearRemoteHistoryMessages, batchDeleteConversations, batchGetMessageReadReceiptInfoV4, batchRemoveConversation, batchSetConversationNotificationLevel, batchSetConversationToTop, batchSetConversationTranslateStrategy, bindRTCRoomForChatroom, checkFriends, clearAllMessagesUnreadStatus, clearEventListeners, clearHistoryMessages, clearMessages$1 as clearMessages, clearMessagesUnreadStatus, clearRealtimeConUnreadCount, clearTextMessageDraft, clearUnreadCountByTimestamp, connect, createGroup, createUploadTask, deleteFriends, deleteLocalMessagesByTimestamp, deleteMessages$1 as deleteMessages, destroy, disconnect, dismissGroup, index as electronExtension, forceRemoveChatRoomEntry, forceSetChatRoomEntry, getAllChatRoomEntries, getAllConversationList, getAllUltraGroupUnreadCount, getAllUltraGroupUnreadMentionedCount, getAllUnreadMentionedCount, getAppSettings, getAutoTranslateEnabled, getBlacklist, getBlacklistStatus, getBlockUltraGroupList, getBlockedConversationList, getChatRoomEntry, getChatRoomInfo, getChatroomHistoryMessages, getConnectionStatus, getConversation, getConversationList, getConversationListByTimestamp, getConversationNotificationLevel, getConversationNotificationStatus, getConversationTypeNotificationLevel, getConversationsFromTagByPage, getCurrentUserId, getDeviceId, getDownloadAuth, getFileToken, getFileUrl, getFirstUnreadMessage, getFirstUnreadMessageInfo, getFriendAddPermission, getFriendApplications, getFriends, getFriendsInfo, getGroupApplications, getGroupFollows, getGroupMembers, getGroupMembersByRole, getGroupsInfo, getHistoryMessages, getJoinedGroups, getJoinedGroupsByRole, getMessage, getMessageReadReceiptInfoV5, getMessageReadReceiptInfoV5ByIdentifiers, getMessageReadReceiptV4, getMessageReader, getMessagesReadReceiptByUsersV5, getMessagesReadReceiptUsersByPageV5, getMyUserProfile, getMyUserProfileVisibility, getNotificationQuietHoursSetting, getProxy, getRealtimeConTotalUnreadCount, getRealtimeConUnreadCounts, getRealtimeConversations, getRemoteHistoryMessages, getServerTime, getSubscribeUserList, getSubscribeUserStatus, getSubscribeUsersOnlineStatus, getTags, getTagsFromConversation, getTextMessageDraft, getTopConversationList, getTotalUnreadCount, getTotalUnreadCountByLevels, getTotalUnreadMentionedCountByLevels, getTranslationLanguage, getUltraGroupDefaultNotificationLevel, getUltraGroupFirstUnreadMessageTimestamp, getUltraGroupList, getUltraGroupMessageListByMessageUId, getUltraGroupUnreadCountByTargetId, getUltraGroupUnreadInfoList, getUltraGroupUnreadMentionedCountByTargetId, getUltraGroupUnreadMentionedMessages, getUnreadConversationList, getUnreadCount, getUnreadCountByTag, getUnreadMentionMeConversationList, getUnreadMentionedCount, getUnreadMentionedMessages$1 as getUnreadMentionedMessages, getUserProfiles, init, insertMessage$1 as insertMessage, installPlugin, inviteUsersToGroup, joinChatRoom, joinExistChatRoom, joinGroup, kickGroupMembers, modifyMessage, modifyMessageWithParams, onceEventListener, quitChatRoom, quitGroup, recallMessage, refreshReferenceMessageWithParams, refuseFriendApplication, refuseGroupApplication, refuseGroupInvite, registerMessageType, removeAllExpansionForUltraGroupMessage, removeChatRoomEntries, removeChatRoomEntry, removeConversation, removeConversationsFromTag, removeEventListener, removeEventListeners, removeExpansionForUltraGroupMessage, removeFromBlacklist, removeGroupFollows, removeGroupManagers, removeMessageExpansionForKey, removeMonitor, removeNotificationQuietHoursSetting, removeRealtimeConversations, removeTag, removeTagFromConversations, removeTagsFromConversation, requestSpeechToTextForMessage, requestStreamMessageContent, saveTextMessageDraft, searchConversationByContent$1 as searchConversationByContent, searchFriendsInfo, searchGroupMembers, searchJoinedGroups, searchMessages$1 as searchMessages, searchUserProfileByUniqueId, sendFileMessage, sendGIFMessage, sendHQVoiceMessage, sendImageMessage, sendMessage, sendReadReceiptMessage, sendReadReceiptMessageV4, sendReadReceiptRequest, sendReadReceiptResponse, sendReadReceiptResponseV2, sendReadReceiptResponseV5, sendSightMessage, sendSyncReadStatusMessage, sendTextMessage, sendTypingStatusMessage, sendUltraGroupTypingStatus, setAutoTranslateEnabled, setChatRoomEntries, setChatRoomEntry, setConversationNotificationLevel, setConversationNotificationStatus, setConversationToTop, setConversationToTopInTag, setConversationTypeNotificationLevel, setFriendAddPermission, setFriendInfo, setGroupMemberInfo, setGroupRemark, setMessageReceivedStatus$1 as setMessageReceivedStatus, setNotificationQuietHoursWithSetting, setProxy, setTranslationLanguage, setUltraGroupDefaultNotificationLevel, stopUploadTask, subscribeUserStatus, testProxy, transferGroupOwner, translateMessagesWithParams, translateTextsWithParams, unSubscribeUserStatus, updateExpansionForUltraGroupMessage, updateGroupInfo, updateMessageExpansion, updateMyUserProfile, updateMyUserProfileVisibility, updateTag, upload };
|