[X] I have checked and am using the latest version of the library.
What type of session are you experiencing this issue on?
Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag
What type of host account are you experiencing this issue on?
Personal account (normal)
Mode
My own code
Current Behavior
Test Code:
if (message.body.toLowerCase() == '/leave2') {
await bocchi.leaveGroup(message.from)
return
}
error:
Error [TypeError]: Cannot read properties of undefined (reading 'sendExitGroup')
at window.<computed>.<computed> (evaluate at /home/whatsapp/BOT/node_modules/@open-wa/wa-automate/dist/controllers/patch_manager.js:127:50, <anonymous>:0:540439)
at evaluate (evaluate at Client.<anonymous> (/home/whatsapp/BOT/node_modules/@open-wa/wa-automate/dist/api/Client.js:564:44), <anonymous>:0:17)
at #evaluate (/home/whatsapp/BOT/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:252:55)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext.evaluate (/home/whatsapp/BOT/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:149:16)
Are you using the latest version of the library?
What type of session are you experiencing this issue on?
Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag
What type of host account are you experiencing this issue on?
Personal account (normal)
Mode
My own code
Current Behavior
Test Code:
error:
Expected Behavior
leave group
Steps To Reproduce
execute above code
create() code OR full CLI command + CONFIG
DEBUG INFO
Environment
Screenshots/Logs
No response
Anything else?
No response