Ë
    †j7  ã                   ón   — 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y
)z3This module contains the DirectMessagesTopic class.é    )ÚTYPE_CHECKINGÚOptional)ÚTelegramObject)ÚUser)Úde_json_optional)ÚJSONDict)ÚBotc            	       ót   ‡ — 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| _        | j                  «        y )Nr   )ÚsuperÚ__init__r   r   Ú	_id_attrsÚ_freeze)Úselfr   r   r   Ú	__class__s       €ú\/var/www/html/datingFans/myenv/lib/python3.12/site-packages/telegram/_directmessagestopic.pyr   zDirectMessagesTopic.__init__A   sD   ø€ ô 	‰Ñ JÐÔ/ð &ˆŒð "&ˆŒ	àŸ-™-¨¯©Ð3ˆŒØ�‰�ó    ÚdataÚbotr	   Úreturnc                 óŽ   •— | j                  |«      }t        |j                  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   sA   ø€ ð �‰˜tÓ$ˆä'¨¯©°Ó(8¼$ÀÓDˆˆV‰ä‰w‰ D¨cˆÓ2Ð2r   )N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Úintr   r   r   Úclassmethodr   r   Ú__classcell__)r   s   @r   r   r       sp   ø„ ñð< %€Ið 26ðØX\òØðØ#'¨$¡;ðØFNÐQUÁoõð ñ3˜8ð 3¨(°5©/ð 3ÐEZô 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+   ðñ& :ç *å 3Ý Ý <Ý *áÝ!ô63˜.õ 63r   