mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-17 03:51:05 +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)
|
||||
)
|
||||
else:
|
||||
doc = DocumentAttributeVideo(0, 0, 0,
|
||||
doc = DocumentAttributeVideo(0, 1, 1,
|
||||
round_message=video_note)
|
||||
|
||||
attr_dict[DocumentAttributeVideo] = doc
|
||||
|
|
Loading…
Reference in New Issue
Block a user