
    i                     V    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e          Z	dS )	zCThis module contains an object that represent a Telegram bots name.    )Final)	constants)TelegramObject)JSONDictc                   l     e Zd ZU dZdZdddededz  f fdZej	        j
        Zee         ed<    x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                    t                                          |           || _        | j        f| _        |                                  d S )Nr
   )super__init__r	   	_id_attrs_freeze)selfr	   r   	__class__s      Q/Users/shanyulin/my-agent/.venv/lib/python3.11/site-packages/telegram/_botname.pyr   zBotName.__init__.   sA    J///	)    
MAX_LENGTH)__name__
__module____qualname____doc__	__slots__strr   r   r   BotNameLimitMAX_NAME_LENGTHr   r   int__annotations____classcell__)r   s   @r   r   r      s           ICG   S D       '3CJc
CCCBBBBr   r   N)
r   typingr   telegramr   telegram._telegramobjectr   telegram._utils.typesr   r    r   r   <module>r&      s   & J I             3 3 3 3 3 3 * * * * * *C C C C Cn C C C C Cr   