U
    g	                     @   sL   d Z ddlm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.    )Optional)TelegramObject)JSONDictc                       s6   e Zd ZdZdZdde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-swnnwir2/telegram/_botdescription.pyr   ,   s    
zBotDescription.__init__
__name__
__module____qualname____doc__	__slots__strr   r   r   __classcell__r   r   r   r   r      s   r   c                       s6   e Zd ZdZdZdde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   G   s    
zBotShortDescription.__init__r   r   r   r   r   r   5   s   r   N)	r   typingr   Ztelegram._telegramobjectr   Ztelegram._utils.typesr   r   r   r   r   r   r   <module>   s
   