o
    "h                     @   sL   d Z ddlmZ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Optional)	constants)TelegramObject)JSONDictc                       sN   e Zd ZU dZdZdddedee 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__ D/var/www/html/venv/lib/python3.10/site-packages/telegram/_botname.pyr   -   s   
zBotName.__init__
MAX_LENGTH)__name__
__module____qualname____doc__	__slots__strr   r   r   r   BotNameLimitMAX_NAME_LENGTHr   r   int__annotations____classcell__r   r   r   r   r      s   
  r   N)r   typingr   r   telegramr   telegram._telegramobjectr   telegram._utils.typesr   r   r   r   r   r   <module>   s   