peyk.platforms.telegram.types.user_profile_photos

Classes

UserProfilePhotos([total_count, photos])

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: object

This object represent a user’s profile pictures.

Variables:
total_count: int = 0
photos: List[List[PhotoSize]] | None = None
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.