telegram.UserProfilePhotos

class telegram.UserProfilePhotos(total_count, photos, **kwargs)

Bases: telegram.base.TelegramObject

This object represents a Telegram UserProfilePhotos.

This object represent a user’s profile pictures.

total_count

int – Total number of profile pictures.

photos

List[List[telegram.PhotoSize]] – Requested profile pictures.

Parameters:
  • total_count (int) – Total number of profile pictures the target user has.
  • photos (List[List[telegram.PhotoSize]]) – Requested profile pictures (in up to 4 sizes each).