
    di/
                     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 UserProfileAudios.    )Sequence)TYPE_CHECKING)Audio)TelegramObject)JSONDict)Botc            	       z     e Zd ZdZdZdddedee         dedz  ddf fd	Z	e
dd
edddd f fd            Z xZS )UserProfileAudiosaw  
    This object represents the audios displayed on a user's profile.

    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:`audios` are equal.

    .. versionadded:: 22.7

    Args:
        total_count (:obj:`int`): Total number of profile audios for the target user.
        audios (Sequence[:class:`telegram.Audio`]): Requested profile audios.

    Attributes:
        total_count (:obj:`int`): Total number of profile audios for the target user.
        audios (tuple[:class:`telegram.Audio`]): Requested profile audios.

    )audiostotal_countN
api_kwargsr   r   r   returnc                    t                                          |           || _        t          |          | _        | j        | j        f| _        |                                  d S )Nr   )super__init__r   tupler   	_id_attrs_freeze)selfr   r   r   	__class__s       X/root/projects/qq-shell/venv/lib/python3.11/site-packages/telegram/_userprofileaudios.pyr   zUserProfileAudios.__init__5   sW     	J/// +).v*DK8    databotz
Bot | Nonec                     |                      |          }t          j        |                    dg           |          |d<   t	                                          ||          S )z,See :meth:`telegram.TelegramObject.de_json`.r   )r   r   )_parse_datar   de_listgetr   de_json)clsr   r   r   s      r   r    zUserProfileAudios.de_jsonE   sS     t$$txx"'='=sCCXwwDc222r   )N)__name__
__module____qualname____doc__	__slots__intr   r   r   r   classmethodr    __classcell__)r   s   @r   r
   r
       s         $ *I '+   
 tO 
       3 38 3, 3BU 3 3 3 3 3 [3 3 3 3 3r   r
   N)r%   collections.abcr   typingr   telegram._files.audior   telegram._telegramobjectr   telegram._utils.typesr   telegramr   r
    r   r   <module>r1      s   & S R $ $ $ $ $ $             ' ' ' ' ' ' 3 3 3 3 3 3 * * * * * * ,3 ,3 ,3 ,3 ,3 ,3 ,3 ,3 ,3 ,3r   