Ë
    †j/  ã                   ój   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 erddlmZ  G d„ d	e«      Zy
)zLThis module contains an object that represents a Telegram UserProfilePhotos.é    )ÚSequence)ÚTYPE_CHECKING)Ú	PhotoSize)ÚTelegramObject)ÚJSONDict)ÚBotc                   óp   ‡ — e Zd ZdZdZddœdedeee      dedz  fˆ fd„Z	e
dd	ed
ddd fˆ fd„«       Zˆ xZ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   r   c                ó¼   •— t         ‰| �  |¬«       || _        t        d„ |D «       «      | _        | j                  | j                  f| _        | j                  «        y )Nr   c              3   ó2   K  — | ]  }t        |«      –— Œ y ­w©N)Útuple)Ú.0Úsizess     úZ/var/www/html/datingFans/myenv/lib/python3.12/site-packages/telegram/_userprofilephotos.pyú	<genexpr>z-UserProfilePhotos.__init__.<locals>.<genexpr>D   s   è ø€ Ò>`ÐPU¼uÀU¿|Ñ>`ùs   ‚)ÚsuperÚ__init__r   r   r   Ú	_id_attrsÚ_freeze)Úselfr   r   r   Ú	__class__s       €r   r   zUserProfilePhotos.__init__:   sO   ø€ ô 	‰Ñ JÐÔ/à +ˆÔÜ9>Ñ>`ÐY_Ô>`Ó9`ˆŒà×*Ñ*¨D¯K©KÐ8ˆŒà�‰�ó    ÚdataÚbotz
Bot | NoneÚreturnc                 ó¦   •— | j                  |«      }|d   D �cg c]  }t        j                  ||«      ‘Œ c}|d<   t        ‰| �  ||¬«      S c c}w )z,See :meth:`telegram.TelegramObject.de_json`.r   )r   r   )Ú_parse_datar   Úde_listr   Úde_json)Úclsr   r   Úphotor   s       €r   r$   zUserProfilePhotos.de_jsonJ   sQ   ø€ ð �‰˜tÓ$ˆàEIÈ(Á^ÖT¸Eœ)×+Ñ+¨E°3Õ7ÒTˆˆX‰ä‰w‰ D¨cˆÓ2Ð2ùò Us   šAr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Úintr   r   r   r   Úclassmethodr$   Ú__classcell__)r   s   @r   r
   r
       sm   ø„ ñð. *€Ið '+òàðð ˜ )Ñ,Ñ-ðð
 ˜t‘Oõð  ñ3˜8ð 3¨,ð 3ÐBUô 3ó ô3r   r
   N)r*   Úcollections.abcr   Útypingr   Útelegram._files.photosizer   Útelegram._telegramobjectr   Útelegram._utils.typesr   Útelegramr   r
   © r   r   ú<module>r6      s,   ðñ& Så $Ý  å /Ý 3Ý *áÝô13˜õ 13r   