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

Deprecation of buttons #956

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Deprecation of buttons #956

merged 1 commit into from
Aug 14, 2024

Conversation

PurpShell
Copy link
Collaborator

@PurpShell PurpShell commented Jul 29, 2024

Support my work on GitHub Sponsors

Deprecation of Buttons, Lists, Templates

We will now remove all references in code and built-in capability to send buttons or Lists. We announced the deprecation a year and a few months ago.

This PR allows you to add custom Nodes to the outgoing as well. Do with that information what you will!

@whiskeysockets-bot
Copy link
Contributor

Thanks for your contribution.

The next step is to wait for review and approval to merge it to main repository

The community can help reacting with a thumb up (:thumbsup:) for approval and rocket (:rocket:) for who has tested it.

To test this PR you can run the following command below:

# NPM
npm install @whiskeysockets/baileys@WhiskeySockets/Baileys#fix/buttons-deprecation
# YARN v2
yarn add @whiskeysockets/baileys@WhiskeySockets/Baileys#fix/buttons-deprecation

@adithyan-hermit
Copy link

adithyan-hermit commented Jul 29, 2024

Why don't just use interactionMessage for buttons

@PurpShell
Copy link
Collaborator Author

Why don't just use interactionMessage for buttons

This PR is to deprecate all buttons, no more buttons, no more interaction message, no more anything!

@adithyan-hermit
Copy link

adithyan-hermit commented Jul 29, 2024

Ok.. buttons are still working...

@Xyro-Dev
Copy link

yatta🥰

@KilluaBot
Copy link

KilluaBot commented Jul 30, 2024

Thank you very much, good people, I wish you good health always. 🥰🥰🥰🔥🔥🔥

@Galang-Purnama
Copy link

Why don't just use interactionMessage for buttons

This PR is to deprecate all buttons, no more buttons, no more interaction message, no more anything!

Why ?

@lz20r
Copy link

lz20r commented Jul 30, 2024

Ok.. buttons are still working...

Better than nothing 😔

@lz20r
Copy link

lz20r commented Jul 30, 2024

Why don't just use interactionMessage for buttons

This PR is to deprecate all buttons, no more buttons, no more interaction message, no more anything!

This makes it more interactive... and not static...
In my opinion, buttons improve the visualization of information and also prevent the user from getting tired of seeing the same format. Another advantage is that it allows you to have a certain way of shaping it to your liking. Also, creating your own design would make the bot not look like a copy of others.

@Galang-Purnama
Copy link

Why don't just use interactionMessage for buttons

This PR is to deprecate all buttons, no more buttons, no more interaction message, no more anything!

This makes it more interactive... and not static... In my opinion, buttons improve the visualization of information and also prevent the user from getting tired of seeing the same format. Another advantage is that it allows you to have a certain way of shaping it to your liking. Also, creating your own design would make the bot not look like a copy of others.

I agree with what you said, but the Baileys developers don't want us to have a simple bot, they only make it more difficult if the button is no longer there.

@APdev93
Copy link

APdev93 commented Jul 30, 2024

Is the number of sending button messages reduced to a maximum of 3?, to reduce the risk of bugs and etc?

@RynXD-Host
Copy link

I've had enough with buttons😌

@PurpShell
Copy link
Collaborator Author

We already took our decision and informed and warned everyone a year ago. No more buttons.

Meta directly patched my own work (50 hours spent uncovering ) 1 day after I made a push to pedroslopez/whatsapp-web.js

We don't want provocation or reasons for baileys to be targeted. It is either buttons or baileys, pick one.

GO USE THE OFFICIAL META API IF YOU CARE ABOUT UI/UX I PERSONALLY COULD CARE LESS!

@adithyan-hermit

This comment has been minimized.

@adithyan-hermit

This comment has been minimized.

@WhiskeySockets WhiskeySockets locked and limited conversation to collaborators Jul 31, 2024
@PurpShell
Copy link
Collaborator Author

I already mentioned the reason, Meta doesn't like it.

We have received multiple legal threats.

@PurpShell PurpShell merged commit 35f6d75 into master Aug 14, 2024
2 checks passed
@PurpShell PurpShell deleted the fix/buttons-deprecation branch August 14, 2024 09:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants