o
    Zzj  ã                   @   sH   d Z ddlmZ ddlmZ ddlmZ ddlmZ G dd„ deƒZ	dS )	zCThis module contains an object that represent a Telegram bots name.é    )ÚFinal)Ú	constants)ÚTelegramObject)ÚJSONDictc                       sN   e Zd ZU dZdZddœdededB f‡ fdd„Zej	j
Zee ed	< ‡  ZS )
ÚBotNameaN  This object represents the bot's name.

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

    .. versionadded:: 20.3

    Args:
        name (:obj:`str`): The bot's name.

    Attributes:
        name (:obj:`str`): The bot's name.

    )ÚnameN©Ú
api_kwargsr   r	   c                   s*   t ƒ j|d� || _| jf| _|  ¡  d S )Nr   )ÚsuperÚ__init__r   Ú	_id_attrsÚ_freeze)Úselfr   r	   ©Ú	__class__© úL/var/www/kodo/tsheker/venv/lib/python3.10/site-packages/telegram/_botname.pyr   .   s   
zBotName.__init__Ú
MAX_LENGTH)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Ústrr   r   r   ÚBotNameLimitÚMAX_NAME_LENGTHr   r   ÚintÚ__annotations__Ú__classcell__r   r   r   r   r      s   
  r   N)
r   Útypingr   Útelegramr   Útelegram._telegramobjectr   Útelegram._utils.typesr   r   r   r   r   r   Ú<module>   s   