
    i                     >    d Z ddlmZ ddlmZ  G d de          ZdS )zSThis module contains an object that represents an instance of a Telegram MessageId.    )TelegramObject)JSONDictc                   <     e Zd ZdZdZdddededz  f fdZ xZS )	MessageIda  This object represents a unique message identifier.

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

    Args:
        message_id (:obj:`int`): Unique message identifier. In specific instances
            (e.g., message containing a video sent to a big chat), the server might automatically
            schedule a message instead of sending it immediately. In such cases, this field will be
            ``0`` and the relevant message will be unusable until it is actually sent.

    Attributes:
        message_id (:obj:`int`): Unique message identifier. In specific instances
            (e.g., message containing a video sent to a big chat), the server might automatically
            schedule a message instead of sending it immediately. In such cases, this field will be
            ``0`` and the relevant message will be unusable until it is actually sent.
    )
message_idN
api_kwargsr   r	   c                    t                                          |           || _        | j        f| _        |                                  d S )Nr   )super__init__r   	_id_attrs_freeze)selfr   r	   	__class__s      S/Users/shanyulin/my-agent/.venv/lib/python3.11/site-packages/telegram/_messageid.pyr   zMessageId.__init__.   sB    J///)/+    )	__name__
__module____qualname____doc__	__slots__intr   r   __classcell__)r   s   @r   r   r      sm         $  IIM   3 x$          r   r   N)r   telegram._telegramobjectr   telegram._utils.typesr   r    r   r   <module>r      sf   & Z Y 3 3 3 3 3 3 * * * * * *         r   