Louuke / WhatsJava

Implementation of the WhatsApp Web API in Java
Apache License 2.0
37 stars 16 forks source link

How To Get Status Send Message #3

Open syifarahmat opened 4 years ago

syifarahmat commented 4 years ago

How to get status send message, I detect Log when :

Or how to get this Log: s73,["Msg",{"cmd":"ack","id":"31AABD2D96B7E8AF220B266CF3DAD3F3","ack":1,"from":"6282266331136@c.us","to":"628118414000@c.us","t":1599140847}]

Thank

Louuke commented 4 years ago

Currently there is no way implemented to retrieve the status of a sent message. I don't have much time to work on the API, so this feature is not a high priority for me. At least for now.

To get the log you could for example check within the onTextMessage method of the WAClient class if the received message contains the string "ack". This of course requires you to recompile the library.

syifarahmat commented 4 years ago

Thank's

ecomm1 commented 2 years ago

Hi Syifarahmat where you able to get the delivered and read receipts from the logs?

syifarahmat commented 2 years ago

Hi Syifarahmat where you able to get the delivered and read receipts from the logs?

Ack 1 ack 2 ack 3