green-api / whatsapp-api-client-python

This library helps you easily create a Python application with WhatsApp API.
https://green-api.com/en
Other
144 stars 35 forks source link

How to download destructive images/videos #33

Closed soheru closed 1 year ago

soheru commented 1 year ago

?

ArtyomKovl commented 1 year ago

Please, clarify what you mean?

soheru commented 1 year ago

Like in WhatsApp we send photos and videos as one time view ? , So How to download those using api. Any examples?

ArtyomKovl commented 1 year ago

If I understand you correctly, you are interested in sending one-time messages using the API. Unfortunately, we do not have this function; this task has already been registered and transferred to the developers: https://github.com/green-api/issues/issues/250

soheru commented 1 year ago

i am interested in saving those messages,

for e.g you and i are talking on WhatsApp, you sent me one time message (photo) so using api , i want to save them

ArtyomKovl commented 1 year ago

Perhaps I didn't understand you correctly. Try using the DownloadFile method to download files: https://green-api.com/en/docs/api/receiving/files/DownloadFile/