L i? ndZddlmZddlmZmZddlmZddlm Z ddl m Z erddl m Z Gdd e Zy ) zLThis module contains an object that represents a Telegram UserProfilePhotos.)Sequence) TYPE_CHECKINGOptional) PhotoSize)TelegramObject)JSONDict)BotcveZdZdZdZdddedeeedee ffdZ e dd e d ed d dffd Z xZ S)UserProfilePhotosa.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 :attr:`total_count` and :attr:`photos` are equal. Args: total_count (:obj:`int`): Total number of profile pictures the target user has. photos (Sequence[Sequence[:class:`telegram.PhotoSize`]]): Requested profile pictures (in up to 4 sizes each). .. versionchanged:: 20.0 |sequenceclassargs| Attributes: total_count (:obj:`int`): Total number of profile pictures. photos (tuple[tuple[:class:`telegram.PhotoSize`]]): Requested profile pictures (in up to 4 sizes each). .. versionchanged:: 20.0 |tupleclassattrs| )photos total_countN api_kwargsr r rct||||_td|D|_|j|jf|_|j y)Nrc32K|]}t|ywN)tuple).0sizess a/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/telegram/_userprofilephotos.py z-UserProfilePhotos.__init__..Ds>`PUuU|>`s)super__init__r rr _id_attrs_freeze)selfr r r __class__s rrzUserProfilePhotos.__init__:sO J/ +9>>`Y_>`9` **DKK8 databotr returnc|j|}|dDcgc]}tj||c}|d<t|||Scc}w)z,See :meth:`telegram.TelegramObject.de_json`.r )rr ) _parse_datarde_listrde_json)clsrr photors rr%zUserProfilePhotos.de_jsonJsQt$EI(^TE)++E37TXwDc22UsAr)__name__ __module__ __qualname____doc__ __slots__intrrrrr classmethodr% __classcell__)rs@rr r sr.*I*. ),- X&  383(5/3EX33rr N)r+collections.abcrtypingrrtelegram._files.photosizertelegram._telegramobjectrtelegram._utils.typesrtelegramr r rrr7s,&S$*/3*1313r