Make Message.new_chat_photo downloadable (#508)

Fixes #364
This commit is contained in:
GodSaveTheDoge 2020-10-18 17:54:03 +02:00 committed by GitHub
parent dadb4b4eb6
commit 00dd4bc403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ class DownloadMedia(Scaffold):
app.download_media(message, progress=progress)
"""
error_message = "This message doesn't contain any downloadable media"
available_media = ("audio", "document", "photo", "sticker", "animation", "video", "voice", "video_note")
available_media = ("audio", "document", "photo", "sticker", "animation", "video", "voice", "video_note", "new_chat_photo")
media_file_name = None
file_size = None