clearConversationTotalUnreadMessageCount abstract method

Future<void> clearConversationTotalUnreadMessageCount()

Available since: 2.12.0 and above.

Description: Used to clear unread for all sessions.

Use cases: You can call this interface when you need to clear all unread sessions to zero.

When to call /Trigger: Called when all session readings need to be cleared.

Restrictions: Valid after login, invalid after logout.

Impacts on other APIs: Calling this method will trigger a total readings not updated callback onConversationTotalUnreadMessageCountUpdated.

Related callbacks:ZIMConversationTotalUnreadMessageCountClearedCallback.

Related APIs:onConversationTotalUnreadMessageCountUpdated.

Implementation

Future<void> clearConversationTotalUnreadMessageCount();