
    i                     Z    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
dS )	zFThis module contains an object that represents a Telegram Bot Command.    )FinalOptional)	constants)TelegramObject)JSONDictc                       e Zd ZU dZdZdddededee         f fdZe	j
        j        Zee         ed	<   	 e	j
        j        Zee         ed
<   	 e	j
        j        Zee         ed<   	 e	j
        j        Zee         ed<    xZS )
BotCommandaj  
    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; :tg-const:`telegram.BotCommand.MIN_COMMAND`-
            :tg-const:`telegram.BotCommand.MAX_COMMAND` characters. Can contain only lowercase
            English letters, digits and underscores.
        description (:obj:`str`): Description of the command;
            :tg-const:`telegram.BotCommand.MIN_DESCRIPTION`-
            :tg-const:`telegram.BotCommand.MAX_DESCRIPTION` characters.

    Attributes:
        command (:obj:`str`): Text of the command; :tg-const:`telegram.BotCommand.MIN_COMMAND`-
            :tg-const:`telegram.BotCommand.MAX_COMMAND` characters. Can contain only lowercase
            English letters, digits and underscores.
        description (:obj:`str`): Description of the command;
            :tg-const:`telegram.BotCommand.MIN_DESCRIPTION`-
            :tg-const:`telegram.BotCommand.MAX_DESCRIPTION` characters.

    )commanddescriptionN
api_kwargsr
   r   r   c                    t                                          |           || _        || _        | j        | j        f| _        |                                  d S )Nr   )super__init__r
   r   	_id_attrs_freeze)selfr
   r   r   	__class__s       Z/var/www/html/crypto-bot/backend/venv/lib/python3.11/site-packages/telegram/_botcommand.pyr   zBotCommand.__init__7   sO    J///# +,(89    MIN_COMMANDMAX_COMMANDMIN_DESCRIPTIONMAX_DESCRIPTION)__name__
__module____qualname____doc__	__slots__strr   r   r   r   BotCommandLimitr   r   int__annotations__r   r   r   __classcell__)r   s   @r   r	   r	      s          0 +I[_    # hxFX       (7CKsCCC (7CKsCCC #,";"KOU3ZKKK #,";"KOU3ZKKK   r   r	   N)r   typingr   r   telegramr   telegram._telegramobjectr   telegram._utils.typesr   r	    r   r   <module>r*      s   & M L " " " " " " " "       3 3 3 3 3 3 * * * * * *7 7 7 7 7 7 7 7 7 7r   