mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.02k stars 796 forks source link

Update message.py #1062

Closed kingmagatron closed 2 years ago

kingmagatron commented 2 years ago

fix the full size media download

kingmagatron commented 2 years ago

Use with force_download=True

mukulhase commented 2 years ago

I am going to review this PR which seems to solve the problem: https://github.com/mukulhase/WebWhatsapp-Wrapper/pull/1046

kingmagatron commented 2 years ago

I am going to review this PR which seems to solve the problem: #1046

hello sir can i ask one thing? why PPT and documents are not in MediaMessage? isMedia=False from Js_obj ...

kingmagatron commented 2 years ago

I am going to review this PR which seems to solve the problem: #1046

hello sir can i ask one thing? why PPT and documents are not in MediaMessage? isMedia=False from Js_obj ...

if we use :

  **_if js_obj["mediaKey"]:  #   instead of isMedia
          return MediaMessage(js_obj, driver)_**

    **_All work fine_**
kingmagatron commented 2 years ago

I am going to review this PR which seems to solve the problem: #1046

hello sir can i ask one thing? why PPT and documents are not in MediaMessage? isMedia=False from Js_obj ...

hello sir can u tell me what will be the media_key decryption for "stickers"

as

crypt_keys = { "document": "576861747341707020446f63756d656e74204b657973", "image": "576861747341707020496d616765204b657973", "video": "576861747341707020566964656f204b657973", "ptt": "576861747341707020417564696f204b657973", "audio": "576861747341707020417564696f204b657973", "sticker": *** }