Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get unread count based on user #315

Open
divya-BV opened this issue Nov 4, 2023 · 2 comments
Open

Get unread count based on user #315

divya-BV opened this issue Nov 4, 2023 · 2 comments

Comments

@divya-BV
Copy link

divya-BV commented Nov 4, 2023

Hi @TatankaConCube ,

I can retrieve the I want to get the total unread count of the chat based on user login. Do we have any api for the same?.

Please let me know,

@TatankaConCube
Copy link
Contributor

What do you exactly need? This API allows you to get the unread messages count. As result you will receive the map where the key is the 'dialogId' and the value is the unread messages count in this dialog (unread by the current user), also this map contains the key 'total' which is the count sum of all unread messages in all dialogs.

@TatankaConCube
Copy link
Contributor

no activity for a long time. closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants