Is there a way to fetch the read receipt information from a message id?
The information may be something like;
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
Yeah, i made and fork and already implemented that https://github.com/joaomirandasa/whatsapp-web.js
@joaomirandasa
If you have implemented it please submit a pull request to this repository and I鈥檒l gladly take a look :)
This has been implemented as of bb4ad11b 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
*/
});
Most helpful comment
If you have implemented it please submit a pull request to this repository and I鈥檒l gladly take a look :)