@rongcloud/engine 5.28.0-c-rtc-alpha.1 → 5.28.1
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 +5 -5
- package/index.esm.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -6236,8 +6236,8 @@ interface IReceivedMessage<T = any> {
|
|
|
6236
6236
|
*/
|
|
6237
6237
|
/**
|
|
6238
6238
|
* 用于判断消息是否被修改过,仅获取历史消息接口时有效;接收在线或离线消息时无效。
|
|
6239
|
-
* * 5.26.0
|
|
6240
|
-
* *
|
|
6239
|
+
* * 5.26.0 版本之前,仅支持超级群历史消息,从 5.26.0 版本开始,增加支持单聊、群聊历史消息
|
|
6240
|
+
* * 5.28.1 版本开始,支持 Electron 平台
|
|
6241
6241
|
*/
|
|
6242
6242
|
isModifyMessage?: boolean;
|
|
6243
6243
|
/** [EN]
|
|
@@ -14654,8 +14654,8 @@ declare class APIContext {
|
|
|
14654
14654
|
*/
|
|
14655
14655
|
getAllConversationList(channelId?: string): Promise<RCResult<IReceivedConversation[]>>;
|
|
14656
14656
|
/**
|
|
14657
|
-
* 既有版本接口实现中,getConversationList
|
|
14658
|
-
*
|
|
14657
|
+
* 既有版本接口实现中,getConversationList 接口存在二义性(channelId 为空时,获取全部会话,其他查询条件失效),因此该接口已废弃。
|
|
14658
|
+
* 不可直接删除,原因在于二义性只存在于 Electron 平台,Web 端不提供获取全部会话功能,channelId 为无效参数。
|
|
14659
14659
|
* @deprecated
|
|
14660
14660
|
* @param params 获取会话列表参数
|
|
14661
14661
|
* @returns 会话列表
|
|
@@ -15643,7 +15643,7 @@ declare abstract class BasicEngine implements IIPCMethodsInEngine, IModuleContex
|
|
|
15643
15643
|
abstract updateMessageReceiptStatus(conversationType: ConversationType, targetId: string, timestamp: number, channelId?: string): Promise<RCResult<boolean>>;
|
|
15644
15644
|
/**
|
|
15645
15645
|
* 删除时间戳前的未读数
|
|
15646
|
-
|
|
15646
|
+
*/
|
|
15647
15647
|
abstract clearUnreadCountByTimestamp(conversationType: ConversationType, targetId: string, timestamp: number, channelId: string): Promise<ErrorCode>;
|
|
15648
15648
|
abstract setCallInfo(targetId: string, key: string, value: string): IPromiseResult<{
|
|
15649
15649
|
key: string;
|