.Chat.getUnreadMessageCount()

This API can be used to get the count of unread messages in an ongoing chat.

Syntax

CopiedgetUnreadMessageCount()

Example: Objective C

Copied int count = [[ZohoSalesIQ Chat]getUnreadMessageCount];

Example: Swift

Copied let count = ZohoSalesIQ.Chat.getUnreadMessageCount()