
    Th                     R    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e      Z
y)	zCThis module contains an object that represent a Telegram bots name.    )FinalOptional)	constants)TelegramObject)JSONDictc                   z     e Zd ZU dZdZdddedee   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                x    t         |   |       || _        | j                  f| _        | j	                          y )Nr   )super__init__r
   	_id_attrs_freeze)selfr
   r   	__class__s      Q/opt/server/standalone/crm/venv/lib/python3.12/site-packages/telegram/_botname.pyr   zBotName.__init__-   s0    J/	))    
MAX_LENGTH)__name__
__module____qualname____doc__	__slots__strr   r   r   r   BotNameLimitMAX_NAME_LENGTHr   r   int__annotations____classcell__)r   s   @r   r	   r	      sI     IFJ S (1C  '33CCJc
CBr   r	   N)r   typingr   r   telegramr   telegram._telegramobjectr   telegram._utils.typesr   r	    r   r   <module>r'      s%   & J "  3 *Cn Cr   