mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
Array of array PhotoSize
This commit is contained in:
parent
a7e37797bf
commit
8d063242ac
1 changed files with 1 additions and 1 deletions
|
|
@ -17,6 +17,6 @@ class UserProfilePhotos(Deserializable):
|
|||
raw_data = cls.check_json(raw_data)
|
||||
|
||||
total_count = raw_data.get('total_count')
|
||||
photos = PhotoSize.deserialize(raw_data.get('photos'))
|
||||
photos = [PhotoSize.deserialize(item) for item in raw_data.get('photos')]
|
||||
|
||||
return UserProfilePhotos(total_count, photos)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue