
    i	                     Z    d Z ddlmZ ddlmZ  G d de          Z G d de          ZdS )	zTThis module contains two objects that represent a Telegram bots (short) description.    )TelegramObject)JSONDictc                   <     e Zd ZdZdZdddededz  f fdZ xZS )BotDescriptionax  This object represents the bot's description.

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

    .. versionadded:: 20.2

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

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

    )descriptionN
api_kwargsr   r	   c                    t                                          |           || _        | j        f| _        |                                  d S Nr   )super__init__r   	_id_attrs_freeze)selfr   r	   	__class__s      X/Users/shanyulin/my-agent/.venv/lib/python3.11/site-packages/telegram/_botdescription.pyr   zBotDescription.__init__+   sD    J/// +*,    	__name__
__module____qualname____doc__	__slots__strr   r   __classcell__r   s   @r   r   r      sm          !IJN   C 4          r   r   c                   <     e Zd ZdZdZdddededz  f fdZ xZS )BotShortDescriptiona  This object represents the bot's short description.

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

    .. versionadded:: 20.2

    Args:
        short_description (:obj:`str`): The bot's short description.

    Attributes:
        short_description (:obj:`str`): The bot's short description.

    )short_descriptionNr   r   r	   c                    t                                          |           || _        | j        f| _        |                                  d S r   )r   r   r   r   r   )r   r   r	   r   s      r   r   zBotShortDescription.__init__F   sD    J///&702r   r   r   s   @r   r   r   4   sm          'IPT   # ho          r   r   N)r   telegram._telegramobjectr   telegram._utils.typesr   r   r    r   r   <module>r$      s   & [ Z 3 3 3 3 3 3 * * * * * *    ^   6    .     r   