diff --git a/pyrogram/client/utils.py b/pyrogram/client/utils.py index 1f24373d..93f8b4ee 100644 --- a/pyrogram/client/utils.py +++ b/pyrogram/client/utils.py @@ -139,6 +139,7 @@ def parse_message(message: types.Message, users: dict, chats: dict): location = None contact = None audio = None + voice = None video = None video_note = None @@ -207,22 +208,38 @@ def parse_message(message: types.Message, users: dict, chats: dict): if types.DocumentAttributeAudio in attributes: audio_attributes = attributes[types.DocumentAttributeAudio] - audio = pyrogram.Audio( - file_id=encode( - pack( - "