Correção para voltar ao menu de opções

pull/20/head
adriano 2023-04-18 17:24:03 -03:00
parent 626264d568
commit 5c13bbffb6
1 changed files with 4 additions and 1 deletions

View File

@ -1163,7 +1163,10 @@ const handleMessage = async (
}); });
const _ticket = await ShowTicketService(ticket.id); const _ticket = await ShowTicketService(ticket.id);
const chat = await msg.getChat();
// const chat = await msg.getChat();
const chat = wbot.chat
await sendDialogflowAwswer(wbot, _ticket, msg, contact, chat); await sendDialogflowAwswer(wbot, _ticket, msg, contact, chat);
return return
} }