WhatsJava icon indicating copy to clipboard operation
WhatsJava copied to clipboard

How To Get Status Send Message

Open syifarahmat opened this issue 5 years ago • 4 comments

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

  • [x] My Message is Sent, the log is Cmd,ack:1
  • [x] My Message is Receive to remoteJid, the log is Cmd,ack:2
  • [x] My Message is Read by remoteJid, the log is Cmd,ack:3

Or how to get this Log: s73,["Msg",{"cmd":"ack","id":"31AABD2D96B7E8AF220B266CF3DAD3F3","ack":1,"from":"[email protected]","to":"[email protected]","t":1599140847}]

Thank

syifarahmat avatar Sep 03 '20 13:09 syifarahmat

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.

Louuke avatar Sep 03 '20 16:09 Louuke

Thank's

syifarahmat avatar Sep 03 '20 17:09 syifarahmat

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

ecomm1 avatar Oct 25 '21 19:10 ecomm1

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

Ack 1 ack 2 ack 3

syifarahmat avatar Oct 28 '21 13:10 syifarahmat