MTPyroger/pyrogram/client/methods
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
..
bots Refactor project and move errors namespace out from pyrogram.api 2019-03-25 11:23:45 +01:00
chats Fix set_chat_description not working anymore with the new Layer 2019-04-13 16:10:15 +02:00
contacts Refactor project and move errors namespace out from pyrogram.api 2019-03-25 11:23:45 +01:00
decorators Clean up documentation pages 2019-04-12 15:52:06 +02:00
messages Bring back automatic mime type detection for new uploads (fixes #239) 2019-04-20 18:56:30 +02:00
password Refactor project and move errors namespace out from pyrogram.api 2019-03-25 11:23:45 +01:00
users Refactor project and move errors namespace out from pyrogram.api 2019-03-25 11:23:45 +01:00
__init__.py Update copyright year 2019-01-01 12:36:16 +01:00