peyk.platforms.telegram.types.user_profile_photos¶
Classes
|
This object represent a user's profile pictures. |
- class peyk.platforms.telegram.types.user_profile_photos.UserProfilePhotos(total_count: int = 0, photos: List[List[PhotoSize]] | None = None)[source]¶
Bases:
objectThis object represent a user’s profile pictures.
- Variables:
total_count (int) – Total number of profile pictures the target user has
photos (List[List[peyk.platforms.telegram.types.photo_size.PhotoSize]] | None) – Requested profile pictures (in up to 4 sizes each)
- total_count: int = 0¶
- classmethod from_dict(data: dict | None) UserProfilePhotos | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.