§
    ¨eîi7  ã                   óv   — d Z ddlmZ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 )z3This module contains the DirectMessagesTopic class.é    )ÚTYPE_CHECKINGÚOptional)ÚTelegramObject)ÚUser)Úde_json_optional)ÚJSONDict)ÚBotc            	       ó€   ‡ — e Zd ZdZdZ	 dddœdededz  dedz  fˆ fd„Ze	dd	ed
e
d         dd fˆ fd„¦   «         Zˆ xZS )ÚDirectMessagesTopica¦  
    This class represents a topic for direct messages in a chat.

    Objects of this class are comparable in terms of equality. Two objects of this class are
    considered equal, if their :attr:`topic_id` and :attr:`user` is equal.

    .. versionadded:: 22.4

    Args:
        topic_id (:obj:`int`): Unique identifier of the topic. This number may have more than 32
            significant bits and some programming languages may have difficulty/silent defects in
            interpreting it. But it has at most 52 significant bits, so a 64-bit integer or
            double-precision float type are safe for storing this identifier.
        user (:class:`telegram.User`, optional): Information about the user that created the topic.

            .. hint::
                According to Telegram, this field is always present as of Bot API 9.2.

    Attributes:
        topic_id (:obj:`int`): Unique identifier of the topic. This number may have more than 32
            significant bits and some programming languages may have difficulty/silent defects in
            interpreting it. But it has at most 52 significant bits, so a 64-bit integer or
            double-precision float type are safe for storing this identifier.
        user (:class:`telegram.User`): Optional. Information about the user that created the topic.

            .. hint::
                According to Telegram, this field is always present as of Bot API 9.2.

    )Útopic_idÚuserN©Ú
api_kwargsr   r   r   c                ó¶   •— t          ¦   «                              |¬¦  «         || _        || _        | j        | j        f| _        |                      ¦   «          d S )Nr   )ÚsuperÚ__init__r   r   Ú	_id_attrsÚ_freeze)Úselfr   r   r   Ú	__class__s       €úa/home/div/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_directmessagestopic.pyr   zDirectMessagesTopic.__init__A   sS   ø€ õ 	‰Œ×Ò JÐÑ/Ô/Ð/ð &ˆŒð "&ˆŒ	àœ-¨¬Ð3ˆŒØ�Š‰Œˆˆˆó    ÚdataÚbotr	   Úreturnc                 óÌ   •— |                       |¦  «        }t          |                     d¦  «        t          |¦  «        |d<   t	          ¦   «                              ||¬¦  «        S )z,See :meth:`telegram.TelegramObject.de_json`.r   )r   r   )Ú_parse_datar   Úgetr   r   Úde_json)Úclsr   r   r   s      €r   r   zDirectMessagesTopic.de_jsonO   sQ   ø€ ð �Š˜tÑ$Ô$ˆå'¨¯ª°Ñ(8Ô(8½$ÀÑDÔDˆˆV‰å‰wŒw�Š D¨cˆÑ2Ô2Ð2r   )N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Úintr   r   r   Úclassmethodr   r   Ú__classcell__)r   s   @r   r   r       sÏ   ø€ € € € € ðð ð< %€Ið 26ðØX\ðð ð ØðØ#'¨$¡;ðØFNÐQUÁoðð ð ð ð ð ð ð3ð 3˜8ð 3¨(°5¬/ð 3ÐEZð 3ð 3ð 3ð 3ð 3ñ „[ð3ð 3ð 3ð 3ð 3r   r   N)r$   Útypingr   r   Útelegram._telegramobjectr   Útelegram._userr   Útelegram._utils.argumentparsingr   Útelegram._utils.typesr   Útelegram._botr	   r   © r   r   ú<module>r0      s»   ðð& :Ð 9à *Ð *Ð *Ð *Ð *Ð *Ð *Ð *à 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø Ð Ð Ð Ð Ð Ø <Ð <Ð <Ð <Ð <Ð <Ø *Ð *Ð *Ð *Ð *Ð *àð "Ø!Ð!Ð!Ð!Ð!Ð!ð63ð 63ð 63ð 63ð 63˜.ñ 63ô 63ð 63ð 63ð 63r   