Rhymen / go-whatsapp

WhatsApp Web API
MIT License
2.07k stars 492 forks source link

Check if message has already been handled (read) #528

Open RafaelIngenium opened 3 years ago

RafaelIngenium commented 3 years ago

Is it possible to check if, when starting the project, check which messages from clients I have already dealt with (read) and which ones do I need to deal with?

Valdenirmezadri commented 3 years ago

You can create a cache to handler this

fredjsf commented 3 years ago

You can use HandleJsonMessage and get ack events.

fredjsf commented 3 years ago

When you receive a message you have the message id and you can control with this. But only when you save id previosly you can check ack.