U
    ‰¾úg¨  ã                   @   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                       s6   e Zd ZdZdZddœeee dœ‡ fdd„Z‡  Z	S )Ú	MessageIdaf  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.

    Attributes:
        message_id (:obj:`int`): Unique message identifier.
    )Ú
message_idN©Ú
api_kwargs)r   r   c                   s*   t ƒ j|d || _| jf| _|  ¡  d S )Nr   )ÚsuperÚ__init__r   Z	_id_attrsZ_freeze)Úselfr   r   ©Ú	__class__© ú7/tmp/pip-unpacked-wheel-swnnwir2/telegram/_messageid.pyr
   *   s    
zMessageId.__init__)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Úintr   r   r
   Ú__classcell__r   r   r   r   r      s   r   N)r   Útypingr   Ztelegram._telegramobjectr   Ztelegram._utils.typesr   r   r   r   r   r   Ú<module>   s   