@rongcloud/engine 4.5.4-alpha.1 → 4.5.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/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
- * RCEngine - v4.5.4-alpha.1
3
- * CommitId - d1ef74bf72f4e0ee7c6b727b0c7358824c4c5d6e
4
- * Thu Dec 23 2021 18:35:11 GMT+0800 (China Standard Time)
2
+ * RCEngine - v4.5.4
3
+ * CommitId - 55517e5b1898f0b0fbd3583f74abb46a35cd25e0
4
+ * Tue Dec 28 2021 14:50:46 GMT+0800 (China Standard Time)
5
5
  * ©2020 RongCloud, Inc. All rights reserved.
6
6
  */
7
7
  /**
@@ -3593,6 +3593,10 @@ declare class APIContext {
3593
3593
  * 清除会话消息未读数
3594
3594
  */
3595
3595
  clearUnreadCount(conversationType: ConversationType, targetId: string, channelId?: string): Promise<ErrorCode>;
3596
+ /**
3597
+ * 清除全部会话消息未读数
3598
+ */
3599
+ clearAllUnreadCount(): Promise<ErrorCode>;
3596
3600
  /**
3597
3601
  * 获取指定会话消息未读数
3598
3602
  */
@@ -4775,6 +4779,10 @@ declare abstract class AEngine implements IEngine {
4775
4779
  * 清除指定会话未读数
4776
4780
  */
4777
4781
  abstract clearConversationUnreadCount(conversationType: ConversationType, targetId: string, channelId: string): Promise<ErrorCode>;
4782
+ /**
4783
+ * 清除全部会话未读数
4784
+ */
4785
+ abstract clearAllUnreadCount(): Promise<ErrorCode>;
4778
4786
  /**
4779
4787
  * 获取第一个未读消息
4780
4788
  */