
    G˝iH                    X    d dl mZ d dlmZmZ ddlmZmZ ddlm	Z	  G d de	e
         Zy	)
    )annotations)TYPE_CHECKINGAny   )
BotCommandBotCommandScopeUnion   )TelegramMethodc                       e Zd ZU dZeZdZded<   	 dZded<   	 dZ	ded	<   	 e
rddd
	 	 	 	 	 	 	 	 	 d fdZ xZS  xZS )SetMyCommandsa  
    Use this method to change the list of the bot's commands. See `this manual <https://core.telegram.org/bots/features#commands>`_ for more details about bot commands. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#setmycommands
    setMyCommandslist[BotCommand]commandsNBotCommandScopeUnion | Nonescope
str | Nonelanguage_code)r   r   c               ,    t        |   d|||d| y )N)r   r   r    )super__init__)__pydantic__self__r   r   r   _SetMyCommands__pydantic_kwargs	__class__s        X/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/set_my_commands.pyr   zSetMyCommands.__init__   s&     G !mO`    )
r   r   r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__bool__returning____api_method____annotations__r   r   r   r   __classcell__)r   s   @r   r   r   	   s     M$N E)-E&- x $M:$ i 26(,	 '	 /		
 &	 "%	 	 		 r   r   N)
__future__r   typingr   r   typesr   r   baser
   r#   r   r   r   r   <module>r,      s"    " % 4  #N4( #r   