mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-30 04:24:50 +00:00
- Add mime.types file to contain a good database of type -> ext mappings from svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types - Load mime.type at BaseClient creation and add two convenience methods for guessing mime types from filenames and extensions from mime types, guess_mime_type and guess_extension - Make all send_* method as well as download_media use the new mime type database via guess_mime_type and guess_extension methods |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base_client.py | ||
| chat_action.py | ||
| dispatcher.py | ||
| emoji.py | ||
| mime.types | ||
| parse_mode.py | ||
| syncer.py | ||
| utils.py | ||