@rongcloud/engine 5.7.2-beemrtc.2 → 5.7.2-beemrtc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +36 -1
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3088,6 +3088,17 @@ interface IEngine {
|
|
|
3088
3088
|
* 获取第一个未读消息
|
|
3089
3089
|
*/
|
|
3090
3090
|
getFirstUnreadMessage(conversationType: ConversationType, targetId: string, channelId: string): IPromiseResult<IReceivedMessage | null>;
|
|
3091
|
+
/**
|
|
3092
|
+
* 按UId批量取消息
|
|
3093
|
+
* @param msgUids
|
|
3094
|
+
*/
|
|
3095
|
+
getMessageByUids(msgUids: string[]): IReceivedMessage[];
|
|
3096
|
+
/**
|
|
3097
|
+
* 设置消息可搜索内容
|
|
3098
|
+
* @param messageId
|
|
3099
|
+
* @param content
|
|
3100
|
+
*/
|
|
3101
|
+
setMessageSearchContent(messageId: number, content: string): Promise<ErrorCode>;
|
|
3091
3102
|
/**
|
|
3092
3103
|
* 按msgUids打量获取消息
|
|
3093
3104
|
*/
|
|
@@ -5396,7 +5407,20 @@ declare class APIContext {
|
|
|
5396
5407
|
*/
|
|
5397
5408
|
getFirstUnreadMessage(conversationType: ConversationType, targetId: string, channelId?: string): Promise<IAsyncRes<IReceivedMessage | null>>;
|
|
5398
5409
|
/**
|
|
5399
|
-
* 按
|
|
5410
|
+
* 按UIds批量获取消息
|
|
5411
|
+
* @param msgUids
|
|
5412
|
+
* @returns
|
|
5413
|
+
*/
|
|
5414
|
+
getMessageByUids(msgUids: string[]): IReceivedMessage[];
|
|
5415
|
+
/**
|
|
5416
|
+
* 设置消息可搜索内容
|
|
5417
|
+
* @param messageId
|
|
5418
|
+
* @param content
|
|
5419
|
+
* @returns
|
|
5420
|
+
*/
|
|
5421
|
+
setMessageSearchContent(messageId: number, content: string): Promise<ErrorCode>;
|
|
5422
|
+
/**
|
|
5423
|
+
* 会话内按msgUids批量获取消息
|
|
5400
5424
|
*/
|
|
5401
5425
|
getMessageByMsgUids(targetId: string, channelId: string, conversationType: ConversationType, msgUids: string[]): IReceivedMessage[];
|
|
5402
5426
|
/**
|
|
@@ -6438,6 +6462,17 @@ declare abstract class AEngine {
|
|
|
6438
6462
|
* 获取第一个未读消息
|
|
6439
6463
|
*/
|
|
6440
6464
|
abstract getFirstUnreadMessage(conversationType: ConversationType, targetId: string, channelId: string): IPromiseResult<IReceivedMessage | null>;
|
|
6465
|
+
/**
|
|
6466
|
+
* 按msgUids批量获取消息
|
|
6467
|
+
* @param msgUids
|
|
6468
|
+
*/
|
|
6469
|
+
abstract getMessageByUids(msgUids: string[]): IReceivedMessage[];
|
|
6470
|
+
/**
|
|
6471
|
+
* 设置消息可搜索内容
|
|
6472
|
+
* @param messageId
|
|
6473
|
+
* @param content
|
|
6474
|
+
*/
|
|
6475
|
+
abstract setMessageSearchContent(messageId: number, content: string): Promise<ErrorCode>;
|
|
6441
6476
|
/**
|
|
6442
6477
|
* 按msgUids批量获取消息
|
|
6443
6478
|
*/
|