Since the update today i can't send a button, i'm getting
´´´js
throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails));
^
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'id')
at puppeteer_evaluation_script:64:51
at Array.map (<anonymous>)
at Object.window.WWebJS.prepareMessageButtons (puppeteer_evaluation_script:63:71)
at Object.window.WWebJS.sendMessage (puppeteer_evaluation_script:184:43)
at puppeteer_evaluation_script:10:45
at ExecutionContext._evaluateInternal (/root/Hys/AI/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ExecutionContext.evaluate (/root/Hys/AI/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16)
at async Client.sendMessage (/root/Hys/AI/node_modules/whatsapp-web.js/src/Client.js:686:28)
´´´
error
CODE:
let button = new Buttons(
'Hola, soy AIA, tu asistente virtual con el poder de la Inteligencia Artificial, puedes hacerme cualquier pregunta y yo te responderé lo mejor que pueda ademas puedes solicitarme que te diga una frase motivadora, etc. ',
[
{ body: 'Iniciar', id: 'onboarding'},
],
'¡Bienvenido!',
'Presiona "Iniciar" '
);