wa-multi-session icon indicating copy to clipboard operation
wa-multi-session copied to clipboard

how can I capture voice audios

Open aledc7 opened this issue 6 months ago • 0 comments

How can I capture the voice audio of users?

In the docs we have: but nothing about capture audio.

// Send Voice Note

const filename = "myaudio.mp3";
const audio = fs.readFileSync(filename); // return Buffer
const send = await whatsapp.sendVoiceNote({
  sessionId: "session1",
  to: "6281234567890",
  media: audio,
});

how can we archive that?

Thank you

aledc7 avatar Aug 22 '24 22:08 aledc7