-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to download photo from message.media #273
Comments
here is a function i found in some project to download file
I am using it like this
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to download also the photo from getHistory. But seem upload.getFile did not help.
let history = await telegram('messages.getHistory', { peer: { _: 'inputPeerChannel', channel_id: chat.id, access_hash: chat.access_hash },, limit: 10 })
And I want to get the photo from media object. Something like this
The error has appeared, due to missing file_reference. Any ideas?
The text was updated successfully, but these errors were encountered: