U
    dd	                     @   s@   d Z ddlmZ ddlmZ G dd deZG dd deZdS )	zTThis module contains two objects that represent a Telegram bots (short) description.    )TelegramObject)JSONDictc                       s2   e Zd ZdZdZddeed fddZ  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_kwargs)r   r   c                   s*   t  j|d || _| jf| _|   d S Nr   )super__init__r   	_id_attrs_freeze)selfr   r   	__class__ </tmp/pip-unpacked-wheel-e3anp165/telegram/_botdescription.pyr
   *   s    
zBotDescription.__init__	__name__
__module____qualname____doc__	__slots__strr   r
   __classcell__r   r   r   r   r      s   r   c                       s2   e Zd ZdZdZddeed fddZ  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                   s*   t  j|d || _| jf| _|   d S r   )r	   r
   r   r   r   )r   r   r   r   r   r   r
   E   s    
zBotShortDescription.__init__r   r   r   r   r   r   3   s   r   N)r   Ztelegram._telegramobjectr   Ztelegram._utils.typesr   r   r   r   r   r   r   <module>   s   