mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-09-20 19:02:42 +03:00
add mimetype for apk files
This commit is contained in:
parent
26c773392e
commit
d67d2c8c46
|
@ -29,6 +29,7 @@ except ImportError:
|
|||
# operative systems. Manually register them here to make them work everywhere.
|
||||
mimetypes.add_type('image/webp', '.webp')
|
||||
mimetypes.add_type('audio/ogg', '.ogg')
|
||||
mimetypes.add_type('application/vnd.android.package-archive','.apk')
|
||||
|
||||
USERNAME_RE = re.compile(
|
||||
r'@|(?:https?://)?(?:www\.)?(?:telegram\.(?:me|dog)|t\.me)/(joinchat/)?'
|
||||
|
|
Loading…
Reference in New Issue
Block a user