o
    UjÅ  ã                   @  sL   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„ dee ƒZ	d	S )
é    )Úannotations)ÚTYPE_CHECKINGÚAnyé   )ÚResultMenuButtonUnioné   )ÚTelegramMethodc                      sL   e Zd ZU dZeZdZdZded< 	 e	r"ddœd‡ fdd„Z
‡  ZS ‡  ZS )ÚGetChatMenuButtonzþ
    Use this method to get the current value of the bot's menu button in a private chat, or the default menu button. Returns :class:`aiogram.types.menu_button.MenuButton` on success.

    Source: https://core.telegram.org/bots/api#getchatmenubutton
    ÚgetChatMenuButtonNú
int | NoneÚchat_id)r   Ú#_GetChatMenuButton__pydantic_kwargsr   ÚreturnÚNonec                  s   t ƒ jdd|i|¤Ž d S )Nr   © )ÚsuperÚ__init__)Ú__pydantic__self__r   r   ©Ú	__class__r   ú]/opt/telega-widget/.venv/lib/python3.10/site-packages/aiogram/methods/get_chat_menu_button.pyr      s   zGetChatMenuButton.__init__)r   r   r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__returning__Ú__api_method__r   Ú__annotations__r   r   Ú__classcell__r   r   r   r   r	   	   s   
 ÿür	   N)
Ú
__future__r   Útypingr   r   Útypesr   Úbaser   r	   r   r   r   r   Ú<module>   s
    