[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
EASY API/CLI
Current Behavior
decryptMedia returns
{
error: {
message: "Cannot read properties of undefined (reading 'mimetype')",
stack: "TypeError: Cannot read properties of undefined (reading 'mimetype')\n at Client.<anonymous> (/usr/src/app/node_modules/@open-wa/wa-automate/dist/api/Client.js:1773:20)\n at Generator.next (<anonymous>)\n at /usr/src/app/node_modules/@open-wa/wa-automate/dist/api/Client.js:31:71\n at new Promise (<anonymous>)\n at __awaiter (/usr/src/app/node_modules/@open-wa/wa-automate/dist/api/Client.js:27:12)\n at Client.decryptMedia (/usr/src/app/node_modules/@open-wa/wa-automate/dist/api/Client.js:1766:16)\n at /usr/src/app/node_modules/@open-wa/wa-automate/dist/cli/server.js:525:53\n at Generator.next (<anonymous>)\n at /usr/src/app/node_modules/@open-wa/wa-automate/dist/cli/server.js:31:71\n at new Promise (<anonymous>)",
},
}
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
EASY API/CLI
Current Behavior
decryptMedia returns
Expected Behavior
media decrypted
Steps To Reproduce
use decryptmedia(message)
create() code OR full CLI command + CONFIG
No response
DEBUG INFO
Environment
Screenshots/Logs
No response
Anything else?
No response