§
    ªeîi/  ã                   ór   — 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d
S )zLThis module contains an object that represents a Telegram UserProfilePhotos.é    )ÚSequence)ÚTYPE_CHECKING)Ú	PhotoSize)ÚTelegramObject)ÚJSONDict)ÚBotc                   ó‚   ‡ — 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| _        |                      ¦   «          d S )Nr   c              3   ó4   K  — | ]}t          |¦  «        V — Œd S ©N)Útuple)Ú.0Úsizess     ú_/home/div/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_userprofilephotos.pyú	<genexpr>z-UserProfilePhotos.__init__.<locals>.<genexpr>D   s)   è è € Ð>`Ð>`ÐPU½uÀU¹|¼|Ð>`Ð>`Ð>`Ð>`Ð>`Ð>`ó    )ÚsuperÚ__init__r   r   r   Ú	_id_attrsÚ_freeze)Úselfr   r   r   Ú	__class__s       €r   r   zUserProfilePhotos.__init__:   si   ø€ õ 	‰Œ×Ò JÐÑ/Ô/Ð/à +ˆÔÝ9>Ð>`Ð>`ÐY_Ð>`Ñ>`Ô>`Ñ9`Ô9`ˆŒàÔ*¨D¬KÐ8ˆŒà�Š‰Œˆˆˆr   ÚdataÚbotz
Bot | NoneÚreturnc                 ó¤   •‡— |                       |¦  «        }ˆfd„|d         D ¦   «         |d<   t          ¦   «                              |‰¬¦  «        S )z,See :meth:`telegram.TelegramObject.de_json`.c                 ó:   •— g | ]}t          j        |‰¦  «        ‘ŒS © )r   Úde_list)r   Úphotor   s     €r   ú
<listcomp>z-UserProfilePhotos.de_json.<locals>.<listcomp>O   s&   ø€ ÐTÐTÐT¸E�)Ô+¨E°3Ñ7Ô7ÐTÐTÐTr   r   )r   r   )Ú_parse_datar   Úde_json)Úclsr   r   r   s     `€r   r(   zUserProfilePhotos.de_jsonJ   sR   øø€ ð �Š˜tÑ$Ô$ˆàTÐTÐTÐTÀTÈ(Ä^ÐTÑTÔTˆˆX‰å‰wŒw�Š D¨cˆÑ2Ô2Ð2r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Úintr   r   r   r   Úclassmethodr(   Ú__classcell__)r   s   @r   r
   r
       sÌ   ø€ € € € € ðð ð. *€Ið '+ðð ð àðð ˜ )Ô,Ô-ðð
 ˜t‘Oðð ð ð ð ð ð  ð3ð 3˜8ð 3¨,ð 3ÐBUð 3ð 3ð 3ð 3ð 3ñ „[ð3ð 3ð 3ð 3ð 3r   r
   N)r-   Úcollections.abcr   Útypingr   Útelegram._files.photosizer   Útelegram._telegramobjectr   Útelegram._utils.typesr   Útelegramr   r
   r#   r   r   ú<module>r8      s¶   ðð& SÐ Rà $Ð $Ð $Ð $Ð $Ð $Ø  Ð  Ð  Ð  Ð  Ð  à /Ð /Ð /Ð /Ð /Ð /Ø 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø *Ð *Ð *Ð *Ð *Ð *àð ØÐÐÐÐÐð13ð 13ð 13ð 13ð 13˜ñ 13ô 13ð 13ð 13ð 13r   