mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 22:35:36 +00:00
Add mime_type, file_name and date to Sticker objects
This commit is contained in:
@@ -409,6 +409,9 @@ def parse_message(
|
||||
thumb=parse_thumb(doc.thumb),
|
||||
# TODO: Emoji, set_name and mask_position
|
||||
file_size=doc.size,
|
||||
mime_type=doc.mime_type,
|
||||
file_name=file_name,
|
||||
date=doc.date
|
||||
)
|
||||
else:
|
||||
document = pyrogram.Document(
|
||||
|
Reference in New Issue
Block a user