o
    "h	                     @   s<   d Z ddlmZ ddlmZ ddlmZ G dd deZdS )zSThis module contains an object that represents an instance of a Telegram MessageId.    )Optional)TelegramObject)JSONDictc                       s8   e Zd ZdZdZdddedee f fddZ  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                   s*   t  j|d || _| jf| _|   d S )Nr   )super__init__r   	_id_attrs_freeze)selfr   r   	__class__ F/var/www/html/venv/lib/python3.10/site-packages/telegram/_messageid.pyr
   0   s   
zMessageId.__init__)
__name__
__module____qualname____doc__	__slots__intr   r   r
   __classcell__r   r   r   r   r      s    (r   N)r   typingr   telegram._telegramobjectr   telegram._utils.typesr   r   r   r   r   r   <module>   s
   