Visitar URL original
Support for in-memory file downloads · Issue #284 · pyrogram/pyrogram · GitHub
The Wayback Machine - https://web.archive.org/web/20201210055609/https://github.com/pyrogram/pyrogram/issues/284
Skip to content
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

Support for in-memory file downloads #284

Open
OctoNezd opened this issue Jul 19, 2019 · 0 comments · May be fixed by #285
Open

Support for in-memory file downloads #284

OctoNezd opened this issue Jul 19, 2019 · 0 comments · May be fixed by #285

Comments

@OctoNezd
Copy link
Contributor

@OctoNezd OctoNezd commented Jul 19, 2019 •

Checklist

  • I believe the idea is awesome and would benefit the library.
  • I have searched in the issue tracker for similar requests, including closed ones.
  • Currently you can only download to file by path, not to BytesIO/anyotherIO or just bytes
  • Feature parity with plain bot API libraries

Description

An argument out for message.download, which is annotated by io.IOBase and downloads to specified file-like object. If both file_name and out are specified, throw exception

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.