Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sendMessage with buttons don't send message #1043

Closed
antirek opened this issue Apr 27, 2022 · 3 comments
Closed

sendMessage with buttons don't send message #1043

antirek opened this issue Apr 27, 2022 · 3 comments
Labels
beta WhatsApp BETA/Multidevice question Further information is requested

Comments

@antirek
Copy link
Contributor

antirek commented Apr 27, 2022

Description

strange behavior: send message with buttons and it like incoming on sender whatsapp and no incoming on 'to' whatsapp

sendText('7913XXXX01@c.us', 'text', {
   useTemplateButtons: true,
   buttons: [
     {id: 'id1', text: 'text1'}
   ],
});

in logs I see two incoming messages with type 'chat'
in first

to: '7913XXXX01@c.us',
from: '7913XXXX02@c.us' //it's sender whatsapp

in second

to: '7913XXXX02@c.us',  //to sender?? %)
from: '7913XXXX01@c.us'

from and to was changed

without buttons all works well

Environment

  • WPPConnect version(s): 1.13.0
  • WA-JS version(s): 2.0.0 and 2.1.0
  • Browser: Chrome 99
  • OS: Ubuntu 20.04
  • Node version: Node 16
  • WhatsApp version: 2.2214.9
  • MultiDevice (BETA): no
@antirek antirek added bug Something isn't working needs triage labels Apr 27, 2022
@antirek
Copy link
Contributor Author

antirek commented Apr 28, 2022

additional experience

if use for sending beta whatsapp - it's works. But with nuances ))

on target device message with buttons is visible - it is good. but in sender whatsapp app sent message is visible in chat with self. this is bug of whatsapp? or side-effect of messages with buttons?

@edgardmessias
Copy link
Contributor

@antirek , it is a side-effect of messages with buttons, maybe a bug in the Whatsapp APP.

About sending, it only works with Business with MultiDevice enabled

@edgardmessias edgardmessias added bug Something isn't working question Further information is requested beta WhatsApp BETA/Multidevice needs triage and removed bug Something isn't working needs triage labels Apr 28, 2022
@antirek
Copy link
Contributor Author

antirek commented Apr 29, 2022

ok, @edgardmessias thanks.
I see that more and more whatsapp apps by default are multidevice-enabled.

@antirek antirek closed this as completed Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta WhatsApp BETA/Multidevice question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants