diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index 0c2bd122..76a1d0c2 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -1632,12 +1632,9 @@ class TelegramClient(TelegramBareClient): duration=int(m.get('duration').seconds if m.has('duration') else 0) ) - elif video_note: - doc = DocumentAttributeVideo(0, 1, 1, - round_message=True) else: - doc = DocumentAttributeVideo(0, 0, 0, - round_message=False) + doc = DocumentAttributeVideo(0, 1, 1, + round_message=video_note) attr_dict[DocumentAttributeVideo] = doc else: