Buttons sending stop working after update
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Describe the bug
After latest update, buttorns dont work anymore. Sending returns status ok , but in whatsapp web it looks like a loading message.
Expected behavior
As a user, I expect that buttons will be sended to recipient
Steps to Reproduce the Bug or Issue
- Install WW and authorize account
- Try to send a message with buttons
Relevant Code
const convertedButtons = []
for (let i = 0; i < buttons.length; i++) {
convertedButtons.push({ body: buttons[i].src })
}
const button = new Buttons(message.text, convertedButtons)
let result = await client.sendMessage(message.to + "@c.us", button)
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
linux android latest WW node v16
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:12
Top Results From Across the Web
iPhone Home Button Not Working After iOS Update - UltFone
It is very much possible that the Home button not working issue and unresponsiveness after update is due to dust clogged in it....
Read more >Glitch in send button - Apple Support Communities
I was trying to send a pdf file from the notes app to one of my contacts in WhatsApp, after I chose the...
Read more >outlook had an update, now where is the "send" button?
Cannot find how to send a new message after recent outlook update. There is no "send" button anywhere.
Read more >Outlook on iOS send button disappearing - AppleVis
Using outlook on an iPad I have a problem which seems to randomly happen where the send button when composing a message seems...
Read more >How to prevent buttons from submitting forms - Stack Overflow
So any link must be converted to such form submit, so the login data is not lost. When no login is yet done,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have tried that. it still doesn’t work. When I did that, another problem happened. ‘message’ event couldn’t not triggered.
the update to v1.18.0 doesn’t include the buttons/lists fix PR you have to install it by yourself just use
npm i github:pedroslopez/whatsapp-web.js#fix-buttons-list
more info here #1636