pyrofork/pyrogram/client
Dan 63d76a7f13 Bring back automatic mime type detection for new uploads (fixes #239)
- 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
2019-04-20 18:56:30 +02:00
..
ext Bring back automatic mime type detection for new uploads (fixes #239) 2019-04-20 18:56:30 +02:00
filters Fix Filters.video_note wrong name 2019-04-14 12:25:31 +02:00
handlers Refactor project and move errors namespace out from pyrogram.api 2019-03-25 11:23:45 +01:00
methods Bring back automatic mime type detection for new uploads (fixes #239) 2019-04-20 18:56:30 +02:00
style Fix broken mentions for both HTML and Markdown 2019-03-26 13:32:30 +01:00
types Make delete_messages return False when it fails to delete 2019-04-14 22:34:05 +02:00
__init__.py Refactor project and move errors namespace out from pyrogram.api 2019-03-25 11:23:45 +01:00
client.py Bring back automatic mime type detection for new uploads (fixes #239) 2019-04-20 18:56:30 +02:00