telegram.userprofilephotos module¶
This module contains an object that represents a Telegram UserProfilePhotos.
-
class
telegram.userprofilephotos.UserProfilePhotos(total_count, photos, **kwargs)¶ Bases:
telegram.base.TelegramObjectThis object represents a Telegram UserProfilePhotos.
-
total_count¶ int
-
photos¶ List[List[
telegram.PhotoSize]]
Parameters: - total_count (int) –
- photos (List[List[
telegram.PhotoSize]]) –
-
static
de_json(data, bot)¶ Parameters: - data (dict) –
- bot (telegram.Bot) –
Returns: Return type:
-
to_dict()¶ Returns: Return type: dict
-