a
    y{JhR  ã                   @  sf   d dl mZ d dlmZmZmZmZ ddlmZm	Z	m
Z
 ddlmZ G dd„ deee	e
ef  ƒZd	S )
é    )Úannotations)ÚTYPE_CHECKINGÚAnyÚOptionalÚUnioné   )ÚMenuButtonCommandsÚMenuButtonDefaultÚMenuButtonWebAppé   )ÚTelegramMethodc                      sT   e Zd ZU dZeeeef ZdZ	dZ
ded< erLddœdddd	œ‡ fd
d„Z‡  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
    ZgetChatMenuButtonNzOptional[int]Úchat_id)r   r   ÚNone)r   Ú#_GetChatMenuButton__pydantic_kwargsÚreturnc                  s   t ƒ jf d|i|¤Ž d S )Nr   )ÚsuperÚ__init__)Z__pydantic__self__r   r   ©Ú	__class__© úV/var/www/shaz/venv/lib/python3.9/site-packages/aiogram/methods/get_chat_menu_button.pyr      s    zGetChatMenuButton.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r	   r
   r   Z__returning__Z__api_method__r   Ú__annotations__r   r   Ú__classcell__r   r   r   r   r   	   s   
ÿr   N)Ú
__future__r   Útypingr   r   r   r   Útypesr   r	   r
   Úbaser   r   r   r   r   r   Ú<module>   s   
ÿ