Baileys icon indicating copy to clipboard operation
Baileys copied to clipboard

[BUG] Buttons are not received if whatsapp is closed (IOS)

Open automation-experiences opened this issue 1 year ago • 5 comments

Describe the bug If the receiver's whatsapp application is closed, the message with buttons is not received. In whatsapp web it is received normally.

To Reproduce Steps to reproduce the behavior:

  1. Created a new connection
  2. Authenticated
  3. Close the application (destination's whatsapp)
  4. Send button list
  5. Wait a few seconds and open the app again. The message did not arrive.

Expected behavior I hired a paid service to test if their button push was working. And it is sending successfully.

I noticed a difference in the message data structure.

This image contains the structure that successfully sent the buttons: https://ibb.co/37gbZS0

This second image is our message structure using Baileys: https://ibb.co/dBVyh29

Does it have a possible solution looking at the different structures?

I saw that something similar was already reported, but it was closed and marked as resolved.

I've tried using the viewOnce attribute, without success. I also tested it in the edge version and I was not successful.

automation-experiences avatar Dec 14 '22 14:12 automation-experiences