go-whatsapp
go-whatsapp copied to clipboard
invalid media hmac for audio messages, sended with drag-n-drop
Problem: can not download sended audio message Steps for reproduce:
- Send audio file (mp3) throught drag-n-drop with whatsapp web application
- Fires HandleAudioMessage()
- Try to execute Download() method
- Seen
invalid media hmac
error
If file sends through "Send document" drop-down menu, file successfully downloads (web version hasn`t "send audio" option). If audio message records into whatsapp web-app, file successfully downloads. Problem only for drag-n-drop sended mp3 files.
Unfortunately, this package is not being actively maintained currently and will soon be unusuable as WhatsApp updates to multi-device. Please look at tulir/whatsmeow for a Go WhatsApp Web API that is actively maintained and supports WhatsApp multi-device.