wppconnect-team / wppconnect

WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligence recognition based on phrases artificial and many other things, use your imagination
https://wppconnect.io
Other
1.83k stars 317 forks source link

sendText with buttons useTemplateButtons: false, dont work on android normal whatsapp #1585

Closed aureodiasneto closed 1 year ago

aureodiasneto commented 1 year ago

im using the latest version 1.2.3, and it only show the buttons on web, ios and android business app, the normal app dont show the buttons.

how to deal with that?

edgardmessias commented 1 year ago

This is a known issue, but there's nothing that we can do about it, because it's a WhatsApp limitation.

aureodiasneto commented 1 year ago

very random, without even updating the app sometimes it works and sometimes it doesn't.

ozozozd commented 1 year ago

@edgardmessias thank you so much for the great work you guys are doing! I hope it doesn't feel like thankless work.

Do you think it's a bug they are going to fix? Or should we be worried that it'a a feature they are testing as a way to prevent button template messages from being seen unless they are sent using the WhatsApp Business API?

muito obrigado pelo seu trabalho, e muito amor a trancoso!

edgardmessias commented 1 year ago

@ozozozd , there are a lot of people trying to figure out how to send the buttons, I always stay contacting them.

In parallel, I'm investigating call features, like offer, accept, end....

CaduhDEV commented 1 year ago

se utilizar os templates button, funciona normalmente ? alguns dos clientes do meu bot não consegue vizualizar os botões.

edgardmessias commented 1 year ago

@CaduhDEV , não está funcionando nenhum tipo de botão. A Meta bloqueou todos tipos no momento.

CaduhDEV commented 1 year ago

obrigado, caso consiga alguma solução retorna me informar por favor

aureodiasneto commented 1 year ago

Do you think that now buttons will work only through the official api?

CaduhDEV commented 1 year ago

Aparentemente usuários que não são usuários beta do whatsapp não são compatíveis com as mensagens de botões, posso estar errado, mas testei em 1 whatsapp com beta access e funciona normalmmente, e no sem beta n funciona.

marcelomedina22 commented 1 year ago

Buttons (not template) & send-list are displaying on iOS devices, also web. This issue is happing android version higher than 2.23.3.15. Seems like a meta changed their attributes. I don't think this a block by Meta, otherwise iOS will not working as well, also most their coder are US based, so iPhone users.

CaduhDEV commented 1 year ago

se alguém descobrir como monta o objeto de botões atualizados favor avisar aqui, estou numa busca de descobrir como posso montar os botões compativeis com android superior a 2.23.3.15 @marcelomedina22

Inevitable-Dev commented 1 year ago

@CaduhDEV I came in the comments of another API that in the object of the button msg sent by the Official WhatsApp API seems to have a new Key called "recipientKeyHash" that seems to always receive a random code value that looks like this: "recipientKeyHash": "nopVs9S5HXw9mg=="

There is still no understanding of how this value is Generated.

lucazin commented 1 year ago

Some alternatives than send-buttons ?

lucazin commented 1 year ago

@CaduhDEV , não está funcionando nenhum tipo de botão. A Meta bloqueou todos tipos no momento.

Funciona apenas da API Oficial?

CaduhDEV commented 1 year ago

@lucazin eu não sei bem oq fazer, estou aguardando os desenvolvedores do wppconnect conseguir alguma alternativa para isso, enquanto isso o melhor metodo seria o antigo: responder as perguntas do bot usando numeros:

digite 1 para fazer isso digite 2 para fazer aquilo

lucazin commented 1 year ago

Vou ter que mudar toda lógica.

Em sáb., 25 de mar. de 2023 14:58, CaduhDEV @.***> escreveu:

@lucazin https://github.com/lucazin eu não sei bem oq fazer, estou aguardando os desenvolvedores do wppconnect conseguir alguma alternativa para isso, enquanto isso o melhor metodo seria o antigo: responder as perguntas do bot usando numeros:

digite 1 para fazer isso digite 2 para fazer aquilo

— Reply to this email directly, view it on GitHub https://github.com/wppconnect-team/wppconnect/issues/1585#issuecomment-1483883390, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGXVDFXKCNL4NFHATFNURQDW54W3DANCNFSM6AAAAAAWB4MDK4 . You are receiving this because you were mentioned.Message ID: @.***>

raajrush commented 1 year ago

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

manish-snappe commented 1 year ago

Any headway on this @raajrush ?

roysG commented 1 year ago

Any update? @raajrush

edgardmessias commented 1 year ago

I did it on WA-JS

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

roysG commented 1 year ago

When this update should be also implemented in this library? @edgardmessias

edgardmessias commented 1 year ago

Closed at https://github.com/wppconnect-team/wppconnect/releases/tag/v1.23.2

manish-snappe commented 1 year ago

I updated to 1.23.2, still buttons are not working @edgardmessias

edgardmessias commented 1 year ago

@manish-snappe , are you using business account? If yes, this will never work, the Meta is blocking message buttons from business account and they probally will block with normal accounts too

lucazin commented 1 year ago

Lists are working?

Em ter., 4 de abr. de 2023 14:03, Edgard Lorraine Messias < @.***> escreveu:

@manish-snappe https://github.com/manish-snappe , are you using business account? If yes, this will never work, the Meta is blocking message buttons from business account and they probally will block with normal accounts too

— Reply to this email directly, view it on GitHub https://github.com/wppconnect-team/wppconnect/issues/1585#issuecomment-1496312662, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGXVDFWUE3M2CM4PN4LTQFLW7RH53ANCNFSM6AAAAAAWB4MDK4 . You are receiving this because you were mentioned.Message ID: @.***>

edgardmessias commented 1 year ago

@lucazin , is working for some accounts

lucazin commented 1 year ago

Do you believe, list will still working? Because a will change the application to use just lists without buttons.

Em ter., 4 de abr. de 2023 14:06, Edgard Lorraine Messias < @.***> escreveu:

@lucazin https://github.com/lucazin , is working for some accounts

— Reply to this email directly, view it on GitHub https://github.com/wppconnect-team/wppconnect/issues/1585#issuecomment-1496316328, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGXVDFUART5YW5JB5YTTT4TW7RIIRANCNFSM6AAAAAAWB4MDK4 . You are receiving this because you were mentioned.Message ID: @.***>

roysG commented 1 year ago

The problem still exists also in latest version.

I see the buttons only on the web. not on iphone or android.

Is there any change that needs to do to in the function himself or in the command that we call it?

marcelomedina22 commented 1 year ago

Eu reparei que o wppconnect usa apenas o templatebutton, o templatebutton não funcionava antes. No iPhone.

Na atualização o sendlist voltou. Uhul \O/

Para os botões acho que voltando o legacy. Eu usava uma versão modificada do myzap (que usa o wppconnect) que estava a versão legacy dos buttons, anterior a templateButton enviava normalmente parou no mesmo dia que sendlist parou. Acredito que deva precisar da mesma atualização. Porém usar a versão legacy dos buttons, sem template. Seria possível usar duas rotas oara legacy button e templatebutton?

Alguém marca o edgar por gentileza.

edgardmessias commented 1 year ago

@marcelomedina22 , por padrão o tipo dos botões é automático.

Se você colocar botão de URL ou Ligação, automaticamente é template, caso contrário, ele usa o meio antigo