telegram.userprofilephotos module

This module contains an object that represents a Telegram UserProfilePhotos.

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

Bases: telegram.base.TelegramObject

This object represents a Telegram UserProfilePhotos.

total_count

int

photos

List[List[telegram.PhotoSize]]

Parameters:
static de_json(data, bot)
Parameters:
Returns:

Return type:

telegram.UserProfilePhotos

to_dict()
Returns:
Return type:dict