Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Telegram send image: fix mimetype detection (#7802)
* Add `name` var to BytesIO content to get recognized Sometimes the python-telegram-bot doesn't recognize the mimetype of the file and looks after a name variable to deduce it. Fixes #7413 * bytesio stream recycle less explicit
- Loading branch information