cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
249
Views
0
Helpful
1
Replies

Webex API get unread messages

TechSarge
Level 1
Level 1

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.

1 Accepted Solution

Janos Benyovszki
Cisco Employee
Cisco Employee

@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.

View solution in original post

1 Reply 1

Janos Benyovszki
Cisco Employee
Cisco Employee

@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.