mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
UserProfilePhoto.photos is now a list of Photo objects
This commit is contained in:
parent
971299f592
commit
fb10b3b0e7
@ -26,12 +26,12 @@ class UserProfilePhotos(Object):
|
|||||||
total_count (``int``):
|
total_count (``int``):
|
||||||
Total number of profile pictures the target user has.
|
Total number of profile pictures the target user has.
|
||||||
|
|
||||||
photos (List of List of :obj:`PhotoSize <pyrogram.PhotoSize>`):
|
photos (List of :obj:`Photo <pyrogram.Photo>`):
|
||||||
Requested profile pictures (in up to 4 sizes each).
|
Requested profile pictures.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
ID = 0xb0700014
|
ID = 0xb0700014
|
||||||
|
|
||||||
def __init__(self, total_count: int, photos: list):
|
def __init__(self, total_count: int, photos: list):
|
||||||
self.total_count = total_count # int
|
self.total_count = total_count
|
||||||
self.photos = photos # Vector<Vector<PhotoSize>>
|
self.photos = photos
|
||||||
|
Loading…
Reference in New Issue
Block a user