
    F˝i                    ^    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
e            Zy	)
    )annotations)TYPE_CHECKINGAny   )
BotCommandBotCommandScopeUnion   )TelegramMethodc                  v     e Zd ZU dZee   ZdZ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 )GetMyCommandsa*  
    Use this method to get the current list of the bot's commands for the given scope and user language. Returns an Array of :class:`aiogram.types.bot_command.BotCommand` objects. If commands aren't set, an empty list is returned.

    Source: https://core.telegram.org/bots/api#getmycommands
    getMyCommandsNBotCommandScopeUnion | Nonescope
str | Nonelanguage_coder   r   c               *    t        |   d||d| y )Nr    )super__init__)__pydantic__self__r   r   _GetMyCommands__pydantic_kwargs	__class__s       X/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/get_my_commands.pyr   zGetMyCommands.__init__   s     G[5[IZ[    )r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__listr   __returning____api_method__r   __annotations__r   r   r   __classcell__)r   s   @r   r   r   	   s     $M$N)-E&- T $M:$A 26(,		\ /	\ &		\
 "%	\ 	\ 	\	 r   r   N)
__future__r   typingr   r   typesr   r   baser
   r"   r   r   r   r   <module>r+      s)    " % 4  \N4
#34 \r   