mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-10 16:12:22 +03:00
Better handling of video notes (#803)
This commit is contained in:
parent
6726eab045
commit
2c9d3d2fed
|
@ -1673,7 +1673,7 @@ class TelegramClient(TelegramBareClient):
|
||||||
if m.has('duration') else 0)
|
if m.has('duration') else 0)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
doc = DocumentAttributeVideo(0, 0, 0,
|
doc = DocumentAttributeVideo(0, 1, 1,
|
||||||
round_message=video_note)
|
round_message=video_note)
|
||||||
|
|
||||||
attr_dict[DocumentAttributeVideo] = doc
|
attr_dict[DocumentAttributeVideo] = doc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user