mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-01 14:55:12 +00:00
Add date field for PhotoSize
This commit is contained in:
@@ -247,7 +247,8 @@ def parse_message(
|
||||
),
|
||||
width=size.w,
|
||||
height=size.h,
|
||||
file_size=file_size
|
||||
file_size=file_size,
|
||||
date=photo.date
|
||||
)
|
||||
|
||||
photo_sizes.append(photo_size)
|
||||
@@ -532,7 +533,8 @@ def parse_message_service(
|
||||
),
|
||||
width=size.w,
|
||||
height=size.h,
|
||||
file_size=file_size
|
||||
file_size=file_size,
|
||||
date=photo.date
|
||||
)
|
||||
|
||||
photo_sizes.append(photo_size)
|
||||
|
Reference in New Issue
Block a user