UserProfilePhotos

class aiogram.types.user_profile_photos.UserProfilePhotos(*, total_count: int, photos: list[list[PhotoSize]], **extra_data: Any)[source]

This object represent a user’s profile pictures.

Source: https://core.telegram.org/bots/api#userprofilephotos

total_count: int

Total number of profile pictures the target user has

model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_post_init(context: Any, /) None

We need to both initialize private attributes and call the user-defined model_post_init method.

photos: list[list[PhotoSize]]

Requested profile pictures (in up to 4 sizes each)