mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-29 12:53:44 +03:00
Register application/x-tgsticker to mimetypes
This commit is contained in:
parent
eb58e60dd1
commit
bfa46f47ed
|
@ -51,6 +51,8 @@ mimetypes.add_type('audio/aac', '.aac')
|
|||
mimetypes.add_type('audio/ogg', '.ogg')
|
||||
mimetypes.add_type('audio/flac', '.flac')
|
||||
|
||||
mimetypes.add_type('application/x-tgsticker', '.tgs')
|
||||
|
||||
USERNAME_RE = re.compile(
|
||||
r'@|(?:https?://)?(?:www\.)?(?:telegram\.(?:me|dog)|t\.me)/(@|joinchat/)?'
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user