diff --git a/pyrogram/client/ext/utils.py b/pyrogram/client/ext/utils.py index 105d0f0c..2b66aeb9 100644 --- a/pyrogram/client/ext/utils.py +++ b/pyrogram/client/ext/utils.py @@ -674,13 +674,23 @@ def parse_messages( ), width=size.w, height=size.h, - file_size=file_size, - date=photo.date + file_size=file_size ) photo_sizes.append(photo_size) - new_chat_photo = photo_sizes + new_chat_photo = pyrogram_types.Photo( + id=b64encode( + pack( + "