telegram.UserProfilePhotos

class telegram.UserProfilePhotos(*args, **kwargs)[source]

Bases: telegram.TelegramObject

This object represents a user’s profile pictures.

Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their total_count and photos are equal.

Parameters
total_count[source]

Total number of profile pictures.

Type

int

photos[source]

Requested profile pictures.

Type

List[List[telegram.PhotoSize]]

classmethod de_json(data, bot)[source]

See telegram.TelegramObject.de_json().

to_dict()[source]

See telegram.TelegramObject.to_dict().