@rongcloud/engine 5.20.2-enterprise.1 → 5.20.2-enterprise.10
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 +65 -149
- 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
|
|
@@ -4841,7 +4815,7 @@ interface IReceivedConversation {
|
|
|
4841
4815
|
* * 本地收消息时,避免重新收消息导致技术重复
|
|
4842
4816
|
* * 本地撤回消息时,计算是否需要本地计数 -1
|
|
4843
4817
|
*/
|
|
4844
|
-
lastUnreadTime
|
|
4818
|
+
lastUnreadTime?: number;
|
|
4845
4819
|
/**
|
|
4846
4820
|
* 会话免打扰状态
|
|
4847
4821
|
* @description
|
|
@@ -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
|
*/
|
|
@@ -5533,8 +5507,7 @@ declare type IRecallMsgOptions = {
|
|
|
5533
5507
|
*/
|
|
5534
5508
|
messageUId: string;
|
|
5535
5509
|
/**
|
|
5536
|
-
*
|
|
5537
|
-
* @deprecated 目前公有云已不再依赖消息的发送时间,私有云因存在一些老客户服务版本过旧,暂时仍建议发送该参数
|
|
5510
|
+
* 被撤回消息的发送时间,Web 端依赖该时间对消息进行重新排序,以保持与移动端显示顺序一致
|
|
5538
5511
|
*/
|
|
5539
5512
|
sentTime: number;
|
|
5540
5513
|
/**
|
|
@@ -5831,16 +5804,8 @@ interface ISendExMsgOptions {
|
|
|
5831
5804
|
[key: string]: string;
|
|
5832
5805
|
};
|
|
5833
5806
|
/**
|
|
5834
|
-
*
|
|
5835
|
-
|
|
5836
|
-
removeAll?: boolean;
|
|
5837
|
-
/**
|
|
5838
|
-
* 原始消息的扩展
|
|
5839
|
-
*/
|
|
5840
|
-
originExpansion?: {
|
|
5841
|
-
[key: string]: string;
|
|
5842
|
-
} | null;
|
|
5843
|
-
/** 消息类型 */
|
|
5807
|
+
* 消息类型
|
|
5808
|
+
*/
|
|
5844
5809
|
messageType: string;
|
|
5845
5810
|
}
|
|
5846
5811
|
interface IUltraExMsgOptions {
|
|
@@ -6079,49 +6044,6 @@ interface IGetMsgOption {
|
|
|
6079
6044
|
channelId?: string;
|
|
6080
6045
|
}
|
|
6081
6046
|
|
|
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
6047
|
interface IServerAddressData {
|
|
6126
6048
|
addr: string;
|
|
6127
6049
|
protocol: EConnectProtocol;
|
|
@@ -7873,9 +7795,9 @@ interface IIPCMethods {
|
|
|
7873
7795
|
/**
|
|
7874
7796
|
* 获取文件上传后下载地址
|
|
7875
7797
|
*/
|
|
7876
|
-
getFileUrl(fileType: FileType, uploadMethod: UploadMethod, fileName
|
|
7798
|
+
getFileUrl(fileType: FileType, uploadMethod: UploadMethod, fileName: string, originName: string): Promise<RCResult<{
|
|
7877
7799
|
downloadUrl: string;
|
|
7878
|
-
}
|
|
7800
|
+
}>>;
|
|
7879
7801
|
/**
|
|
7880
7802
|
* 创建标签
|
|
7881
7803
|
* @param tag 标签
|
|
@@ -8199,14 +8121,38 @@ interface IIPCMethods {
|
|
|
8199
8121
|
removeChatroomFromCatch(roomId: string): void;
|
|
8200
8122
|
}
|
|
8201
8123
|
|
|
8124
|
+
/**
|
|
8125
|
+
* 连接事件监听器
|
|
8126
|
+
* @typeParam T - onConnected 是否包含 fromSuspend 参数
|
|
8127
|
+
*/
|
|
8128
|
+
declare type IConnectionListener<T extends boolean = false> = {
|
|
8129
|
+
/**
|
|
8130
|
+
* 连接成功
|
|
8131
|
+
* @description 仅 Electron 平台会返回 processCache 参数,用于同步主进程缓存数据
|
|
8132
|
+
*/
|
|
8133
|
+
onConnected: T extends true ? (fromSuspend: boolean) => void : (processCache?: IProcessCache) => void;
|
|
8134
|
+
/**
|
|
8135
|
+
* 连接中止,SDK 内部会进行重连
|
|
8136
|
+
* @param code 中止原因
|
|
8137
|
+
*/
|
|
8138
|
+
onSuspend(code: ErrorCode): void;
|
|
8139
|
+
/**
|
|
8140
|
+
* 连接中
|
|
8141
|
+
*/
|
|
8142
|
+
onConnecting(): void;
|
|
8143
|
+
/**
|
|
8144
|
+
* 连接已终止
|
|
8145
|
+
* @param code 连接终止原因
|
|
8146
|
+
*/
|
|
8147
|
+
onDisconnected(code: ErrorCode): void;
|
|
8148
|
+
};
|
|
8149
|
+
|
|
8202
8150
|
/**
|
|
8203
8151
|
* 扩展更新
|
|
8204
8152
|
* @category Interface
|
|
8205
8153
|
*/
|
|
8206
8154
|
interface IUpdatedExpansion {
|
|
8207
|
-
expansion:
|
|
8208
|
-
[key: string]: any;
|
|
8209
|
-
};
|
|
8155
|
+
expansion: Record<string, any>;
|
|
8210
8156
|
messageUId: string;
|
|
8211
8157
|
conversationType: ConversationType;
|
|
8212
8158
|
targetId: string;
|
|
@@ -8353,7 +8299,7 @@ interface IUserGroupStatusInfo {
|
|
|
8353
8299
|
userGroupUnBindChannel?: IChannelAndUserGroupChangeData[];
|
|
8354
8300
|
}
|
|
8355
8301
|
|
|
8356
|
-
interface IEngineWatcher extends IConnectionListener {
|
|
8302
|
+
interface IEngineWatcher extends IConnectionListener<false> {
|
|
8357
8303
|
/**
|
|
8358
8304
|
* @param message 消息
|
|
8359
8305
|
* @param leftCount 参数废弃,值始终为 undefined
|
|
@@ -8382,8 +8328,6 @@ interface IEngineWatcher extends IConnectionListener {
|
|
|
8382
8328
|
*/
|
|
8383
8329
|
onRTCDataChange: (data: IServerRTCRoomEntry[], roomId?: string) => void;
|
|
8384
8330
|
pullFinished: () => void;
|
|
8385
|
-
messageDelivered: (data: IMessageDeliver[]) => void;
|
|
8386
|
-
groupMessageDeliveredStatus: (data: IGroupMessageDeliverStatus) => void;
|
|
8387
8331
|
callInfo: (data: string) => void;
|
|
8388
8332
|
onNaviDataChange: (naviInfo: INaviInfo) => void;
|
|
8389
8333
|
userGroupStatus: (info: IUserGroupStatusInfo) => void;
|
|
@@ -8395,25 +8339,25 @@ interface IEngineWatcher extends IConnectionListener {
|
|
|
8395
8339
|
* 同步已读状态 V4
|
|
8396
8340
|
*/
|
|
8397
8341
|
syncReadStatus: (data: ISyncReadStatusData) => void;
|
|
8398
|
-
subscribedUserStatusChange
|
|
8399
|
-
subscribedRelationChange
|
|
8400
|
-
syncSubscribedUserStatusFinished
|
|
8401
|
-
ownUserProfileChanged
|
|
8402
|
-
groupOperation
|
|
8403
|
-
groupInfoChanged
|
|
8404
|
-
groupMemberInfoChanged
|
|
8342
|
+
subscribedUserStatusChange: (data: ISubscribeUserStatusInfo[]) => void;
|
|
8343
|
+
subscribedRelationChange: (data: ISubscribeRelationInfo[]) => void;
|
|
8344
|
+
syncSubscribedUserStatusFinished: (subscribeType: SubscribeType) => void;
|
|
8345
|
+
ownUserProfileChanged: (data: IUserProfileInfo) => void;
|
|
8346
|
+
groupOperation: (data: IGroupOperationInfo) => void;
|
|
8347
|
+
groupInfoChanged: (data: IGroupInfoChanged) => void;
|
|
8348
|
+
groupMemberInfoChanged: (data: IGroupMemberInfoChanged) => void;
|
|
8405
8349
|
groupApplicationEvent: (data: IGroupApplicationInfo) => void;
|
|
8406
|
-
groupRemarkChangedSync
|
|
8407
|
-
groupFollowsChangedSync
|
|
8408
|
-
friendAdd
|
|
8409
|
-
friendDelete
|
|
8410
|
-
friendApplicationStatusChanged
|
|
8411
|
-
friendCleared
|
|
8412
|
-
friendInfoChangedSync
|
|
8350
|
+
groupRemarkChangedSync: (data: IGroupRemarkChangedSync) => void;
|
|
8351
|
+
groupFollowsChangedSync: (data: IGroupFollowsChangedSync) => void;
|
|
8352
|
+
friendAdd: (data: IFriendAdd) => void;
|
|
8353
|
+
friendDelete: (data: IFriendDelete) => void;
|
|
8354
|
+
friendApplicationStatusChanged: (data: IFriendApplicationStatusChange) => void;
|
|
8355
|
+
friendCleared: (data: number) => void;
|
|
8356
|
+
friendInfoChangedSync: (data: IFriendInfoChangedSync) => void;
|
|
8413
8357
|
databaseUpgradeWillStart: () => void;
|
|
8414
8358
|
databaseUpgrading: (progress: number) => void;
|
|
8415
8359
|
databaseUpgradeDidComplete: (code: ErrorCode) => void;
|
|
8416
|
-
readReceiptResponseV5
|
|
8360
|
+
readReceiptResponseV5: (data: ReadReceiptResponseV5[]) => void;
|
|
8417
8361
|
}
|
|
8418
8362
|
|
|
8419
8363
|
declare type IErrorKeys = {
|
|
@@ -9436,8 +9380,6 @@ declare type ITagListener = () => void;
|
|
|
9436
9380
|
declare type IConversationTagListener = () => void;
|
|
9437
9381
|
declare type ItypingStateListener = (data: ITypingMessage[]) => void;
|
|
9438
9382
|
declare type IMessageBlockedListener = (data: IBlockedMessageInfo) => void;
|
|
9439
|
-
declare type IMessageDeliveredListener = (data: IMessageDeliver[]) => void;
|
|
9440
|
-
declare type IGroupMessageDeliveredStatusListener = (data: IGroupMessageDeliverStatus) => void;
|
|
9441
9383
|
interface IWatcher {
|
|
9442
9384
|
message?: IMessageListnenr;
|
|
9443
9385
|
batchMessage?: IMessagesListnenr;
|
|
@@ -9463,14 +9405,6 @@ interface IWatcher {
|
|
|
9463
9405
|
*/
|
|
9464
9406
|
typingState?: ItypingStateListener;
|
|
9465
9407
|
pullFinished?: ITagListener;
|
|
9466
|
-
/**
|
|
9467
|
-
* 单聊消息送达通知
|
|
9468
|
-
*/
|
|
9469
|
-
messageDelivered?: IMessageDeliveredListener;
|
|
9470
|
-
/**
|
|
9471
|
-
* 群聊消息送达状态通知
|
|
9472
|
-
*/
|
|
9473
|
-
groupMessageDeliveredStatus?: IGroupMessageDeliveredStatusListener;
|
|
9474
9408
|
readReceiptReceived?: (conversation: IConversationOption, message: string, sentTime: number, senderUserId: string) => void;
|
|
9475
9409
|
messageReceiptRequest?: (conversation: IConversationOption, messageUId: string, senderUserId: string) => void;
|
|
9476
9410
|
messageReceiptResponse?: (conversation: IConversationOption, receivedUserId: string, messageUIdList: string[]) => void;
|
|
@@ -9733,8 +9667,6 @@ declare class APIContext {
|
|
|
9733
9667
|
private _typingStatusListener;
|
|
9734
9668
|
private _pullFinishedListener;
|
|
9735
9669
|
private _MessageBlockedListener;
|
|
9736
|
-
private _messageDeliveredListerer;
|
|
9737
|
-
private _groupMessageDeliveredStatusListerer;
|
|
9738
9670
|
private _callInfoListener;
|
|
9739
9671
|
private _ultraGroupEnableListener;
|
|
9740
9672
|
private _sgRelationsSyncedListener;
|
|
@@ -10176,9 +10108,9 @@ declare class APIContext {
|
|
|
10176
10108
|
* @param saveName 下载后的存储文件名
|
|
10177
10109
|
* @param serverType 使用的存储服务标识
|
|
10178
10110
|
*/
|
|
10179
|
-
getFileUrl(fileType: FileType, fileName: string, serverType: UploadMethod, saveName?: string): Promise<{
|
|
10111
|
+
getFileUrl(fileType: FileType, fileName: string, serverType: UploadMethod, saveName?: string): Promise<RCResult<{
|
|
10180
10112
|
downloadUrl: string;
|
|
10181
|
-
}
|
|
10113
|
+
}>>;
|
|
10182
10114
|
/**
|
|
10183
10115
|
* 创建标签
|
|
10184
10116
|
* @param tag 标签
|
|
@@ -10317,14 +10249,6 @@ declare class APIContext {
|
|
|
10317
10249
|
key: string;
|
|
10318
10250
|
value: string;
|
|
10319
10251
|
}>>;
|
|
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
10252
|
private _isEnableSubDriven;
|
|
10329
10253
|
/**
|
|
10330
10254
|
* 订阅用户状态事件
|
|
@@ -10794,7 +10718,7 @@ declare class RTCPluginContext extends PluginContext {
|
|
|
10794
10718
|
*/
|
|
10795
10719
|
declare type IChatModule = Pick<IIPCMethods, 'getConversationListByFilter' | 'getTotalUnreadCount' | 'getConversation' | 'batchSetConversationToTop' | 'batchSetConversationNotificationLevel' | 'getConversationNotificationLevel' | 'setConversationTypeNotificationLevel' | 'getConversationTypeNotificationLevel' | 'clearAllUnreadCount' | 'deleteRemoteMessage' | 'deleteRemoteMessageByTimestamp' | 'batchClearRemoteHistoryMessages' | 'sendReadReceiptResponseV5' | 'getMessageReadReceiptInfoV5' | 'getMessagesReadReceiptUsersByPageV5' | 'getMessagesReadReceiptByUsersV5' | 'searchConversationByContent'>;
|
|
10796
10720
|
|
|
10797
|
-
declare type IIPCMethodsInEngine = Pick<IIPCMethods, 'searchMessagesWithParams'>;
|
|
10721
|
+
declare type IIPCMethodsInEngine = Pick<IIPCMethods, 'searchMessagesWithParams' | 'getFileUrl'>;
|
|
10798
10722
|
declare abstract class BasicEngine implements IIPCMethodsInEngine {
|
|
10799
10723
|
protected readonly rtcCodec: Codec<InnerRTCKeyMaps>;
|
|
10800
10724
|
protected readonly _watcher: IEngineWatcher;
|
|
@@ -11098,9 +11022,9 @@ declare abstract class BasicEngine implements IIPCMethodsInEngine {
|
|
|
11098
11022
|
* @param saveName 下载后的存储文件名
|
|
11099
11023
|
* @returns
|
|
11100
11024
|
*/
|
|
11101
|
-
abstract getFileUrl(fileType: FileType, serverType: UploadMethod, fileName: string,
|
|
11025
|
+
abstract getFileUrl(fileType: FileType, serverType: UploadMethod, fileName: string, originName: string): Promise<RCResult<{
|
|
11102
11026
|
downloadUrl: string;
|
|
11103
|
-
}
|
|
11027
|
+
}>>;
|
|
11104
11028
|
/**
|
|
11105
11029
|
* 创建标签
|
|
11106
11030
|
* @param tag 标签
|
|
@@ -11378,14 +11302,6 @@ declare abstract class BasicEngine implements IIPCMethodsInEngine {
|
|
|
11378
11302
|
list: IReceivedMessage[];
|
|
11379
11303
|
hasMore: boolean;
|
|
11380
11304
|
}>;
|
|
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
11305
|
abstract setCallInfo(targetId: string, key: string, value: string): IPromiseResult<{
|
|
11390
11306
|
key: string;
|
|
11391
11307
|
value: string;
|
|
@@ -11921,4 +11837,4 @@ declare class AppStorage {
|
|
|
11921
11837
|
}): void;
|
|
11922
11838
|
}
|
|
11923
11839
|
|
|
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,
|
|
11840
|
+
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 };
|