mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-01 06:45:39 +00:00
Add thumb, file_name and date to Voice type
This commit is contained in:
@@ -307,7 +307,10 @@ def parse_message(
|
||||
),
|
||||
duration=audio_attributes.duration,
|
||||
mime_type=doc.mime_type,
|
||||
file_size=doc.size
|
||||
file_size=doc.size,
|
||||
thumb=parse_thumb(doc.thumb),
|
||||
file_name=file_name,
|
||||
date=doc.date
|
||||
)
|
||||
else:
|
||||
audio = pyrogram.Audio(
|
||||
|
Reference in New Issue
Block a user