Closed derrickobedgiu1 closed 1 year ago
Hi @derrickobedgiu1, I would also like these additional fields to be available for Media messages. I will try to spend some time this weekend to see if I can come up with a Pull Request to add them.
@angelomelonas Thanks for that. I checked the files and found it's only the document media type that comes with the filename parameter. The image didn't come with the parameters. So the issue I've created here is concerned with the document type only, AT LEAST FOR NOW. I figured you may be interested in having this information.
Done.
I also need these data and they are not in the MEDIA class
filename: https://github.com/netflie/whatsapp-cloud-api/pull/126/commits/53b957d833470ee2ef110ba673b01fabe38d3459 sha256: https://github.com/netflie/whatsapp-cloud-api/pull/126/commits/242327e5ff06527fece4da9225338ecd9ff97836
Hi @winkelco thanks for your support. Can you open a PR? Thanks!
Filename and sha256 are now available from v2.1.0 release.
Hello, I've been ignoring this minor issue of missing parameters in the media object I think because I haven't been frequently testing and using it as my main focus was on Text type. But I can confirm that there are missing parameters the object isn't returning for the media object. Below are examples of the cases:
CASE 1 FOR NORMAL DUMP:
CASE 1 FOR LIB DUMP
The tests I made all include the "filename" parameter and "sha256". Is it possible to include these parameters in future versions of the LIB? Thank you. I'm always ready to test and provide immediate feedback.