U
    2ÒtcM  ã                   @   s0   d Z ddlmZ ddlmZ G dd„ deƒZdS )zFThis module contains an object that represents a Telegram Bot Command.é    )ÚAny)ÚTelegramObjectc                   @   s&   e Zd ZdZdZeeedœdd„ZdS )Ú
BotCommandaQ  
    This object represents a bot command.

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

    Args:
        command (:obj:`str`): Text of the command, 1-32 characters. Can contain only lowercase
            English letters, digits and underscores.
        description (:obj:`str`): Description of the command, 1-256 characters.

    Attributes:
        command (:obj:`str`): Text of the command.
        description (:obj:`str`): Description of the command.

    )ÚdescriptionÚ	_id_attrsÚcommand)r   r   Ú_kwargsc                 K   s   || _ || _| j | jf| _d S )N)r   r   r   )Úselfr   r   r   © r
   ú7/tmp/pip-unpacked-wheel-2u9rcp5s/telegram/botcommand.pyÚ__init__.   s    zBotCommand.__init__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Ústrr   r   r
   r
   r
   r   r      s   r   N)r   Útypingr   Ztelegramr   r   r
   r
   r
   r   Ú<module>   s   