queryConversationTotalUnreadMessageCount abstract method
Future<ZIMConversationTotalUnreadMessageCountQueriedResult>
queryConversationTotalUnreadMessageCount()
Query the conversations total unread message count by config.
Available since: 2.17.0 and above. Description: his method can query the total number of unread messages in the conversations of the logged-in user according to the configuration items. Use cases: This interface can be invoked to get the data source when you need to display an existing message conversation after logging in. When to call: Can be called after logging in. Restrictions: There is no limit on the frequency of use; it is available after logging in and not available after logging out. Related callbacks: ZIMConversationTotalUnreadMessageCountQueriedResult.
configConfiguration for querying the total unread count of the conversation.
Implementation
Future<ZIMConversationTotalUnreadMessageCountQueriedResult>
queryConversationTotalUnreadMessageCount(
ZIMConversationTotalUnreadMessageCountQueryConfig config,
);