question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Buttons sending stop working after update

See original GitHub issue

Is 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. image

Expected behavior

As a user, I expect that buttons will be sended to recipient

Steps to Reproduce the Bug or Issue

  1. Install WW and authorize account
  2. 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:closed
  • Created a year ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
danieldwipaskacommented, Oct 21, 2022

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

I have tried that. it still doesn’t work. When I did that, another problem happened. ‘message’ event couldn’t not triggered.

1reaction
alechkoscommented, Oct 21, 2022

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found