Skip to main content

unreadChatsCount

Description

This query will only count the unread conversations in the most recent conversations (currently limited to 100 conversations). Any unread conversation after the threshold will be ignored. This criteria is subject to change without advance notice.


Response

Returns a UnreadChatsCount


Arguments

NameDescription
archived - BooleanWether to count the unread chats for active or archived chats

unreadChatsCount(
archived: Boolean = false
): UnreadChatsCount!