- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2025 05:20 PM
Hello,
Is there a way to get unread messages for a user or a channel using the Webex API's or the javascript SDK?
I have been looking through the documentation and see no way to get unread messages or see a user's last-read message. I apologize if I have missed something simple I have read through all of the messages and room documentation from Cisco.
Solved! Go to Solution.
- Labels:
-
Webex API
-
Webex Developer
-
Webex SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 04:56 AM
@TechSarge there is no API for unseen messages, but you can use the JS SDK's membership module to listen to "seen" https://github.com/webex/webex-js-sdk/blob/0f67a06bf8bbda4f68c1d65ae7f53d7f16c1b53c/packages/%40webex/plugin-memberships/src/memberships.js#L87 . This represents the read receipt of a message, so the closest to your scenario that we have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 04:56 AM
@TechSarge there is no API for unseen messages, but you can use the JS SDK's membership module to listen to "seen" https://github.com/webex/webex-js-sdk/blob/0f67a06bf8bbda4f68c1d65ae7f53d7f16c1b53c/packages/%40webex/plugin-memberships/src/memberships.js#L87 . This represents the read receipt of a message, so the closest to your scenario that we have.
