o
    Zzjî  ã                   @   s0   d 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.é    )ÚTelegramObject)ÚJSONDictc                       s8   e Zd ZdZdZddœdededB 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__© úN/var/www/kodo/tsheker/venv/lib/python3.10/site-packages/telegram/_messageid.pyr	   .   s   
zMessageId.__init__)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Úintr   r	   Ú__classcell__r   r   r   r   r      s    (r   N)r   Útelegram._telegramobjectr   Útelegram._utils.typesr   r   r   r   r   r   Ú<module>   s   