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.92k stars 338 forks source link

Button Message send but view in android Phone #2412

Open tls-jil opened 1 week ago

tls-jil commented 1 week ago

Description

I am able to send Button and list option Messages and able to view them on my iPhone and web WhatsApp but on my other Android phone it does not show any message I used to send text function for the send button Message, but on Android, I am able to see ListOption Message but not able to view Button Message on Chat

the code is as follows if anyone has any ideas please suggest me

wpClient .sendText(number + "@c.us", data.message, { buttons: data.buttons, title: data.title, footer: data.footer, }) .then((result) => { console.log("result", result);

    if (result && result.id) {
      isMessageSend = true;
    } else {
      isMessageSend = false;
    }
  })
  .catch((erro) => {
    console.log("Message Send Error : ", erro);
  });

Environment