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
14.62k stars 3.48k forks source link

Button not working #2162

Closed Goldn7799 closed 7 months ago

Goldn7799 commented 1 year ago

Is there an existing issue for this?

Describe the bug

i want to send button message, its not working, i tired switch whatsapp original and whatsapp buisness and try any code

Expected behavior

the message detected on bot but in whatsapp is none(DISSAPEAR)

Steps to Reproduce the Bug or Issue

host.on("message", async (m)=>{ const chat = await m.getChat() if(m.body.toLowerCase() === "testing"){ const button = new Buttons("Hello World", [{"body": "Option A"}, {"body": "Option B"}], "TITLE", "FOOTER"); chat.sendMessage(button); }; })

image

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

WWEBJS V1.19.5

Additional context

No response

amosayomide05 commented 1 year ago

Read other issues before submitting a new one.

There is no solution right now

badDevelopper commented 1 year ago

in baileys is working.. we need a cat this infor in baileys lid maybe

faviocabral commented 1 year ago

in baileys is working.. we need a cat this infor in baileys lid maybe

baileys they resolved these issues in android and ios ?

Gaspa79 commented 1 year ago

By looking at their thread, the replies are very inconsistent. Apparently it works sometimes with whatsapp personal accounts in android. Who knows

badDevelopper commented 1 year ago

Yes baileys work BTT in android and ios

Em qui., 27 de abr. de 2023 15:59, Gaspa79 @.***> escreveu:

By looking at their thread, the replies are very inconsistent. Apparently it works sometimes with whatsapp personal accounts in android. Who knows

— Reply to this email directly, view it on GitHub https://github.com/pedroslopez/whatsapp-web.js/issues/2162#issuecomment-1525748226, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV4MLDJBMD777IY34FVYYPTXDJ3TLANCNFSM6AAAAAAXGGHIG4 . You are receiving this because you commented.Message ID: @.***>

rawars commented 1 year ago

Hello friend, what do you mean by BTT ?

tyasa2000 commented 1 year ago

I try baileys not work BTT in android

badDevelopper commented 1 year ago

Yo utilizo Baileys en mi bot actual e si, está funcionando los botones

Em qui., 4 de mai. de 2023 04:19, tyasa2000 @.***> escreveu:

I try baileys not work BTT in android

— Reply to this email directly, view it on GitHub https://github.com/pedroslopez/whatsapp-web.js/issues/2162#issuecomment-1533990169, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV4MLDNLMY5X4F4WK42QBWDXEMG25ANCNFSM6AAAAAAXGGHIG4 . You are receiving this because you commented.Message ID: @.***>

tyasa2000 commented 1 year ago

button message not seen (baileys) https://github.com/ookamiiixd/baileys-api/issues/175

badDevelopper commented 1 year ago

This repo Baileys os not the las versión Try this bailyes https://github.com/WhiskeySockets/Baileys

But u cant use bussines whatsapp,only normal.not bussines

williamgranzotto commented 1 year ago

Does anybody has solution for button not showing in new version v1.19.5?

faviocabral commented 1 year ago

Does anybody has solution for button not showing in new version v1.19.5?

there is a general problem

fr00t16 commented 1 year ago

This repo Baileys os not the las versión Try this bailyes https://github.com/WhiskeySockets/Baileys

But u cant use bussines whatsapp,only normal.not bussines

i think button have problem after update wa web js / bailyes lib

alechkos commented 7 months ago

Buttons and lists are no longer supported