@rongcloud/engine 5.20.2-enterprise.2 → 5.20.2-enterprise.4
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 +63 -146
- package/index.esm.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -134,8 +134,6 @@ declare const LogTagId: {
|
|
|
134
134
|
readonly A_GET_HISTORY_MSG_R: "A-get_history_msg-R";
|
|
135
135
|
readonly L_GET_HISTORY_MSG_T: "L-get_history_msg-T";
|
|
136
136
|
readonly L_GET_HISTORY_MSG_R: "L-get_history_msg-R";
|
|
137
|
-
readonly A_GET_PRIVATE_MESSAGE_DELIVER_TIME_E: "A-get_privage_message_deliver_time-E";
|
|
138
|
-
readonly A_GET_GROUP_MESSAGE_DELIVER_LIST_E: "A-get_group_message_deliver_list-E";
|
|
139
137
|
readonly L_CALLBACK_E: "L-callback-E";
|
|
140
138
|
readonly A_SEND_MESSAGE_READ_RECEIPT_V4_T: "A-send_message_read_receipt_V4-T";
|
|
141
139
|
readonly A_SEND_MESSAGE_READ_RECEIPT_V4_R: "A-send_message_read_receipt_V4-R";
|
|
@@ -258,6 +256,7 @@ declare const LogTagId: {
|
|
|
258
256
|
readonly A_E_SET_MESSAGE_STATUS_TO_READ_R: "A-e_set_message_status_to_read-R";
|
|
259
257
|
readonly A_SEARCH_MSGS_BY_PARAMS_T: "A-search_msgs_by_params-T";
|
|
260
258
|
readonly A_SEARCH_MSGS_BY_PARAMS_R: "A-search_msgs_by_params-R";
|
|
259
|
+
readonly L_PULL_OFFLINE_MESSAGE_FINISHED_S: "L-pull_offline_message_finished-S";
|
|
261
260
|
};
|
|
262
261
|
|
|
263
262
|
/**
|
|
@@ -2833,15 +2832,15 @@ declare enum MessageType {
|
|
|
2833
2832
|
*/
|
|
2834
2833
|
RECALL_NOTIFICATION_MESSAGE = "RC:RcNtf",
|
|
2835
2834
|
/**
|
|
2836
|
-
*
|
|
2835
|
+
* 单聊已读回执(V1)
|
|
2837
2836
|
*/
|
|
2838
2837
|
READ_RECEIPT = "RC:ReadNtf",
|
|
2839
2838
|
/**
|
|
2840
|
-
*
|
|
2839
|
+
* 群已读请求回执消息(V1)
|
|
2841
2840
|
*/
|
|
2842
2841
|
READ_RECEIPT_REQUEST = "RC:RRReqMsg",
|
|
2843
2842
|
/**
|
|
2844
|
-
*
|
|
2843
|
+
* 群已读响应回执消息(V1)
|
|
2845
2844
|
*/
|
|
2846
2845
|
READ_RECEIPT_RESPONSE = "RC:RRRspMsg",
|
|
2847
2846
|
/**
|
|
@@ -2849,7 +2848,7 @@ declare enum MessageType {
|
|
|
2849
2848
|
*/
|
|
2850
2849
|
SYNC_READ_STATUS = "RC:SRSMsg",
|
|
2851
2850
|
/**
|
|
2852
|
-
* 接受群已读回执更新消息 (导航开关 grpRRVer = 1
|
|
2851
|
+
* 接受群已读回执更新消息 (导航开关 grpRRVer = 1 时使用,即已读回执 V2 版本)
|
|
2853
2852
|
*/
|
|
2854
2853
|
GROUP_READ_RECEIPT_REQUEST = "RC:RRMsg",
|
|
2855
2854
|
/**
|
|
@@ -2857,11 +2856,11 @@ declare enum MessageType {
|
|
|
2857
2856
|
*/
|
|
2858
2857
|
READ_STATE = "RC:RSMsg",
|
|
2859
2858
|
/**
|
|
2860
|
-
*
|
|
2859
|
+
* 消息送达报告,仅单聊(Beem 专用,不对外,公有云不处理)
|
|
2861
2860
|
*/
|
|
2862
2861
|
DELIVERED = "RC:Delivered",
|
|
2863
2862
|
/**
|
|
2864
|
-
*
|
|
2863
|
+
* 消息送达状态报告,仅群聊(Beem 专用,不对外,公有云不处理)
|
|
2865
2864
|
*/
|
|
2866
2865
|
DELIVERED_MSG = "RC:DRMsg",
|
|
2867
2866
|
/**
|
|
@@ -2889,7 +2888,7 @@ declare enum MessageType {
|
|
|
2889
2888
|
*/
|
|
2890
2889
|
INTERCEPT = "RC:InterceptMsg",
|
|
2891
2890
|
/**
|
|
2892
|
-
*
|
|
2891
|
+
* 云控消息,有 Admin 后台发出,不存储、不计数,但进离线
|
|
2893
2892
|
*/
|
|
2894
2893
|
CLOUD_CONTROL = "RC:CCConfigChangeRequestMsg",
|
|
2895
2894
|
/**
|
|
@@ -4706,31 +4705,6 @@ interface IProcessInfo {
|
|
|
4706
4705
|
};
|
|
4707
4706
|
}
|
|
4708
4707
|
|
|
4709
|
-
/**
|
|
4710
|
-
* 连接事件监听器
|
|
4711
|
-
* @typeParam T - onConnected 是否包含 fromSuspend 参数
|
|
4712
|
-
*/
|
|
4713
|
-
declare type IConnectionListener<T extends boolean = false> = {
|
|
4714
|
-
/**
|
|
4715
|
-
* 连接成功
|
|
4716
|
-
*/
|
|
4717
|
-
onConnected: T extends true ? (fromSuspend: boolean) => void : () => void;
|
|
4718
|
-
/**
|
|
4719
|
-
* 连接中止,SDK 内部会进行重连
|
|
4720
|
-
* @param code 中止原因
|
|
4721
|
-
*/
|
|
4722
|
-
onSuspend(code: ErrorCode): void;
|
|
4723
|
-
/**
|
|
4724
|
-
* 连接中
|
|
4725
|
-
*/
|
|
4726
|
-
onConnecting(): void;
|
|
4727
|
-
/**
|
|
4728
|
-
* 连接已终止
|
|
4729
|
-
* @param code 连接终止原因
|
|
4730
|
-
*/
|
|
4731
|
-
onDisconnected(code: ErrorCode): void;
|
|
4732
|
-
};
|
|
4733
|
-
|
|
4734
4708
|
/**
|
|
4735
4709
|
* 会话变更更新项
|
|
4736
4710
|
* @category Interface
|
|
@@ -5260,7 +5234,7 @@ interface IReceivedStatusInfo {
|
|
|
5260
5234
|
* 从服务端接收到的消息数据
|
|
5261
5235
|
* @category Interface
|
|
5262
5236
|
*/
|
|
5263
|
-
interface IReceivedMessage {
|
|
5237
|
+
interface IReceivedMessage<T = any> {
|
|
5264
5238
|
/**
|
|
5265
5239
|
* 会话的业务标识
|
|
5266
5240
|
*/
|
|
@@ -5288,7 +5262,7 @@ interface IReceivedMessage {
|
|
|
5288
5262
|
/**
|
|
5289
5263
|
* 消息内容
|
|
5290
5264
|
*/
|
|
5291
|
-
content:
|
|
5265
|
+
content: T;
|
|
5292
5266
|
/**
|
|
5293
5267
|
* 消息结构名称,即消息类型
|
|
5294
5268
|
*/
|
|
@@ -5831,16 +5805,8 @@ interface ISendExMsgOptions {
|
|
|
5831
5805
|
[key: string]: string;
|
|
5832
5806
|
};
|
|
5833
5807
|
/**
|
|
5834
|
-
*
|
|
5835
|
-
|
|
5836
|
-
removeAll?: boolean;
|
|
5837
|
-
/**
|
|
5838
|
-
* 原始消息的扩展
|
|
5839
|
-
*/
|
|
5840
|
-
originExpansion?: {
|
|
5841
|
-
[key: string]: string;
|
|
5842
|
-
} | null;
|
|
5843
|
-
/** 消息类型 */
|
|
5808
|
+
* 消息类型
|
|
5809
|
+
*/
|
|
5844
5810
|
messageType: string;
|
|
5845
5811
|
}
|
|
5846
5812
|
interface IUltraExMsgOptions {
|
|
@@ -6079,49 +6045,6 @@ interface IGetMsgOption {
|
|
|
6079
6045
|
channelId?: string;
|
|
6080
6046
|
}
|
|
6081
6047
|
|
|
6082
|
-
/**
|
|
6083
|
-
* 送达的用户信息
|
|
6084
|
-
* @hidden
|
|
6085
|
-
*/
|
|
6086
|
-
interface IDeliveredUser {
|
|
6087
|
-
time: number;
|
|
6088
|
-
userId: string;
|
|
6089
|
-
}
|
|
6090
|
-
/**
|
|
6091
|
-
* 获取群组消息送达的状态信息
|
|
6092
|
-
* @hidden
|
|
6093
|
-
*/
|
|
6094
|
-
interface IGroupMessageDeliverInfo {
|
|
6095
|
-
totalCount: number;
|
|
6096
|
-
list: IDeliveredUser[];
|
|
6097
|
-
}
|
|
6098
|
-
/**
|
|
6099
|
-
* 单聊消息送达通知数据
|
|
6100
|
-
* @hidden
|
|
6101
|
-
*/
|
|
6102
|
-
interface IMessageDeliver {
|
|
6103
|
-
deliverTime: number;
|
|
6104
|
-
messageUId: string;
|
|
6105
|
-
objectName: string;
|
|
6106
|
-
targetId: string;
|
|
6107
|
-
}
|
|
6108
|
-
/**
|
|
6109
|
-
* 群组消息送达通知数据信息
|
|
6110
|
-
* @hidden
|
|
6111
|
-
*/
|
|
6112
|
-
interface IGroupMessageDeliveredStatusInfo {
|
|
6113
|
-
MessageUId: string;
|
|
6114
|
-
deliveryCount: number;
|
|
6115
|
-
}
|
|
6116
|
-
/**
|
|
6117
|
-
* 群组消息送达通知数据
|
|
6118
|
-
* @hidden
|
|
6119
|
-
*/
|
|
6120
|
-
interface IGroupMessageDeliverStatus {
|
|
6121
|
-
totalCount: number;
|
|
6122
|
-
list: IGroupMessageDeliveredStatusInfo[];
|
|
6123
|
-
}
|
|
6124
|
-
|
|
6125
6048
|
interface IServerAddressData {
|
|
6126
6049
|
addr: string;
|
|
6127
6050
|
protocol: EConnectProtocol;
|
|
@@ -7873,9 +7796,9 @@ interface IIPCMethods {
|
|
|
7873
7796
|
/**
|
|
7874
7797
|
* 获取文件上传后下载地址
|
|
7875
7798
|
*/
|
|
7876
|
-
getFileUrl(fileType: FileType, uploadMethod: UploadMethod, fileName
|
|
7799
|
+
getFileUrl(fileType: FileType, uploadMethod: UploadMethod, fileName: string, originName: string): Promise<RCResult<{
|
|
7877
7800
|
downloadUrl: string;
|
|
7878
|
-
}
|
|
7801
|
+
}>>;
|
|
7879
7802
|
/**
|
|
7880
7803
|
* 创建标签
|
|
7881
7804
|
* @param tag 标签
|
|
@@ -8199,14 +8122,38 @@ interface IIPCMethods {
|
|
|
8199
8122
|
removeChatroomFromCatch(roomId: string): void;
|
|
8200
8123
|
}
|
|
8201
8124
|
|
|
8125
|
+
/**
|
|
8126
|
+
* 连接事件监听器
|
|
8127
|
+
* @typeParam T - onConnected 是否包含 fromSuspend 参数
|
|
8128
|
+
*/
|
|
8129
|
+
declare type IConnectionListener<T extends boolean = false> = {
|
|
8130
|
+
/**
|
|
8131
|
+
* 连接成功
|
|
8132
|
+
* @description 仅 Electron 平台会返回 processCache 参数,用于同步主进程缓存数据
|
|
8133
|
+
*/
|
|
8134
|
+
onConnected: T extends true ? (fromSuspend: boolean) => void : (processCache?: IProcessCache) => void;
|
|
8135
|
+
/**
|
|
8136
|
+
* 连接中止,SDK 内部会进行重连
|
|
8137
|
+
* @param code 中止原因
|
|
8138
|
+
*/
|
|
8139
|
+
onSuspend(code: ErrorCode): void;
|
|
8140
|
+
/**
|
|
8141
|
+
* 连接中
|
|
8142
|
+
*/
|
|
8143
|
+
onConnecting(): void;
|
|
8144
|
+
/**
|
|
8145
|
+
* 连接已终止
|
|
8146
|
+
* @param code 连接终止原因
|
|
8147
|
+
*/
|
|
8148
|
+
onDisconnected(code: ErrorCode): void;
|
|
8149
|
+
};
|
|
8150
|
+
|
|
8202
8151
|
/**
|
|
8203
8152
|
* 扩展更新
|
|
8204
8153
|
* @category Interface
|
|
8205
8154
|
*/
|
|
8206
8155
|
interface IUpdatedExpansion {
|
|
8207
|
-
expansion:
|
|
8208
|
-
[key: string]: any;
|
|
8209
|
-
};
|
|
8156
|
+
expansion: Record<string, any>;
|
|
8210
8157
|
messageUId: string;
|
|
8211
8158
|
conversationType: ConversationType;
|
|
8212
8159
|
targetId: string;
|
|
@@ -8353,7 +8300,7 @@ interface IUserGroupStatusInfo {
|
|
|
8353
8300
|
userGroupUnBindChannel?: IChannelAndUserGroupChangeData[];
|
|
8354
8301
|
}
|
|
8355
8302
|
|
|
8356
|
-
interface IEngineWatcher extends IConnectionListener {
|
|
8303
|
+
interface IEngineWatcher extends IConnectionListener<false> {
|
|
8357
8304
|
/**
|
|
8358
8305
|
* @param message 消息
|
|
8359
8306
|
* @param leftCount 参数废弃,值始终为 undefined
|
|
@@ -8382,8 +8329,6 @@ interface IEngineWatcher extends IConnectionListener {
|
|
|
8382
8329
|
*/
|
|
8383
8330
|
onRTCDataChange: (data: IServerRTCRoomEntry[], roomId?: string) => void;
|
|
8384
8331
|
pullFinished: () => void;
|
|
8385
|
-
messageDelivered: (data: IMessageDeliver[]) => void;
|
|
8386
|
-
groupMessageDeliveredStatus: (data: IGroupMessageDeliverStatus) => void;
|
|
8387
8332
|
callInfo: (data: string) => void;
|
|
8388
8333
|
onNaviDataChange: (naviInfo: INaviInfo) => void;
|
|
8389
8334
|
userGroupStatus: (info: IUserGroupStatusInfo) => void;
|
|
@@ -8395,25 +8340,25 @@ interface IEngineWatcher extends IConnectionListener {
|
|
|
8395
8340
|
* 同步已读状态 V4
|
|
8396
8341
|
*/
|
|
8397
8342
|
syncReadStatus: (data: ISyncReadStatusData) => void;
|
|
8398
|
-
subscribedUserStatusChange
|
|
8399
|
-
subscribedRelationChange
|
|
8400
|
-
syncSubscribedUserStatusFinished
|
|
8401
|
-
ownUserProfileChanged
|
|
8402
|
-
groupOperation
|
|
8403
|
-
groupInfoChanged
|
|
8404
|
-
groupMemberInfoChanged
|
|
8343
|
+
subscribedUserStatusChange: (data: ISubscribeUserStatusInfo[]) => void;
|
|
8344
|
+
subscribedRelationChange: (data: ISubscribeRelationInfo[]) => void;
|
|
8345
|
+
syncSubscribedUserStatusFinished: (subscribeType: SubscribeType) => void;
|
|
8346
|
+
ownUserProfileChanged: (data: IUserProfileInfo) => void;
|
|
8347
|
+
groupOperation: (data: IGroupOperationInfo) => void;
|
|
8348
|
+
groupInfoChanged: (data: IGroupInfoChanged) => void;
|
|
8349
|
+
groupMemberInfoChanged: (data: IGroupMemberInfoChanged) => void;
|
|
8405
8350
|
groupApplicationEvent: (data: IGroupApplicationInfo) => void;
|
|
8406
|
-
groupRemarkChangedSync
|
|
8407
|
-
groupFollowsChangedSync
|
|
8408
|
-
friendAdd
|
|
8409
|
-
friendDelete
|
|
8410
|
-
friendApplicationStatusChanged
|
|
8411
|
-
friendCleared
|
|
8412
|
-
friendInfoChangedSync
|
|
8351
|
+
groupRemarkChangedSync: (data: IGroupRemarkChangedSync) => void;
|
|
8352
|
+
groupFollowsChangedSync: (data: IGroupFollowsChangedSync) => void;
|
|
8353
|
+
friendAdd: (data: IFriendAdd) => void;
|
|
8354
|
+
friendDelete: (data: IFriendDelete) => void;
|
|
8355
|
+
friendApplicationStatusChanged: (data: IFriendApplicationStatusChange) => void;
|
|
8356
|
+
friendCleared: (data: number) => void;
|
|
8357
|
+
friendInfoChangedSync: (data: IFriendInfoChangedSync) => void;
|
|
8413
8358
|
databaseUpgradeWillStart: () => void;
|
|
8414
8359
|
databaseUpgrading: (progress: number) => void;
|
|
8415
8360
|
databaseUpgradeDidComplete: (code: ErrorCode) => void;
|
|
8416
|
-
readReceiptResponseV5
|
|
8361
|
+
readReceiptResponseV5: (data: ReadReceiptResponseV5[]) => void;
|
|
8417
8362
|
}
|
|
8418
8363
|
|
|
8419
8364
|
declare type IErrorKeys = {
|
|
@@ -9436,8 +9381,6 @@ declare type ITagListener = () => void;
|
|
|
9436
9381
|
declare type IConversationTagListener = () => void;
|
|
9437
9382
|
declare type ItypingStateListener = (data: ITypingMessage[]) => void;
|
|
9438
9383
|
declare type IMessageBlockedListener = (data: IBlockedMessageInfo) => void;
|
|
9439
|
-
declare type IMessageDeliveredListener = (data: IMessageDeliver[]) => void;
|
|
9440
|
-
declare type IGroupMessageDeliveredStatusListener = (data: IGroupMessageDeliverStatus) => void;
|
|
9441
9384
|
interface IWatcher {
|
|
9442
9385
|
message?: IMessageListnenr;
|
|
9443
9386
|
batchMessage?: IMessagesListnenr;
|
|
@@ -9463,14 +9406,6 @@ interface IWatcher {
|
|
|
9463
9406
|
*/
|
|
9464
9407
|
typingState?: ItypingStateListener;
|
|
9465
9408
|
pullFinished?: ITagListener;
|
|
9466
|
-
/**
|
|
9467
|
-
* 单聊消息送达通知
|
|
9468
|
-
*/
|
|
9469
|
-
messageDelivered?: IMessageDeliveredListener;
|
|
9470
|
-
/**
|
|
9471
|
-
* 群聊消息送达状态通知
|
|
9472
|
-
*/
|
|
9473
|
-
groupMessageDeliveredStatus?: IGroupMessageDeliveredStatusListener;
|
|
9474
9409
|
readReceiptReceived?: (conversation: IConversationOption, message: string, sentTime: number, senderUserId: string) => void;
|
|
9475
9410
|
messageReceiptRequest?: (conversation: IConversationOption, messageUId: string, senderUserId: string) => void;
|
|
9476
9411
|
messageReceiptResponse?: (conversation: IConversationOption, receivedUserId: string, messageUIdList: string[]) => void;
|
|
@@ -9733,8 +9668,6 @@ declare class APIContext {
|
|
|
9733
9668
|
private _typingStatusListener;
|
|
9734
9669
|
private _pullFinishedListener;
|
|
9735
9670
|
private _MessageBlockedListener;
|
|
9736
|
-
private _messageDeliveredListerer;
|
|
9737
|
-
private _groupMessageDeliveredStatusListerer;
|
|
9738
9671
|
private _callInfoListener;
|
|
9739
9672
|
private _ultraGroupEnableListener;
|
|
9740
9673
|
private _sgRelationsSyncedListener;
|
|
@@ -10176,9 +10109,9 @@ declare class APIContext {
|
|
|
10176
10109
|
* @param saveName 下载后的存储文件名
|
|
10177
10110
|
* @param serverType 使用的存储服务标识
|
|
10178
10111
|
*/
|
|
10179
|
-
getFileUrl(fileType: FileType, fileName: string, serverType: UploadMethod, saveName?: string): Promise<{
|
|
10112
|
+
getFileUrl(fileType: FileType, fileName: string, serverType: UploadMethod, saveName?: string): Promise<RCResult<{
|
|
10180
10113
|
downloadUrl: string;
|
|
10181
|
-
}
|
|
10114
|
+
}>>;
|
|
10182
10115
|
/**
|
|
10183
10116
|
* 创建标签
|
|
10184
10117
|
* @param tag 标签
|
|
@@ -10317,14 +10250,6 @@ declare class APIContext {
|
|
|
10317
10250
|
key: string;
|
|
10318
10251
|
value: string;
|
|
10319
10252
|
}>>;
|
|
10320
|
-
/**
|
|
10321
|
-
* 获取群组消息送达信息
|
|
10322
|
-
*/
|
|
10323
|
-
getGroupMessageDeliverList(targetId: string, messageUId: string, channelId?: string): Promise<IAsyncRes<IGroupMessageDeliverInfo>>;
|
|
10324
|
-
/**
|
|
10325
|
-
* 获取单聊消息送达信息
|
|
10326
|
-
*/
|
|
10327
|
-
getPrivateMessageDeliverTime(messageUId: string, channelId?: string): Promise<IAsyncRes<number>>;
|
|
10328
10253
|
private _isEnableSubDriven;
|
|
10329
10254
|
/**
|
|
10330
10255
|
* 订阅用户状态事件
|
|
@@ -10794,7 +10719,7 @@ declare class RTCPluginContext extends PluginContext {
|
|
|
10794
10719
|
*/
|
|
10795
10720
|
declare type IChatModule = Pick<IIPCMethods, 'getConversationListByFilter' | 'getTotalUnreadCount' | 'getConversation' | 'batchSetConversationToTop' | 'batchSetConversationNotificationLevel' | 'getConversationNotificationLevel' | 'setConversationTypeNotificationLevel' | 'getConversationTypeNotificationLevel' | 'clearAllUnreadCount' | 'deleteRemoteMessage' | 'deleteRemoteMessageByTimestamp' | 'batchClearRemoteHistoryMessages' | 'sendReadReceiptResponseV5' | 'getMessageReadReceiptInfoV5' | 'getMessagesReadReceiptUsersByPageV5' | 'getMessagesReadReceiptByUsersV5' | 'searchConversationByContent'>;
|
|
10796
10721
|
|
|
10797
|
-
declare type IIPCMethodsInEngine = Pick<IIPCMethods, 'searchMessagesWithParams'>;
|
|
10722
|
+
declare type IIPCMethodsInEngine = Pick<IIPCMethods, 'searchMessagesWithParams' | 'getFileUrl'>;
|
|
10798
10723
|
declare abstract class BasicEngine implements IIPCMethodsInEngine {
|
|
10799
10724
|
protected readonly rtcCodec: Codec<InnerRTCKeyMaps>;
|
|
10800
10725
|
protected readonly _watcher: IEngineWatcher;
|
|
@@ -11098,9 +11023,9 @@ declare abstract class BasicEngine implements IIPCMethodsInEngine {
|
|
|
11098
11023
|
* @param saveName 下载后的存储文件名
|
|
11099
11024
|
* @returns
|
|
11100
11025
|
*/
|
|
11101
|
-
abstract getFileUrl(fileType: FileType, serverType: UploadMethod, fileName: string,
|
|
11026
|
+
abstract getFileUrl(fileType: FileType, serverType: UploadMethod, fileName: string, originName: string): Promise<RCResult<{
|
|
11102
11027
|
downloadUrl: string;
|
|
11103
|
-
}
|
|
11028
|
+
}>>;
|
|
11104
11029
|
/**
|
|
11105
11030
|
* 创建标签
|
|
11106
11031
|
* @param tag 标签
|
|
@@ -11378,14 +11303,6 @@ declare abstract class BasicEngine implements IIPCMethodsInEngine {
|
|
|
11378
11303
|
list: IReceivedMessage[];
|
|
11379
11304
|
hasMore: boolean;
|
|
11380
11305
|
}>;
|
|
11381
|
-
/**
|
|
11382
|
-
* 获取群组消息送达列表
|
|
11383
|
-
*/
|
|
11384
|
-
abstract getGroupMessageDeliverList(targetId: string, messageUId: string, channelId: string): IPromiseResult<IGroupMessageDeliverInfo>;
|
|
11385
|
-
/**
|
|
11386
|
-
* 获取单聊消息送达列表
|
|
11387
|
-
*/
|
|
11388
|
-
abstract getPrivateMessageDeliverTime(messageUId: string, channelId: string): IPromiseResult<number>;
|
|
11389
11306
|
abstract setCallInfo(targetId: string, key: string, value: string): IPromiseResult<{
|
|
11390
11307
|
key: string;
|
|
11391
11308
|
value: string;
|
|
@@ -11921,4 +11838,4 @@ declare class AppStorage {
|
|
|
11921
11838
|
}): void;
|
|
11922
11839
|
}
|
|
11923
11840
|
|
|
11924
|
-
export { APIContext, AbsCodec, AppStorage, AreaCode, AssertRules, BasicEngine, BasicLogger, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectionStatus, ConversationListFilter, ConversationListFilterType, ConversationType, DirectionType, EnableLogL, ErrorCode, EventEmitter, FileType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendRelationType, GetAllConversationListFilterParams, GetConversationListByPageIndexParams, GetConversationListByTimestampParams, GetConversationListResponse, GetTopConversationListParams, GetUnreadConversationListParams, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupOperation, GroupOperationPermission, GroupOperationRole, GroupOperationStatus, GroupOperationType, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAppPushConfig, IAsyncRes, IBaseConversationInfo, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChatModule, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListener, IChatroomListenerData, IChatroomModule, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IChrmKVEntries, IChrmKVEntry, IClearMessageOption, ICombineV2MessageContent, ICombinedMessage, IConnectionStatusListener, IConversationFilter, IConversationIdentifier, IConversationOption, IConversationStateListener, IConversationTag, IConversationTagListener, IConversationUnreadCount, ICreateGroupFail, IDataHostingModule, IDeletedExpansion,
|
|
11841
|
+
export { APIContext, AbsCodec, AppStorage, AreaCode, AssertRules, BasicEngine, BasicLogger, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, Codec, CodecPBMaps, ConnectionStatus, ConversationListFilter, ConversationListFilterType, ConversationType, DirectionType, EnableLogL, ErrorCode, EventEmitter, FileType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendRelationType, GetAllConversationListFilterParams, GetConversationListByPageIndexParams, GetConversationListByTimestampParams, GetConversationListResponse, GetTopConversationListParams, GetUnreadConversationListParams, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupOperation, GroupOperationPermission, GroupOperationRole, GroupOperationStatus, GroupOperationType, HttpMethod, IAPIContextOption, IAndroidPushConfig, IAppPushConfig, IAsyncRes, IBaseConversationInfo, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChatModule, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListener, IChatroomListenerData, IChatroomModule, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IChrmKVEntries, IChrmKVEntry, IClearMessageOption, ICombineV2MessageContent, ICombinedMessage, IConnectionStatusListener, IConversationFilter, IConversationIdentifier, IConversationOption, IConversationStateListener, IConversationTag, IConversationTagListener, IConversationUnreadCount, ICreateGroupFail, IDataHostingModule, IDeletedExpansion, IDownloadAuth, IEngineWatcher, IErrorKeys, IEventListener, IExpansionListener, IExpansionListenerData, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendRelationInfo, IGetMsgOption, IGetUltraGroupListOption, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHarmonyOSPushConfig, IIPCMethods, IInsertMessage, IInsertMsgOptions, ILocalTagStatus, ILogData, ILogger, IMessageFilter, IMessageListnenr, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, INaviInfo, INetwork, INotificationQuietHoursSetting, IOSInfo, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPluginGenerator, IPrivateReadReceiptData, IProcessCache, IProcessCode, IProcessInfo, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, IRTCInnerListener, IRTCJoinedInfo, IRTCRoomBindOption, IRTCUsers, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IRecallMsgOptions, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IRequest, IResponse, IRuntime, ISearchMessageParams, ISearchMessagesResult, ISendMsgOptions, IServerGroupBaseInfo, IStorage, IStreamMessageResponseChunkData, IStreamMessageResponseEventData, ISubscribeRelationInfo, ISubscribeStatusDetail, ISubscribeUserStatusInfo, ISyncReadStatusData, ITagInfo, ITagListener, ITagParam, ITimeRange, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraExMsgOptions, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraModifyMsgOptions, IUltraMsgQueryOptions, IUltraUnreadMsg, IUpdateItem, IUpdateMyProfileFail, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IUserProfileInfo, IWatcher, IiOSPushConfig, InnerRTCKeyMaps, InterruptionLevel, ItypingStateListener, KVString, LogL, LogLevel, LogSource, LogTagId, LogType, MAX_MESSAGE_CONTENT_BYTES, MAX_U32_INTEGER, MAX_UPLOAD_FILE_SIZE, MentionedInfo, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, MessageRegisterParams, MessageType, MessageTypeDescription, NotificationLevel, NotificationStatus, OnlineStatus, OperateStatus, Codec$1 as PBCodec, PlatformInfo, PluginContext, PushImportanceHonor, PushNotificationQuietHoursLevel, QueryFriendsDirectionType, RCConnectionStatus, RCResult, RTCApiType, RTCJoinType, RTCMode, RTCPluginContext, ReadReceiptInfoV5, ReadReceiptResponseV5, ReadReceiptUser, ReadReceiptUsersOption, ReadReceiptUsersResult, ReceivedStatus, SSEModule, SentStatus, StreamMessageResponseEventType, SubscribeOperationType, SubscribeType, SuspendablePromise, UPLOAD_FILE_CHUNK_SIZE, UUId, UltraGroupChannelChangeType, UltraGroupChannelType, UploadMethod, UserProfileVisibility, Validator, ValidatorManage, VersionManage, assert, fail, fixUrlProtocol, forEach, getMessageTypeDescription, getUUID, getUUID22, hasMessageTypeDescription, httpRequest, isArray, isBoolean, isFunction, isHttpUrl, isInteger, isLimitedArray, isLimitedString, isNull, isNumber, isObject, isString, isUndefined, isValidConversation, isValidConversationType, isValidEnum, isValidFileType, isValidGroupId, isValidNotificationLevel, isValidTargetId, logger, map, notEmptyArray, notEmptyObject, notEmptyString, ok, runtime, trans2IReceivedStatusInfo, trans2NotificationLevel, trans2NotificationStatus, transformReceivedStatusFlag, usingCppEngine, validate };
|