Hello i´m trying to send a pool in muy whatsapp groups but only works in some Groups and in others not.
i just update with:
npm i whatsapp-web.js --save
npm i github:pedroslopez/whatsapp-web.js#fix-buttons-list
My package.json is like that:
"whatsapp-web.js": "github:pedroslopez/whatsapp-web.js#fix-buttons-list",
and this is the code:
if(message == "te invitamos a calificar nuestro servicio"){
console.log("flag works");
var rows = [];
rows.push({id: "5. Muy Satisfecho 🤩",title: "5. Muy Satisfecho 🤩",});
rows.push({id: "4. Satisfecho 😁",title: "4. Satisfecho 😁",});
rows.push({id: "3. Neutro 😐",title: "3. Neutro 😐",});
rows.push({id: "2. Insatisfecho 😕",title: "2. Insatisfecho 😕",});
rows.push({id: "1. Muy Insatisfecho 😞",title: "1. Muy Insatisfecho 😞",});
obj = new List(
"Selecciona una opcion",
"Calificar",
[
{
title: "Calificar",
rows,
},
],
"Que tan satisfecho estas con la atención recibida ?"
);
await chat.sendMessage(obj);
}
As is said, in some chats it works realy fine but in others not apear the list but i can see the "flag works" in the console.