baileys-api icon indicating copy to clipboard operation
baileys-api copied to clipboard

How to decrypt images received in message json

Open yusufjk opened this issue 2 years ago • 3 comments

yusufjk avatar Jul 01 '22 13:07 yusufjk

Could you provide more information with this?

ookamiiixd avatar Jul 06 '22 09:07 ookamiiixd

Currently when we recieve an image message it is sending a json object of decryption keys and the url of the image stored. Is it possible to retrieve the image with that information? Any methods which could be of help? I read the baileys guide but still couldn't properly understand the decryption process

yusufjk avatar Jul 06 '22 11:07 yusufjk

I'll take a look into that when i have the time.

ookamiiixd avatar Jul 07 '22 07:07 ookamiiixd

I've figured it out, i'll add the feature as a new route later

ookamiiixd avatar Jan 07 '23 12:01 ookamiiixd