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
Read receipts. #67
Comments
We usually get the message id in the payload returned while sending a message. |
Yeah, i made and fork and already implemented that https://github.com/joaomirandasa/whatsapp-web.js |
If you have implemented it please submit a pull request to this repository and I’ll gladly take a look :) |
This has been implemented as of bb4ad11 and will be included in the next release :) Example: client.on('message_ack', (message, ack) => {
// message: the message affected
// ack: the new ack value
/*
POSSIBLE ACK VALUES:
ACK_ERROR: -1
ACK_PENDING: 0
ACK_SERVER: 1
ACK_DEVICE: 2
ACK_READ: 3
ACK_PLAYED: 4
*/
}); |
Is there a way to fetch the read receipt information from a message id?
The information may be something like;
The text was updated successfully, but these errors were encountered: