Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

how can I capture voice audios #39

Open
aledc7 opened this issue Aug 22, 2024 · 0 comments
Open

how can I capture voice audios #39

aledc7 opened this issue Aug 22, 2024 · 0 comments

Comments

@aledc7
Copy link

aledc7 commented Aug 22, 2024

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant