diff --git a/pyrogram/client/ext/utils.py b/pyrogram/client/ext/utils.py index 2b66aeb9..3f287b49 100644 --- a/pyrogram/client/ext/utils.py +++ b/pyrogram/client/ext/utils.py @@ -815,13 +815,25 @@ def parse_profile_photos(photos): ), width=size.w, height=size.h, - file_size=file_size, - date=photo.date + file_size=file_size ) photo_sizes.append(photo_size) - user_profile_photos.append(photo_sizes) + user_profile_photos.append( + pyrogram_types.Photo( + id=b64encode( + pack( + "