Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Audio files need a modification to work #7

Closed
antonio-couto opened this issue Jun 11, 2020 · 1 comment
Closed

Audio files need a modification to work #7

antonio-couto opened this issue Jun 11, 2020 · 1 comment

Comments

@antonio-couto
Copy link

The message with audio files (opus) has "type":"ptt" and "isMedia":false, so the function downloadFile
on whatsapp.ts modeule checks the flag isMedia = true in order to download the audio file, if i remove this check the audio file is downloaded properly.
Thanks in advance.
Antonio

@orkestral
Copy link
Owner

in version 1.0.1 that we are going to create for the weekend now, we will include a new specific function for this function, thanks!

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

No branches or pull requests

2 participants