
    G˝i                    T    d dl mZ d dlmZmZ ddlmZ ddlmZ  G d dee	         Z
y	)
    )annotations)TYPE_CHECKINGAny   )MenuButtonUnion   )TelegramMethodc                  p     e Zd ZU dZ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 )SetChatMenuButtonz
    Use this method to change the bot's menu button in a private chat, or the default menu button. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#setchatmenubutton
    setChatMenuButtonN
int | Nonechat_idMenuButtonUnion | Nonemenu_buttonr   r   c               *    t        |   d||d| y )Nr    )super__init__)__pydantic__self__r   r   #_SetChatMenuButton__pydantic_kwargs	__class__s       ]/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/set_chat_menu_button.pyr   zSetChatMenuButton.__init__   s     G[W+[IZ[    )r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__bool__returning____api_method__r   __annotations__r   r   r   __classcell__)r   s   @r   r   r   	   sz     M(NGZt*.K'. K #'26		\  	\ 0		\
 "%	\ 	\ 	\	 r   r   N)
__future__r   typingr   r   typesr   baser	   r!   r   r   r   r   <module>r*      s$    " % #  \t, \r   