You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today my bot dont work with msg type button, my user dont see the msg with button...
the msg is send in my bot whatsapp i can see the msg, but my user dont see the msg, it's a whatsapp block ? Only msg buttons is not working, all others msg is working
const buttonMessage = {
text: "Bem-vindo ao Canal de Atendimento Serviços 24 Horas! Estamos felizes em atendê-lo. Aqui, resolvemos todas as suas necessidades, contando com a colaboração de milhares de profissionais em todo o país, como diaristas, pedreiros, advogados, profissionais de TI, psicólogos, garçons, serviços administrativos, entre outros. Todos os profissionais são rigorosamente selecionados e verificados por nossa plataforma, garantindo segurança e tranquilidade para você. Contratar um serviço é fácil e rápido, basta selecionar a opção desejada e aguardar nosso contato rápido. Experimente agora e tenha a solução para seus problemas a apenas alguns cliques de distância!",
buttons: buttons,
headerType: 1
}
client.sendMessage(BotsApp.chatId, buttonMessage, MessageType.buttonsMessage)
.then((data) => {
console.log(data)
// socket.emit('fromWhatsapp', {response: BotsApp.body, customer});
// customer.fromMe = true;
// customer.name = ownerName;
// socket.emit('fromCompany', {response: buttonMessage.text, customer});
})
.catch(err => console.log(err));
The text was updated successfully, but these errors were encountered:
Today my bot dont work with msg type button, my user dont see the msg with button...
the msg is send in my bot whatsapp i can see the msg, but my user dont see the msg, it's a whatsapp block ? Only msg buttons is not working, all others msg is working
buttons.push(
{buttonId: 'id1', buttonText: {displayText: "Preciso contratar"}, type: 1},
{buttonId: 'id2', buttonText: {displayText: "Preciso trabalhar"}, type: 1},
{buttonId: 'id3', buttonText: {displayText: "Quero suporte"}, type: 1}
);
The text was updated successfully, but these errors were encountered: