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

new feature - message with button #210

Closed
JLENF opened this issue Sep 20, 2023 · 7 comments
Closed

new feature - message with button #210

JLENF opened this issue Sep 20, 2023 · 7 comments

Comments

@JLENF
Copy link

JLENF commented Sep 20, 2023

I use your API and it works great. The only feature it doesn't have is the possibility of sending a message with a button for the person to click and respond to a pre-defined message.

In this project they have this functionality, but I would like to use your API.
https://github.com/salman0ansari/whatsapp-api-nodejs

Congratulations on the project.

@allburov
Copy link
Contributor

Have you tested buttons in that project? It probably doesn't work.
this is why https://dev.to/purpshell/buttons-and-lists-get-deprecated-by-many-libraries-54h

You can use polls instead (but it's availalbe in NOWEB engine only) https://waha.devlike.pro/docs/how-to/polls/

@JLENF
Copy link
Author

JLENF commented Sep 21, 2023

"Have you tested buttons in that project? It probably doesn't work."

yes, its working.

That's why I opened this issue, so you can check how he did it.

@allburov
Copy link
Contributor

Weird, even the engine that the project above use doesn't support it anymore
WhiskeySockets/Baileys#56

So if it's fine for you to use noweb engine (it's an alias for WhiskeySockets/Baileys) - you can use polls instead, it covers the case!

@JLENF
Copy link
Author

JLENF commented Sep 26, 2023

Hi, this feature i need..

IMG_5762

@JLENF
Copy link
Author

JLENF commented Sep 26, 2023

Captura de Tela 2023-09-26 às 14 34 51 Captura de Tela 2023-09-26 às 14 35 08

@JLENF
Copy link
Author

JLENF commented Sep 26, 2023

Now I understand that there is a difference between button and reply message.
Can I use reply message with your project?

@allburov
Copy link
Contributor

Can I use reply message with your project?
I don't think so.

Can't it be done with Polls? https://waha.devlike.pro/docs/how-to/polls/
So you'll have two options

  • Confirm
  • Decline

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants