@rongcloud/engine 5.34.0 → 5.36.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 +135 -365
- package/index.esm.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5522,7 +5522,7 @@ interface IUpdateItem {
|
|
|
5522
5522
|
val: MentionedInfo | undefined;
|
|
5523
5523
|
};
|
|
5524
5524
|
/** [EN]
|
|
5525
|
-
* Unread count change
|
|
5525
|
+
* Unread count change, not supported for Electron platform
|
|
5526
5526
|
*/
|
|
5527
5527
|
/**
|
|
5528
5528
|
* 未读数变更,不支持 Electron 平台
|
|
@@ -5531,6 +5531,30 @@ interface IUpdateItem {
|
|
|
5531
5531
|
time: number;
|
|
5532
5532
|
val: number;
|
|
5533
5533
|
};
|
|
5534
|
+
/** [EN]
|
|
5535
|
+
* @ mention count change, not supported for Electron platform
|
|
5536
|
+
* @since 5.36.0
|
|
5537
|
+
*/
|
|
5538
|
+
/**
|
|
5539
|
+
* @ 消息未读数变更,不支持 Electron 平台
|
|
5540
|
+
* @since 5.36.0
|
|
5541
|
+
*/
|
|
5542
|
+
unreadMentionedCount?: {
|
|
5543
|
+
time: number;
|
|
5544
|
+
val: number;
|
|
5545
|
+
};
|
|
5546
|
+
/** [EN]
|
|
5547
|
+
* @ my mention count change, not supported for Electron platform
|
|
5548
|
+
* @since 5.36.0
|
|
5549
|
+
*/
|
|
5550
|
+
/**
|
|
5551
|
+
* @ 我的未读消息数变更,不支持 Electron 平台
|
|
5552
|
+
* @since 5.36.0
|
|
5553
|
+
*/
|
|
5554
|
+
unreadMentionedMeCount?: {
|
|
5555
|
+
time: number;
|
|
5556
|
+
val: number;
|
|
5557
|
+
};
|
|
5534
5558
|
/** [EN]
|
|
5535
5559
|
* Tag update
|
|
5536
5560
|
*/
|
|
@@ -5552,6 +5576,34 @@ interface IUpdateItem {
|
|
|
5552
5576
|
val: IReceivedMessage;
|
|
5553
5577
|
};
|
|
5554
5578
|
}
|
|
5579
|
+
/** [EN]
|
|
5580
|
+
* Conversation entrust info
|
|
5581
|
+
* @since 5.36.0
|
|
5582
|
+
*/
|
|
5583
|
+
/**
|
|
5584
|
+
* 会话托管信息,仅支持单聊、群聊和系统会话。
|
|
5585
|
+
* @since 5.36.0
|
|
5586
|
+
*/
|
|
5587
|
+
interface IDataManagementInfo {
|
|
5588
|
+
/** [EN]
|
|
5589
|
+
* Conversation name
|
|
5590
|
+
* @since 5.36.0
|
|
5591
|
+
*/
|
|
5592
|
+
/**
|
|
5593
|
+
* 会话名称
|
|
5594
|
+
* @since 5.36.0
|
|
5595
|
+
*/
|
|
5596
|
+
name: string;
|
|
5597
|
+
/** [EN]
|
|
5598
|
+
* Conversation portrait URI
|
|
5599
|
+
* @since 5.36.0
|
|
5600
|
+
*/
|
|
5601
|
+
/**
|
|
5602
|
+
* 会话头像 URI
|
|
5603
|
+
* @since 5.36.0
|
|
5604
|
+
*/
|
|
5605
|
+
portraitUri: string;
|
|
5606
|
+
}
|
|
5555
5607
|
/** [EN]
|
|
5556
5608
|
* Conversation data
|
|
5557
5609
|
* @category Interface
|
|
@@ -5763,6 +5815,24 @@ interface IReceivedConversation {
|
|
|
5763
5815
|
* @since 5.30.0
|
|
5764
5816
|
*/
|
|
5765
5817
|
includeRobot?: boolean;
|
|
5818
|
+
/** [EN]
|
|
5819
|
+
* Conversation data management info.
|
|
5820
|
+
* @since 5.36.0
|
|
5821
|
+
* @description
|
|
5822
|
+
* * This property is only valid for Electron platform, and requires the user to enable user information hosting or group information hosting function.
|
|
5823
|
+
* * This property is only local cache data, if the local cache data does not exist, the fields in the property are empty.
|
|
5824
|
+
* * This property is only supported for single chat, group chat and system session.
|
|
5825
|
+
* @since 5.36.0
|
|
5826
|
+
*/
|
|
5827
|
+
/**
|
|
5828
|
+
* 托管数据
|
|
5829
|
+
* @description
|
|
5830
|
+
* * 该属性仅 Electron 平台有效,且需要用户开通用户信息托管或群组信息托管功能。
|
|
5831
|
+
* * 该属性仅为客户端本地缓存数据,若本地缓存数据不存在,则该属性内的各字段为空。
|
|
5832
|
+
* * 该属性仅支持单聊、群聊和系统会话。
|
|
5833
|
+
* @since 5.36.0
|
|
5834
|
+
*/
|
|
5835
|
+
dataMgmtInfo?: IDataManagementInfo;
|
|
5766
5836
|
}
|
|
5767
5837
|
/** [EN]
|
|
5768
5838
|
* @category Interface
|
|
@@ -10460,6 +10530,14 @@ interface INaviInfo {
|
|
|
10460
10530
|
* @since 5.34.0
|
|
10461
10531
|
*/
|
|
10462
10532
|
serverSaveUnread?: 0 | 1;
|
|
10533
|
+
/**
|
|
10534
|
+
* 是否开启多端离线消息补偿。
|
|
10535
|
+
* @description 只有导航明确下发值为 0 时,才表示关闭多端离线消息补偿。其他情况均表示开启多端离线消息补偿。
|
|
10536
|
+
* 0: 关闭。
|
|
10537
|
+
* 1: 开启。
|
|
10538
|
+
* @since 5.36.0
|
|
10539
|
+
*/
|
|
10540
|
+
openHistoryMsg?: 0 | 1;
|
|
10463
10541
|
}
|
|
10464
10542
|
|
|
10465
10543
|
/** [EN]
|
|
@@ -12625,11 +12703,7 @@ interface IIPCMethods {
|
|
|
12625
12703
|
/**
|
|
12626
12704
|
* 设置当前用户在线状态
|
|
12627
12705
|
*/
|
|
12628
|
-
setUserStatus(status: number): Promise<
|
|
12629
|
-
/**
|
|
12630
|
-
* 订阅用户在线状态
|
|
12631
|
-
*/
|
|
12632
|
-
subscribeUserStatus(userIds: string[]): Promise<ErrorCode>;
|
|
12706
|
+
setUserStatus(status: number): Promise<RCResult>;
|
|
12633
12707
|
/**
|
|
12634
12708
|
* 获取用户状态
|
|
12635
12709
|
*/
|
|
@@ -12694,8 +12768,9 @@ interface IIPCMethods {
|
|
|
12694
12768
|
setMessageContent(messageId: number, content: string, messageType: string): Promise<RCResult>;
|
|
12695
12769
|
/**
|
|
12696
12770
|
* 设置消息搜索字段
|
|
12771
|
+
* @deprecated 老版 V2 中用到
|
|
12697
12772
|
*/
|
|
12698
|
-
setMessageSearchField(messageId: number, content: any, searchFiles: string): Promise<
|
|
12773
|
+
setMessageSearchField(messageId: number, content: any, searchFiles: string): Promise<RCResult>;
|
|
12699
12774
|
/**
|
|
12700
12775
|
* 通过关键字与 channelId 搜索所有会话
|
|
12701
12776
|
*/
|
|
@@ -12869,6 +12944,9 @@ interface IIPCMethods {
|
|
|
12869
12944
|
setNotificationQuietHoursWithSetting(opts: INotificationQuietHoursSetting): Promise<RCResult>;
|
|
12870
12945
|
removeNotificationQuietHoursSetting(): Promise<RCResult>;
|
|
12871
12946
|
getNotificationQuietHoursSetting(): Promise<RCResult<INotificationQuietHoursSetting>>;
|
|
12947
|
+
/**
|
|
12948
|
+
* 获取统计地址
|
|
12949
|
+
*/
|
|
12872
12950
|
getStatsUrlList(): Promise<RCResult<string[]>>;
|
|
12873
12951
|
/**
|
|
12874
12952
|
* 发送消息已读回执(V5 版本)
|
|
@@ -12908,6 +12986,13 @@ interface IIPCMethods {
|
|
|
12908
12986
|
}>>;
|
|
12909
12987
|
rtcPing(roomId: string, mode: number, broadcastType?: number): Promise<RCResult<any>>;
|
|
12910
12988
|
bindRTCRoomForChatroom(options: IRTCRoomBindOption): Promise<RCResult>;
|
|
12989
|
+
/**
|
|
12990
|
+
* RTC 通用调用接口
|
|
12991
|
+
* @param roomId 房间 ID
|
|
12992
|
+
* @param method CMP 接口方法名
|
|
12993
|
+
* @param isQuery 使用 `qry` or `pub` 进行请求,按服务要求传递
|
|
12994
|
+
* @param sourceData PB 数据
|
|
12995
|
+
*/
|
|
12911
12996
|
rtcSignaling(roomId: string, method: string, isQuery: boolean, sourceData: any): Promise<RCResult<Uint8Array>>;
|
|
12912
12997
|
requestSpeechToTextForMessage(messageUId: string, option?: IConvertSpeechToTextOption): Promise<RCResult>;
|
|
12913
12998
|
setMessageSpeechToTextVisible(messageId: number, isVisible: boolean): Promise<RCResult>;
|
|
@@ -13402,9 +13487,9 @@ interface IEngineWatcher extends IConnectionListener {
|
|
|
13402
13487
|
ultraGroupChannelUserKicked: (list: IUltraChannelUserKickedInfo[]) => void;
|
|
13403
13488
|
ultraGroupChannelDelete: (list: IUltraChannelDeleteInfo[]) => void;
|
|
13404
13489
|
/**
|
|
13405
|
-
* RTC
|
|
13490
|
+
* RTC KV 数据变更通知,由 RTC 插件自行解析和处理
|
|
13406
13491
|
*/
|
|
13407
|
-
onRTCDataChange: (
|
|
13492
|
+
onRTCDataChange: (buffer: Uint8Array) => void;
|
|
13408
13493
|
pullFinished: () => void;
|
|
13409
13494
|
callInfo: (data: string) => void;
|
|
13410
13495
|
onNaviDataChange: (naviInfo: INaviInfo) => void;
|
|
@@ -13470,6 +13555,10 @@ interface IEngineWatcher extends IConnectionListener {
|
|
|
13470
13555
|
* @param updatedRobots 发生变更的机器人列表,如名称变更、或为新增机器人,不包含被删除的机器人数据
|
|
13471
13556
|
*/
|
|
13472
13557
|
robotsSynced: (code: number, updatedRobots: IRobotInfo[]) => void;
|
|
13558
|
+
/**
|
|
13559
|
+
* 服务器记录会话未读数同步完成通知
|
|
13560
|
+
*/
|
|
13561
|
+
syncServerSaveUnreadCompleted: () => void;
|
|
13473
13562
|
}
|
|
13474
13563
|
|
|
13475
13564
|
/**
|
|
@@ -14576,6 +14665,7 @@ interface IWatcher {
|
|
|
14576
14665
|
translateResponse?: (response: TranslateItem[]) => void;
|
|
14577
14666
|
messagesModified?: (messages: IReceivedMessage[]) => void;
|
|
14578
14667
|
messageModifiedSyncCompleted?: () => void;
|
|
14668
|
+
syncServerSaveUnreadCompleted?: () => void;
|
|
14579
14669
|
}
|
|
14580
14670
|
interface IAPIContextOption {
|
|
14581
14671
|
/**
|
|
@@ -14685,6 +14775,11 @@ declare class AppSettings {
|
|
|
14685
14775
|
* @since 5.30.0
|
|
14686
14776
|
*/
|
|
14687
14777
|
get readReceiptVersion(): GroupReadReceiptVersion;
|
|
14778
|
+
/**
|
|
14779
|
+
* 是否已开启服务器记录会话未读数
|
|
14780
|
+
* @since 5.36.0
|
|
14781
|
+
*/
|
|
14782
|
+
get isServerSaveUnreadEnabled(): boolean;
|
|
14688
14783
|
}
|
|
14689
14784
|
|
|
14690
14785
|
/**
|
|
@@ -14698,10 +14793,6 @@ interface IModuleContext extends Pick<IIPCMethods, 'sendMessage'> {
|
|
|
14698
14793
|
* 应用 Key
|
|
14699
14794
|
*/
|
|
14700
14795
|
get appkey(): string;
|
|
14701
|
-
/**
|
|
14702
|
-
* 初始化选项
|
|
14703
|
-
*/
|
|
14704
|
-
get initOption(): IAPIContextOption;
|
|
14705
14796
|
/**
|
|
14706
14797
|
* 当前连接状态
|
|
14707
14798
|
*/
|
|
@@ -14920,34 +15011,6 @@ declare class DataHosting extends BaseModule {
|
|
|
14920
15011
|
getJoinedGroups(groupIds: string[]): Promise<RCResult<IGroupInfo[]>>;
|
|
14921
15012
|
}
|
|
14922
15013
|
|
|
14923
|
-
/**
|
|
14924
|
-
* 会话聊天模块
|
|
14925
|
-
*/
|
|
14926
|
-
interface IChatService extends Pick<IIPCMethods, 'getTotalUnreadCount' | 'getConversation' | 'batchSetConversationToTop' | 'batchSetConversationNotificationLevel' | 'getConversationNotificationLevel' | 'setConversationTypeNotificationLevel' | 'getConversationTypeNotificationLevel' | 'clearAllSGUnreadCount' | 'deleteRemoteMessage' | 'deleteRemoteMessageByTimestamp' | 'batchClearRemoteHistoryMessages' | 'sendReadReceiptResponseV5' | 'getMessageReadReceiptInfoV5ByIdentifiers' | 'getMessagesReadReceiptUsersByPageV5' | 'getMessagesReadReceiptByUsersV5' | 'searchConversationByContent' | 'requestSpeechToTextForMessage' | 'setMessageSpeechToTextVisible' | 'addTagForConversations' | 'getTagsForConversation' | 'setConversationStatusInTag' | 'removeTagForConversations' | 'removeTagsForConversation' | 'getConversationListByTag' | 'getUnreadCountByTag' | 'getUntaggedConversationListByPage' | 'batchSetConversationTranslateStrategy' | 'modifyMessageWithParams' | 'refreshReferenceMessageWithParams' | 'batchDeleteConversations' | 'sendReadReceiptV2' | 'syncRemoteConversations' | 'sendUltraGroupTypingStatus' | 'getUltraGroupList' | 'getRemoteMessagesByUIds' | 'getUGUnreadMentionedDigest' | 'getHistoryMessagesByObjectNames' | 'getContinuousMessages' | 'getMessagesAroundTimestamp' | 'deleteLocalUGMessagesForAllChannel' | 'updateUGMessageExpansion' | 'setUGDefaultNotificationLevel' | 'getUGDefaultNotificationLevel' | 'getUnreadMentionedMessages' | 'getUnreadMentionedCount' | 'getAllUnreadMentionedCount' | 'getTotalUnreadCountByLevels' | 'getConversationUnreadCount' | 'getFirstUnreadMessage' | 'getFirstUnreadMessageDigest' | 'getUGUnreadCountForAllChannels' | 'getUGUnreadInfoList' | 'getUGFirstUnreadMessageDigest' | 'getConversations' | 'clearConversationUnreadCount' | 'markRemoteConversationAsRead' | 'getTopConversationList' | 'getUnreadConversationList' | 'getConversationListByPageIndex' | 'getAllConversationList' | 'getConversationListByTimestamp' | 'clearConversations' | 'getBlockedConversationList' | 'getBlockedUGList' | 'saveEditedMessageDraft' | 'getEditedMessageDraft' | 'clearEditedMessageDraft' | 'getUnreadMentionMeConversationList' | 'sendUltraGroupTypingStatus' | 'updateConversationReadTime' | 'clearUnreadCountByTimestamp' | 'getMessageReader' | 'getMessageReadReceiptV4' | 'sendReadReceiptMessageV4' | 'getConversationsIncludingRobots'> {
|
|
14927
|
-
/** 超级群是否已同步完成 */
|
|
14928
|
-
get ugSynced(): boolean;
|
|
14929
|
-
getRealtimeConversations(count: number, startTime: number, order: 0 | 1): Promise<RCResult<IReceivedConversation[]>>;
|
|
14930
|
-
getRealtimeConTotalUnreadCount(): Promise<RCResult<number>>;
|
|
14931
|
-
clearRealtimeConUnreadCount(identifier: IConversationIdentifier): Promise<RCResult>;
|
|
14932
|
-
removeRealtimeConversations(identifiers: IConversationIdentifier[]): Promise<RCResult>;
|
|
14933
|
-
batchGetRealtimeConUnreadCount(identifiers: IConversationIdentifier[]): Promise<RCResult<IConversationUnreadCount[]>>;
|
|
14934
|
-
/**
|
|
14935
|
-
* 分页加载会话列表
|
|
14936
|
-
* @param pageToken 分页 token
|
|
14937
|
-
* @param count 分页数量
|
|
14938
|
-
* @param options 会话列表加载器选项,仅 pageToken 无值时有效
|
|
14939
|
-
*/
|
|
14940
|
-
loadConversationList(pageToken: string, count: number, options: IConversationListLoaderOptions): Promise<RCResult<{
|
|
14941
|
-
pageToken: string;
|
|
14942
|
-
finished: boolean;
|
|
14943
|
-
list: IReceivedConversation[];
|
|
14944
|
-
}>>;
|
|
14945
|
-
/**
|
|
14946
|
-
* 批量获取消息已读回执信息,暂仅支持群聊 (V4)
|
|
14947
|
-
*/
|
|
14948
|
-
batchGetMessageReadReceiptInfoV4(conversation: IConversationIdentifier, messageUIds: string[]): Promise<RCResult<IGroupReadReceiptData[]>>;
|
|
14949
|
-
}
|
|
14950
|
-
|
|
14951
15014
|
/**
|
|
14952
15015
|
* 会话列表加载器,暂不支持用于获取超级群会话列表,不支持 Electron 平台
|
|
14953
15016
|
* @since 5.32.0
|
|
@@ -15178,10 +15241,6 @@ declare class APIContext {
|
|
|
15178
15241
|
private _friendApplicationStatusChanged;
|
|
15179
15242
|
private _friendCleared;
|
|
15180
15243
|
private _friendInfoChangedSync;
|
|
15181
|
-
/**
|
|
15182
|
-
* rtc 数据变更通知 pluginContext
|
|
15183
|
-
*/
|
|
15184
|
-
private _rtcDataChange;
|
|
15185
15244
|
/**
|
|
15186
15245
|
* 导航数据变更通知
|
|
15187
15246
|
*/
|
|
@@ -15204,6 +15263,7 @@ declare class APIContext {
|
|
|
15204
15263
|
private _translateResponse;
|
|
15205
15264
|
private _messagesModified;
|
|
15206
15265
|
private _messageModifiedSyncCompleted;
|
|
15266
|
+
private _syncServerSaveUnreadCompleted;
|
|
15207
15267
|
/**
|
|
15208
15268
|
* 业务层事件监听器挂载点
|
|
15209
15269
|
*/
|
|
@@ -15276,6 +15336,8 @@ declare class APIContext {
|
|
|
15276
15336
|
* @param isStatusMessage 是否是状态消息
|
|
15277
15337
|
*/
|
|
15278
15338
|
registerMessageType(objectName: string, isPersited: boolean, isCounted: boolean, searchProps?: string[], isStatusMessage?: boolean): void;
|
|
15339
|
+
private _rtcListener?;
|
|
15340
|
+
private _rtcDataChange;
|
|
15279
15341
|
/**
|
|
15280
15342
|
* 注册 RTC KV 通知监听器
|
|
15281
15343
|
* @param listener
|
|
@@ -15666,8 +15728,9 @@ declare class APIContext {
|
|
|
15666
15728
|
setMessageContent(messageId: number, content: any, messageType: string): Promise<RCResult>;
|
|
15667
15729
|
/**
|
|
15668
15730
|
* 设置消息搜索字段
|
|
15731
|
+
* @deprecated 老版 V2 中用到
|
|
15669
15732
|
*/
|
|
15670
|
-
setMessageSearchField(messageId: number, content: any, searchFiles: string): Promise<
|
|
15733
|
+
setMessageSearchField(messageId: number, content: any, searchFiles: string): Promise<RCResult>;
|
|
15671
15734
|
/**
|
|
15672
15735
|
* 设置消息发送状态
|
|
15673
15736
|
*/
|
|
@@ -15684,12 +15747,7 @@ declare class APIContext {
|
|
|
15684
15747
|
* 设置当前用户在线状态
|
|
15685
15748
|
* @deprecated 老版 V2 中用到
|
|
15686
15749
|
*/
|
|
15687
|
-
setUserStatus(status: number): Promise<
|
|
15688
|
-
/**
|
|
15689
|
-
* 订阅用户在线状态
|
|
15690
|
-
* @deprecated 老版 V2 中用到
|
|
15691
|
-
*/
|
|
15692
|
-
subscribeUserStatus(userIds: string[]): Promise<ErrorCode>;
|
|
15750
|
+
setUserStatus(status: number): Promise<RCResult>;
|
|
15693
15751
|
/**
|
|
15694
15752
|
* 获取用户在线状态
|
|
15695
15753
|
* @deprecated 老版 V2 中用到
|
|
@@ -16007,326 +16065,38 @@ declare class RTCPluginContext extends PluginContext {
|
|
|
16007
16065
|
}
|
|
16008
16066
|
|
|
16009
16067
|
/**
|
|
16010
|
-
*
|
|
16068
|
+
* 会话聊天模块
|
|
16011
16069
|
*/
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
|
|
16019
|
-
|
|
16020
|
-
*/
|
|
16021
|
-
abstract get connectedTime(): number;
|
|
16022
|
-
protected readonly _appkey: string;
|
|
16023
|
-
private _rtcKVManager;
|
|
16024
|
-
/**
|
|
16025
|
-
* 会话聊天模块
|
|
16026
|
-
*/
|
|
16027
|
-
abstract get chat(): IChatService;
|
|
16028
|
-
abstract get chatroom(): IChatroomService;
|
|
16029
|
-
/**
|
|
16030
|
-
* 用户级配置模块
|
|
16031
|
-
*/
|
|
16032
|
-
abstract get userSettings(): IUserSettingsModule;
|
|
16033
|
-
abstract get naviInfo(): INaviInfo | null;
|
|
16034
|
-
get appkey(): string;
|
|
16035
|
-
get initOption(): IAPIContextOption;
|
|
16036
|
-
abstract get connectionStatus(): RCConnectionStatus;
|
|
16037
|
-
abstract get userId(): string;
|
|
16038
|
-
abstract get logger(): BasicLogger;
|
|
16039
|
-
abstract get usingCppEngine(): boolean;
|
|
16040
|
-
/**
|
|
16041
|
-
* 用户信息托管模块
|
|
16042
|
-
*/
|
|
16043
|
-
abstract get dataHosting(): IDataHostingService;
|
|
16044
|
-
/**
|
|
16045
|
-
* 引擎初始化
|
|
16046
|
-
* @param _appkey
|
|
16047
|
-
*/
|
|
16048
|
-
constructor(_watcher: IEngineWatcher, _options: IAPIContextOption);
|
|
16049
|
-
protected _rtcSignalingListener?: (buffer: Uint8Array) => void;
|
|
16050
|
-
/**
|
|
16051
|
-
* 注册 RTC KV 变更监听器
|
|
16052
|
-
* @param listener
|
|
16053
|
-
*/
|
|
16054
|
-
registerRTCSignalingListener(listener: ((buffer: Uint8Array) => void) | undefined): void;
|
|
16055
|
-
abstract refetchNaviInfo(): Promise<RCResult<INaviInfo | null>>;
|
|
16056
|
-
/**
|
|
16057
|
-
* 为非 engine 包创建 logger 工具实例
|
|
16058
|
-
*/
|
|
16059
|
-
abstract createLogger(id: string, type: LogType): BasicLogger;
|
|
16060
|
-
/**
|
|
16061
|
-
* 建立连接
|
|
16062
|
-
* @param token
|
|
16063
|
-
* @param reconnectKickEnable
|
|
16064
|
-
* @param openCallPlus
|
|
16065
|
-
* @param traceId
|
|
16066
|
-
*/
|
|
16067
|
-
abstract connect(token: string, reconnectKickEnable: boolean, openCallPlus: boolean, traceId: string): Promise<RCResult<string>>;
|
|
16068
|
-
/**
|
|
16069
|
-
* 发送 SDK 版本
|
|
16070
|
-
* @param versionInfo
|
|
16071
|
-
*/
|
|
16072
|
-
abstract reportSDKInfo(versionInfo: Record<string, string>): void;
|
|
16073
|
-
abstract getHistoryMessage(conversation: IConversationOption, options: Required<IGetHistoryMessageOption>, fromLocal: boolean): Promise<RCResult<{
|
|
16074
|
-
list: IReceivedMessage[];
|
|
16075
|
-
hasMore: boolean;
|
|
16076
|
-
}>>;
|
|
16077
|
-
abstract recallMsg(conversation: IConversationOption, recallMsgOptions: IRecallMsgOptions): Promise<RCResult<IReceivedMessage>>;
|
|
16078
|
-
abstract saveTextMessageDraft(conversation: IConversationOption, draft: string): Promise<RCResult>;
|
|
16079
|
-
/**
|
|
16080
|
-
* 获取指定会话消息草稿
|
|
16081
|
-
*/
|
|
16082
|
-
abstract getTextMessageDraft(conversation: IConversationOption): Promise<RCResult<string>>;
|
|
16083
|
-
/**
|
|
16084
|
-
* 清除指定会话消息草稿
|
|
16085
|
-
*/
|
|
16086
|
-
abstract clearTextMessageDraft(conversation: IConversationOption): Promise<RCResult>;
|
|
16087
|
-
/**
|
|
16088
|
-
* 发送消息
|
|
16089
|
-
* @param identifier 会话标识
|
|
16090
|
-
* @param options 消息发送配置
|
|
16091
|
-
* @param traceId 追踪 ID
|
|
16092
|
-
* @param onBefore 消息发送之前的回调,用于返回消息的 messageId
|
|
16093
|
-
*/
|
|
16094
|
-
abstract sendMessage(identifier: IConversationIdentifier, options: IMessageSendOptions, traceId: string, onBefore?: (messageId: number) => void): Promise<RCResult<IReceivedMessage>>;
|
|
16095
|
-
/**
|
|
16096
|
-
* 断开连接
|
|
16097
|
-
* @param closeDB 是否关闭数据库,默认为 true,仅 Electron 平台有效
|
|
16098
|
-
* @param disablePush 是否禁用推送,默认为 false(≥ 5.20.0)
|
|
16099
|
-
*/
|
|
16100
|
-
abstract disconnect(closeDB?: boolean, disablePush?: boolean): Promise<RCResult>;
|
|
16101
|
-
/**
|
|
16102
|
-
* 消息注册
|
|
16103
|
-
* @description
|
|
16104
|
-
* 消息注册需在应用初始化完成前进行,否则在搭配 C++ 协议栈使用时,本端发出的消息将不默认作为未知消息处理,不存储、不计数
|
|
16105
|
-
*/
|
|
16106
|
-
abstract registerMessageType(objectName: string, desc: MessageRegisterParams): void;
|
|
16107
|
-
abstract getFileToken(fileType: FileType, fileName?: string, httpMethod?: string, queryUriString?: string, url?: string, size?: number): Promise<RCResult<IUploadAuth>>;
|
|
16108
|
-
/**
|
|
16109
|
-
* 获取文件的下载地址
|
|
16110
|
-
* @param fileType 文件类型
|
|
16111
|
-
* @param serverType 使用的存储服务标识
|
|
16112
|
-
* @param fileName 文件名
|
|
16113
|
-
* @param saveName 下载后的存储文件名
|
|
16114
|
-
* @returns
|
|
16115
|
-
*/
|
|
16116
|
-
abstract getFileUrl(fileType: FileType, serverType: UploadMethod, fileName: string, originName: string): Promise<RCResult<{
|
|
16117
|
-
downloadUrl: string;
|
|
16118
|
-
}>>;
|
|
16119
|
-
/**
|
|
16120
|
-
* 创建标签
|
|
16121
|
-
* @param tag 标签
|
|
16122
|
-
*/
|
|
16123
|
-
abstract createTag(tag: ITagParam): Promise<RCResult>;
|
|
16124
|
-
/**
|
|
16125
|
-
* 删除标签
|
|
16126
|
-
* @param tagId 标签 id
|
|
16127
|
-
*/
|
|
16128
|
-
abstract removeTag(tagId: string): Promise<RCResult>;
|
|
16129
|
-
/**
|
|
16130
|
-
* 编辑标签
|
|
16131
|
-
* @param tag 标签
|
|
16132
|
-
*/
|
|
16133
|
-
abstract updateTag(tag: ITagParam): Promise<RCResult>;
|
|
16134
|
-
/**
|
|
16135
|
-
* 获取标签列表
|
|
16136
|
-
*/
|
|
16137
|
-
abstract getTagList(): Promise<RCResult<ITagInfo[]>>;
|
|
16138
|
-
/**
|
|
16139
|
-
* 获取服务器时间
|
|
16140
|
-
*/
|
|
16141
|
-
abstract get serverTime(): number;
|
|
16142
|
-
/**
|
|
16143
|
-
* 获取设备 ID
|
|
16144
|
-
*/
|
|
16145
|
-
abstract get deviceId(): string;
|
|
16146
|
-
/**
|
|
16147
|
-
* 设置推送配置
|
|
16148
|
-
* @param config 推送配置
|
|
16149
|
-
*/
|
|
16150
|
-
abstract setPushConfig(config: IAppPushConfig): void;
|
|
16151
|
-
/**
|
|
16152
|
-
* 超级群消息发送
|
|
16153
|
-
* @param targetId
|
|
16154
|
-
* @param options
|
|
16155
|
-
*/
|
|
16156
|
-
abstract sendUltraMessage(identifier: IConversationIdentifier, options: IMessageSendOptions, traceId: string, onSendBefore?: (messageId: number) => void): Promise<RCResult<IReceivedMessage>>;
|
|
16157
|
-
/**
|
|
16158
|
-
* 设置当前用户在线状态
|
|
16159
|
-
*/
|
|
16160
|
-
abstract setUserStatus(status: number): Promise<ErrorCode>;
|
|
16161
|
-
/**
|
|
16162
|
-
* 订阅用户在线状态
|
|
16163
|
-
*/
|
|
16164
|
-
abstract subscribeUserStatus(userIds: string[]): Promise<ErrorCode>;
|
|
16165
|
-
/**
|
|
16166
|
-
* 获取用户状态
|
|
16167
|
-
*/
|
|
16168
|
-
abstract getUserStatus(userId: string): Promise<RCResult<{
|
|
16169
|
-
status: string;
|
|
16170
|
-
}>>;
|
|
16171
|
-
/**
|
|
16172
|
-
* 加入黑名单
|
|
16173
|
-
*/
|
|
16174
|
-
abstract addToBlacklist(userId: string): Promise<RCResult>;
|
|
16175
|
-
/**
|
|
16176
|
-
* 将指定用户移除黑名单
|
|
16177
|
-
*/
|
|
16178
|
-
abstract removeFromBlacklist(userId: string): Promise<RCResult>;
|
|
16179
|
-
/**
|
|
16180
|
-
* 获取黑名单列表
|
|
16181
|
-
*/
|
|
16182
|
-
abstract getBlacklist(): Promise<RCResult<string[]>>;
|
|
16183
|
-
/**
|
|
16184
|
-
* 获取指定人员在黑名单中的状态
|
|
16185
|
-
*/
|
|
16186
|
-
abstract getBlacklistStatus(userId: string): Promise<RCResult<number>>;
|
|
16187
|
-
/**
|
|
16188
|
-
* 向本地插入一条消息,不发送到服务器
|
|
16189
|
-
*/
|
|
16190
|
-
abstract insertMessage(conversation: IConversationOption, insertOptions: InnerInsertMessageParams): Promise<RCResult<IReceivedMessage>>;
|
|
16191
|
-
/**
|
|
16192
|
-
* 向本地批量插入消息
|
|
16193
|
-
* @param messages
|
|
16194
|
-
* @param checkDuplicate
|
|
16195
|
-
*/
|
|
16196
|
-
abstract batchInsertMessage(messages: IInsertMessage[], checkDuplicate: boolean): Promise<RCResult<boolean>>;
|
|
16197
|
-
/**
|
|
16198
|
-
* 删除本地消息
|
|
16199
|
-
*/
|
|
16200
|
-
abstract deleteLocalMessages(messageIds: number[]): Promise<RCResult>;
|
|
16201
|
-
/**
|
|
16202
|
-
* 通过时间戳删除本地消息
|
|
16203
|
-
*/
|
|
16204
|
-
abstract deleteLocalMessagesByTimestamp(conversation: IConversationOption, timestamp: number, cleanSpace: boolean): Promise<RCResult>;
|
|
16205
|
-
/**
|
|
16206
|
-
* 通过时间戳批量清除本地消息
|
|
16207
|
-
*/
|
|
16208
|
-
abstract batchClearLocalMessagesByTimestamp(options: IClearMessageOption[]): Promise<RCResult>;
|
|
16209
|
-
/**
|
|
16210
|
-
* 清空会话下历史消息
|
|
16211
|
-
*/
|
|
16212
|
-
abstract clearLocalMessages(conversation: IConversationOption): Promise<RCResult>;
|
|
16213
|
-
/**
|
|
16214
|
-
* 获取消息
|
|
16215
|
-
*/
|
|
16216
|
-
abstract getMessage(messageId: number | string): Promise<RCResult<IReceivedMessage>>;
|
|
16217
|
-
/**
|
|
16218
|
-
* 设置消息内容
|
|
16219
|
-
*/
|
|
16220
|
-
abstract setMessageContent(messageId: number, content: any, messageType: string): Promise<RCResult>;
|
|
16221
|
-
/**
|
|
16222
|
-
* 设置消息搜索字段
|
|
16223
|
-
*/
|
|
16224
|
-
abstract setMessageSearchField(messageId: number, content: any, searchFiles: string): Promise<ErrorCode>;
|
|
16225
|
-
/**
|
|
16226
|
-
* 通过关键字搜索所有会话
|
|
16227
|
-
*/
|
|
16228
|
-
abstract searchConversationByContentWithAllChannel(keyword: string, messageTypes: string[], conversationTypes: ConversationType[]): Promise<RCResult<IReceivedConversation[]>>;
|
|
16229
|
-
abstract searchMessagesWithParams(params: ISearchMessageParams): Promise<RCResult<ISearchMessagesResult>>;
|
|
16230
|
-
/**
|
|
16231
|
-
* 设置消息发送状态
|
|
16232
|
-
*/
|
|
16233
|
-
abstract setMessageSentStatus(messageId: number, sentStatus: number): Promise<RCResult>;
|
|
16234
|
-
/**
|
|
16235
|
-
* 设置消息接收状态
|
|
16236
|
-
*/
|
|
16237
|
-
abstract setMessageReceivedStatus(messageId: number, receivedStatus: number): Promise<RCResult>;
|
|
16070
|
+
interface IChatService extends Pick<IIPCMethods, 'getTotalUnreadCount' | 'getConversation' | 'batchSetConversationToTop' | 'batchSetConversationNotificationLevel' | 'getConversationNotificationLevel' | 'setConversationTypeNotificationLevel' | 'getConversationTypeNotificationLevel' | 'clearAllSGUnreadCount' | 'deleteRemoteMessage' | 'deleteRemoteMessageByTimestamp' | 'batchClearRemoteHistoryMessages' | 'sendReadReceiptResponseV5' | 'getMessageReadReceiptInfoV5ByIdentifiers' | 'getMessagesReadReceiptUsersByPageV5' | 'getMessagesReadReceiptByUsersV5' | 'searchConversationByContent' | 'requestSpeechToTextForMessage' | 'setMessageSpeechToTextVisible' | 'addTagForConversations' | 'getTagsForConversation' | 'setConversationStatusInTag' | 'removeTagForConversations' | 'removeTagsForConversation' | 'getConversationListByTag' | 'getUnreadCountByTag' | 'getUntaggedConversationListByPage' | 'batchSetConversationTranslateStrategy' | 'modifyMessageWithParams' | 'refreshReferenceMessageWithParams' | 'batchDeleteConversations' | 'sendReadReceiptV2' | 'syncRemoteConversations' | 'sendUltraGroupTypingStatus' | 'getUltraGroupList' | 'getRemoteMessagesByUIds' | 'getUGUnreadMentionedDigest' | 'getHistoryMessagesByObjectNames' | 'getContinuousMessages' | 'getMessagesAroundTimestamp' | 'deleteLocalUGMessagesForAllChannel' | 'updateUGMessageExpansion' | 'setUGDefaultNotificationLevel' | 'getUGDefaultNotificationLevel' | 'getUnreadMentionedMessages' | 'getUnreadMentionedCount' | 'getAllUnreadMentionedCount' | 'getTotalUnreadCountByLevels' | 'getConversationUnreadCount' | 'getFirstUnreadMessage' | 'getFirstUnreadMessageDigest' | 'getUGUnreadCountForAllChannels' | 'getUGUnreadInfoList' | 'getUGFirstUnreadMessageDigest' | 'getConversations' | 'clearConversationUnreadCount' | 'markRemoteConversationAsRead' | 'getTopConversationList' | 'getUnreadConversationList' | 'getConversationListByPageIndex' | 'getAllConversationList' | 'getConversationListByTimestamp' | 'clearConversations' | 'getBlockedConversationList' | 'getBlockedUGList' | 'saveEditedMessageDraft' | 'getEditedMessageDraft' | 'clearEditedMessageDraft' | 'getUnreadMentionMeConversationList' | 'sendUltraGroupTypingStatus' | 'updateConversationReadTime' | 'clearUnreadCountByTimestamp' | 'getMessageReader' | 'getMessageReadReceiptV4' | 'sendReadReceiptMessageV4' | 'getConversationsIncludingRobots'> {
|
|
16071
|
+
/** 超级群是否已同步完成 */
|
|
16072
|
+
get ugSynced(): boolean;
|
|
16073
|
+
getRealtimeConversations(count: number, startTime: number, order: 0 | 1): Promise<RCResult<IReceivedConversation[]>>;
|
|
16074
|
+
getRealtimeConTotalUnreadCount(): Promise<RCResult<number>>;
|
|
16075
|
+
clearRealtimeConUnreadCount(identifier: IConversationIdentifier): Promise<RCResult>;
|
|
16076
|
+
removeRealtimeConversations(identifiers: IConversationIdentifier[]): Promise<RCResult>;
|
|
16077
|
+
batchGetRealtimeConUnreadCount(identifiers: IConversationIdentifier[]): Promise<RCResult<IConversationUnreadCount[]>>;
|
|
16238
16078
|
/**
|
|
16239
|
-
*
|
|
16079
|
+
* 分页加载会话列表
|
|
16080
|
+
* @param pageToken 分页 token
|
|
16081
|
+
* @param count 分页数量
|
|
16082
|
+
* @param options 会话列表加载器选项,仅 pageToken 无值时有效
|
|
16240
16083
|
*/
|
|
16241
|
-
|
|
16242
|
-
|
|
16243
|
-
|
|
16244
|
-
|
|
16084
|
+
loadConversationList(pageToken: string, count: number, options: IConversationListLoaderOptions): Promise<RCResult<{
|
|
16085
|
+
pageToken: string;
|
|
16086
|
+
finished: boolean;
|
|
16087
|
+
list: IReceivedConversation[];
|
|
16245
16088
|
}>>;
|
|
16246
|
-
abstract clearLocalData(): Promise<RCResult<boolean>>;
|
|
16247
|
-
/**
|
|
16248
|
-
* 获取运行时的系统信息,仅限 Electron 平台可用
|
|
16249
|
-
*/
|
|
16250
|
-
abstract getOSInfo(): Promise<RCResult<IOSInfo>>;
|
|
16251
|
-
/**
|
|
16252
|
-
* 获取当前渲染进程信息,仅限 Electron 平台可用
|
|
16253
|
-
*/
|
|
16254
|
-
abstract getProcessInfo(): Promise<RCResult<IProcessInfo>>;
|
|
16255
|
-
/**
|
|
16256
|
-
* 获取应用主进程信息,仅限 Electron 平台可用
|
|
16257
|
-
*/
|
|
16258
|
-
abstract getMainProcessInfo(): Promise<RCResult<IProcessInfo>>;
|
|
16259
|
-
/**
|
|
16260
|
-
* 设置融云消息重排开关
|
|
16261
|
-
*/
|
|
16262
|
-
abstract setCheckDuplicateMessage(enableCheck: boolean): Promise<RCResult<boolean>>;
|
|
16263
|
-
/**
|
|
16264
|
-
* RTC 通用调用接口
|
|
16265
|
-
* 在非 Comet 协议下,入参 sourceData 应为 ArrayBuffer 数据,返回结果为 Uint8Array 数据
|
|
16266
|
-
* @param roomId 房间 ID
|
|
16267
|
-
* @param method CMP 接口方法名
|
|
16268
|
-
* @param isQuery 使用 `qry` or `pub` 进行请求,按服务要求传递
|
|
16269
|
-
* @param sourceData PB 数据
|
|
16270
|
-
*/
|
|
16271
|
-
abstract rtcSignaling(roomId: string, method: string, isQuery: boolean, sourceData: ArrayBuffer): Promise<RCResult<Uint8Array>>;
|
|
16272
|
-
abstract rtcPing(roomId: string, mode: number, broadcastType?: number): Promise<RCResult<any>>;
|
|
16273
|
-
pullRTCRoomEntry(roomId: string, _timestamp: number): Promise<RCResult<number>>;
|
|
16274
|
-
/**
|
|
16275
|
-
* 接收 rtc 资源变更
|
|
16276
|
-
*/
|
|
16277
|
-
protected _receiveRtcKv(buffer: Uint8Array): void;
|
|
16278
|
-
/**
|
|
16279
|
-
* Engine 反初始化
|
|
16280
|
-
*/
|
|
16281
|
-
destroy(): void;
|
|
16282
|
-
/**
|
|
16283
|
-
* 设置代理
|
|
16284
|
-
*/
|
|
16285
|
-
abstract setProxy(proxy: IProxy | null): Promise<RCResult>;
|
|
16286
|
-
/**
|
|
16287
|
-
* 获取代理
|
|
16288
|
-
*/
|
|
16289
|
-
abstract getProxy(): Promise<RCResult<IProxy>>;
|
|
16290
|
-
/**
|
|
16291
|
-
* 测试代理
|
|
16292
|
-
*/
|
|
16293
|
-
abstract testProxy(proxy: IProxy, testHost: string): Promise<RCResult>;
|
|
16294
|
-
/**
|
|
16295
|
-
* 设置当前网络
|
|
16296
|
-
*/
|
|
16297
|
-
abstract setNetwork(data: INetwork, isUnPrintLog?: boolean): void;
|
|
16298
16089
|
/**
|
|
16299
|
-
*
|
|
16300
|
-
*/
|
|
16301
|
-
abstract subscribeUser(userIds: string[], subscribeType: SubscribeType, expiry: number): Promise<RCResult<string[]>>;
|
|
16302
|
-
/**
|
|
16303
|
-
* 取消订阅用户状态事件
|
|
16304
|
-
*/
|
|
16305
|
-
abstract unSubscribeUser(userIds: string[], subscribeType: SubscribeType): Promise<RCResult>;
|
|
16306
|
-
/**
|
|
16307
|
-
* 获取已订阅列表
|
|
16308
|
-
*/
|
|
16309
|
-
abstract getSubscribeUserList(subscribeType: SubscribeType, count: number, offset: number): Promise<RCResult<ISubscribeUserStatusInfo[]>>;
|
|
16310
|
-
/**
|
|
16311
|
-
* 获取指定用户的在线状态
|
|
16312
|
-
*/
|
|
16313
|
-
abstract getSubscribeUserStatus(subscribeType: SubscribeType, userIds: string[]): Promise<RCResult<ISubscribeUserStatusInfo[]>>;
|
|
16314
|
-
abstract updateMyUserProfile(profile: IUserProfileInfo): Promise<RCResult<IUpdateMyProfileFail>>;
|
|
16315
|
-
abstract getUserProfiles(userIds: string[]): Promise<RCResult<IUserProfileInfo[]>>;
|
|
16316
|
-
abstract getMyUserProfile(): Promise<RCResult<IUserProfileInfo>>;
|
|
16317
|
-
abstract setNotificationQuietHoursWithSetting(opts: INotificationQuietHoursSetting): Promise<RCResult>;
|
|
16318
|
-
abstract removeNotificationQuietHoursSetting(): Promise<RCResult>;
|
|
16319
|
-
abstract getNotificationQuietHoursSetting(): Promise<RCResult<INotificationQuietHoursSetting>>;
|
|
16320
|
-
/**
|
|
16321
|
-
* 获取统计地址
|
|
16090
|
+
* 批量获取消息已读回执信息,暂仅支持群聊 (V4)
|
|
16322
16091
|
*/
|
|
16323
|
-
|
|
16324
|
-
abstract translateWithParams(list: InnerTransParam[], mode: TranslateMode, force: boolean, from: 0 | 1): Promise<RCResult>;
|
|
16325
|
-
abstract getLocalMessageCount(conversation: IConversationOption): Promise<RCResult<number>>;
|
|
16326
|
-
abstract getSubscribeUsersOnlineStatus(userIds: string[]): Promise<RCResult<ISubscribeUserOnlineStatus[]>>;
|
|
16327
|
-
abstract getAllRobots(): Promise<RCResult<IRobotInfo[]>>;
|
|
16092
|
+
batchGetMessageReadReceiptInfoV4(conversation: IConversationIdentifier, messageUIds: string[]): Promise<RCResult<IGroupReadReceiptData[]>>;
|
|
16328
16093
|
}
|
|
16329
16094
|
|
|
16095
|
+
/**
|
|
16096
|
+
* 用户设置模块
|
|
16097
|
+
*/
|
|
16098
|
+
declare type IUserSettingsModule = Pick<IIPCMethods, 'setTranslationLanguage' | 'getTranslationLanguage' | 'setAutoTranslateEnabled' | 'getAutoTranslateEnabled'>;
|
|
16099
|
+
|
|
16330
16100
|
/**
|
|
16331
16101
|
* 流式消息数据拉取响应事件类型
|
|
16332
16102
|
* @category Enum
|
|
@@ -16449,4 +16219,4 @@ declare const assert: (key: string, value: any, validator: AssertRules | ((value
|
|
|
16449
16219
|
*/
|
|
16450
16220
|
declare const validate: (key: string, value: any, validator: AssertRules | ((value?: any) => boolean), required?: boolean) => boolean;
|
|
16451
16221
|
|
|
16452
|
-
export { APIContext, AbsCodec, AppSettings, AreaCode, AssertRules,
|
|
16222
|
+
export { APIContext, AbsCodec, AppSettings, AreaCode, AssertRules, BasicLogger, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectionStatus, ConversationBatchDeletionParams, ConversationListLoader, ConversationType, DataHosting, DirectionType, EnableLogL, ErrorCode, EventEmitter, FileType, FilterRobotType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendRelationType, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupOperation, GroupOperationPermission, GroupOperationRole, GroupOperationStatus, GroupOperationType, GroupReadReceiptVersion, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAppPushConfig, IAsyncRes, IAuditInfoKeyInMessage, IAuditInfoValueInMessage, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatService, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomErrorKeys, IChatroomInfo, IChatroomJoinResponse, IChatroomListener, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomService, IChatroomUser, IChatroomUserChangeInfo, IClearMessageOption, ICombineMessageContent, ICombineV2MessageContent, ICombinedMessage, ICommandMessageContent, IConnectionStatusListener, IConversationFilter, IConversationIdentifier, IConversationListLoaderOptions, IConversationOption, IConversationStateListener, IConversationTag, IConversationTagFilter, IConversationTagListener, IConversationUnreadCount, IConvertHQVoiceMessageToTextOption, IConvertSpeechToTextOption, IConvertVoiceMessageToTextOption, ICreateGroupFail, IDataHostingService, IDataManagementInfo, IDeletedExpansion, IDownloadAuth, IEditedMessageDraft, IEnginRefreshReferenceMessageResult, IEngineWatcher, IErrorKeys, IEventListener, IExpansionListener, IExpansionListenerData, IExpansionMsgContent, IExtraDataKeyInMessage, IFileMessageContent, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendRelationInfo, IGIFMessageContent, IGetConversationListByTimestampParams, IGetConversationsIncludingRobotsOption, IGetGroupMembersOption, IGetHistoryMessageOption, IGetHistoryMessageResult, IGetHistoryMessagesByTypesOption, IGetUltraGroupListOption, IGetUnreadMentionMeConversationListParams, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupNotificationMessageContent, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHQVoiceMessageContent, IHarmonyOSPushConfig, IIPCMethods, IIPCMethodsSync, IIPCMethodsWithoutResult, IImageMessageContent, IInformationNotificationMessageContent, IInsertMessage, ILocalTagStatus, ILocationMessageContent, ILogData, ILogger, IMemberInviteResponse, IMentionedInfoKeyInMessage, IMessageAttrsForUpdateExpansion, IMessageDesc, IMessageExtraData, IMessageFilter, IMessageIdentifier, IMessageListnenr, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, IMessageSendOptions, IModifyMessageParams, INaviInfo, INetwork, INotificationQuietHoursSetting, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPlatformOnlineStatus, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessCode, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCUsers, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IRecallCommandMessageContent, IRecallMsgOptions, IRecallNotificationMessageContent, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IReferContentInMessage, IReferContentKeyInMessage, IReferenceMessageContent, IRefreshReferenceMessageParams, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IRequest, IResponse, IRichContentMessageContent, IRobotInfo, IRuntime, ISearchMessageParams, ISearchMessagesResult, ISendMsgOptions, IServerGroupBaseInfo, ISightMessageContent, ISpeechToTextInfo, ISpeechToTextResponse, IStorage, IStreamMessageContent, IStreamMessageResponseChunkData, IStreamMessageResponseEventData, ISubscribeRelationInfo, ISubscribeStatusDetail, ISubscribeUserOnlineStatus, ISubscribeUserStatusInfo, ISyncReadStatusData, ITagInfo, ITagListener, ITagParam, ITextMessageContent, ITimeRange, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraUnreadMsg, IUpdateItem, IUpdateMyProfileFail, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserExtraKeyInMessage, IUserExtraValueInMessage, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IUserProfileInfo, IUserSettingsChangedEvent, IUserSettingsModule, IVoiceMessageContent, IWatcher, IiOSPushConfig, InnerInsertMessageParams, InnerTransParam, InterruptionLevel, ItypingStateListener, KVString, LogDBProxy, LogL, LogLevel, LogSource, Log as LogTagId, LogType, MAX_MESSAGE_CONTENT_BYTES, MAX_U32_INTEGER, MAX_UPLOAD_FILE_SIZE, MentionedInfo, MentionedType, MessageAuditType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageRegisterParams, MessageType, MessageTypeDescription, NotificationLevel, NotificationStatus, OnlineStatus, OperateStatus, Codec$1 as PBCodec, Platform, PluginContext, PushImportanceHonor, PushNotificationQuietHoursLevel, QueryFriendsDirectionType, RCConnectionStatus, RCResult, RTCApiType, RTCJoinType, RTCMode, RTCPluginContext, ReadReceiptInfoV5, ReadReceiptResponseV5, ReadReceiptUser, ReadReceiptUsersOption, ReadReceiptUsersResult, ReceivedStatus, ReferenceMessageStatus, SSEModule, SentStatus, SpeechToTextStatus, StreamMessageResponseEventType, SubscribeOperationType, SubscribeType, SuspendablePromise, TranslateInfo, TranslateItem, TranslateMessageParam, TranslateMessagesParams, TranslateMode, TranslateStatus, TranslateStrategy, TranslateTextParam, TranslateTextsParams, UPLOAD_FILE_CHUNK_SIZE, UUId, UltraGroupChannelChangeType, UltraGroupChannelType, UploadMethod, UserProfileVisibility, UserSettingsChangedKey, UserType, Validator, VersionManage, assert, createLogDBProxy, fail, fixUrlProtocol, forEach, getMessageTypeDescription, getUUID, getUUID22, hasMessageTypeDescription, httpRequest, isArray, isBoolean, isFunction, isHttpUrl, isInteger, isLimitedString, isNull, isNumber, isObject, isString, isUndefined, isValidConversationType, isValidEnum, isValidFileType, isValidGroupId, isValidTargetId, map, notEmptyArray, notEmptyObject, notEmptyString, ok, promiseWithResolvers, runtime, trans2IReceivedStatusInfo, trans2NotificationLevel, trans2NotificationStatus, transformReceivedStatusFlag, usingCppEngine, validate };
|