2
0
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:
Dan
2018-04-15 23:30:40 +02:00
parent d9fdd89c49
commit d5f3684310
2 changed files with 5 additions and 3 deletions

View File

@@ -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)