pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.05k stars 3.58k forks source link

fix list button #2093

Closed rph-store closed 9 months ago

rph-store commented 1 year ago

Is there an existing issue for this?

Describe the bug

fix list button does not appear in the latest whatsapp application, how to solve it

Expected behavior

fix list button does not appear in the latest whatsapp application, how to solve it

Steps to Reproduce the Bug or Issue

fix list button does not appear in the latest whatsapp application, how to solve it

Relevant Code

No response

Browser Type

Chromium

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

android , ios

Additional context

No response

JohnnyLove777 commented 1 year ago

Same here and for most! I think whatsapp got some major change last days, hoping for a super-hero :/

sand97 commented 1 year ago

I have the same issues. After whatsapp update user are unable to see button

betohg commented 1 year ago

Same here, any updates on the problem? :(

JDMLISY commented 1 year ago

estamos así hace mas de dos semanas y nada nadie a dado con el tema, es difícil ya que no genera errores

kesc23 commented 1 year ago

mine was working until monday, now on the phone it doesn't show any message with button. in WhatsApp Web it is working fine.

rafaelcw8 commented 1 year ago

+1

makmortifera commented 1 year ago

+1

jeysonj2 commented 1 year ago

+1

fiedzback commented 1 year ago

+1 sir @PurpShell

nasruldev commented 1 year ago

+1 @PurpShell

kesc23 commented 1 year ago

i got a hint in the wa-js repo that maybe is only the android version that isn't working, can somebody with an iphone double check this?

https://github.com/wppconnect-team/wa-js/issues/977

jeysonj2 commented 1 year ago

I tested it using my Android phone and the Whatsapp desktop app on Mac. On Android, the button's message is not arriving; on Mac, the message arrives and shows the buttons properly

NatalioFierro commented 1 year ago

mine was working until monday, now on the phone it doesn't show any message with button. in WhatsApp Web it is working fine.

same case here

vodafonecelcom commented 1 year ago

Facing the same problem.

diegofemello commented 1 year ago

+1

tyasa2000 commented 1 year ago

+1

takshalykov commented 1 year ago

+1

CSFelix commented 1 year ago

+1

sony572 commented 1 year ago

+1

nasruldev commented 1 year ago

Will the WhatsApp button feature still be available for non-official API users? Please inform us if developers are currently seeking a solution. Or If it is not possible, please inform us so that we can rewrite our bot conversation script without using the button. @PurpShell @pedroslopez

Ayperoz commented 1 year ago

Personally I changed my script to use the normal bot, because whatsapp detected the buttons almost automatically as an unauthorized version of whatsapp and blocked the line in a matter of minutes, I currently have ticket #1759 open with the solution I found in your moment but it no longer applies to the current version, I recommend, as a person who uses wha-js to send mass messages, not to use it until further notice. Greetings!

sand97 commented 1 year ago

I think event if we found a solution, whatsapp will also block it in the future because they offer a official solution.

The bad think i found with official Whatsapp API(On Premise or Cloud API) is that we can't use them and Mobile App at the same time. so you have to connect your whatsapp account to provider so see or reply manually to our users or create your own client App. But it's stable and scalable.

karellenn commented 1 year ago

Hi, I have the same problem but only with android in OS is working all list and buttons.

tested on 5 devices 2 android and 3 OS

Ayperoz commented 1 year ago

Hi, I have the same problem but only with android in OS is working all list and buttons.

tested on 5 devices 2 android and 3 OS

Of course, until now the fix button list has only supported android, IOS never managed to use buttons and lists. We are still waiting to be able to use them.

karellenn commented 1 year ago

@Ayperoz

I believe you understood it wrong because in my case it is working perfectly on IOS w-a business

the list and buttons error occurs on Android.

esteban020987 commented 1 year ago

Será que tendremos solución para volver a utilizar los botones en Android? Hay programadores trabajando en eso?

digitalsolitario commented 1 year ago

Call to action Buttons are showing on Whatsapp Web but not in App's. Any one have a solution.

HiramNeto commented 1 year ago

After the release of an update for the mobile app on iOS devices, it seems that message with buttons can be seen again. Android still does not work. It seems not to be a problem with this library itself, but a bug on the apps on the mobile devices, so there is nothing to be done here...

From what I tested, it works on iOS devices with whatsapp updated and on any whatsapp web, but it does not work on Android devices...

I am a bit afraid of those recent reports of people having their accounts banned from sending messages with buttons, but I am not sure that buttons are the cause to blame because I am sending them and I am still ok...

nasruldev commented 1 year ago

One of the developers at Baileys has found a solution and will be sending a pull request shortly.

@purpshell, could you kindly work your magic? Let's not leave WWebJS behind. Thank you for your help.

Best wishes to you and your family for a happy and holy Ramadan. May your efforts during this time become your Ahsanul amala.

cheveguerra commented 1 year ago

It "seems" the fix is not a big change, but since I am not that good at programming, I don't really know, but here is the link to the post from Auties00, he says that normal buttons and lists are fixed, but template buttons are still rejected and unlink the device from the account.

https://github.com/adiwajshing/Baileys/issues/2631#issuecomment-1489799976

faviocabral commented 1 year ago

your library still work to send message with button to android device and ios? what repo do you use?

J-Tronics commented 1 year ago

It "seems" the fix is not a big change, but since I am not that good at programming, I don't really know, but here is the link to the post from Auties00, he says that normal buttons and lists are fixed, but template buttons are still rejected and unlink the device from the account.

https://github.com/adiwajshing/Baileys/issues/2631#issuecomment-1489799976

Hey You link is not available

umeshgoyal commented 1 year ago

Hi @pedroslopez We are unable to send List or button using sendMessage .Can you please fix this asap. const productsList = new List( "Here's our list of products at 50% off", "View all products", [ { title: "Products list", rows: [ { id: "apple", title: "Apple" }, { id: "mango", title: "Mango" }, { id: "banana", title: "Banana" }, ], }, ], "Please select a product" ); client.sendMessage(message.from, productsList)

Not Working
alechkos commented 9 months ago

Buttons and lists are no longer supported