1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Implemented command decorator.

This commit is contained in:
pieter
2015-07-02 03:38:31 +02:00
parent b41330774b
commit 13133ac5c6
3 changed files with 59 additions and 3 deletions

View File

@@ -256,8 +256,7 @@ class Video(JsonDeserializable):
width = obj['width']
height = obj['height']
duration = obj['duration']
if 'file_id' in obj['thumb']:
thumb = PhotoSize.de_json(obj['thumb'])
thumb = PhotoSize.de_json(obj['thumb'])
caption = None
mime_type = None
file_size = None