Skip to product menu
Skip to main content

.getChatUnreadCount()

This API can be used to get the count of unread messages.

 

Syntax

CopiedZohoSalesIQ.getChatUnreadCount(callback: (unreadCount: number) => void) => void

Example

CopiedZohoSalesIQ.getChatUnreadCount(function(unreadCount) {
    console.log(unreadCount);
});