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

Checking the status of a sent message. #480

Open
Yagyansh opened this issue Sep 11, 2019 · 3 comments
Open

Checking the status of a sent message. #480

Yagyansh opened this issue Sep 11, 2019 · 3 comments

Comments

@Yagyansh
Copy link

Is there anyway to retrieve the status(whether it is seen or not yet) of a sent message? Not looking for a code snippet here, just wondering if it is possible and if it is can someone point me in the right direction with the logic?

@EionRobb
Copy link

Yes it's possible. You want to look at the timestamps that the participants in the conversation have seen up to, a property of the Conversation

@Yagyansh
Copy link
Author

@EionRobb Can you please elaborate a little?

@tdryer
Copy link
Owner

tdryer commented Sep 13, 2019

You can use Conversation.watermarks to get the timestamp that each participant has read up to. If a timestamp is greater than the timestamp of the message, that user has read the message.

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

No branches or pull requests

3 participants