Skip to content

v8.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 17 May 05:47
· 195 commits to master since this release
311c38d

8.7.0 (2023-05-17)

Feature

New api endpoint for unread count #1117
This endpoint is not enabled for every org, and if needed can be requested by getting in touch with [email protected]

On client side

const client = StreamChat.getInstance('key');
client._setToken({ id: 'vishal' }, 'my_token');
const response = await client.getUnreadCount();

Server side

const client = StreamChat.getInstance('key', 'secret');
const response = await client.getUnreadCount('vishal');