U
    ;g                      @   s>   d dl mZ d dlZd dlmZ d dlmZ G dd dZdS )    )UnionN)raw)typesc                   @   s*   e Zd Zddeeef dedddZdS )SetChatMenuButtonNzpyrogram.Clientztypes.MenuButton)selfchat_idmenu_buttonreturnc                    sV   |  tjjj| |pdI dH |r2|| I dH nt | I dH dI dH  dS )a(  Change the bot's menu button in a private chat, or the default menu button.

        .. include:: /_includes/usable-by/bots.rst

        Parameters:
            chat_id (``int`` | ``str``, *optional*):
                Unique identifier (int) or username (str) of the target chat.
                If not specified, default bot's menu button will be changed.

            menu_button (:obj:`~pyrogram.types.MenuButton`, *optional*):
                The new bot's menu button.
                Defaults to :obj:`~pyrogram.types.MenuButtonDefault`.
        meN)Zuser_idZbuttonT)	Zinvoker   Z	functionsZbotsZSetBotMenuButtonZresolve_peerwriter   ZMenuButtonDefault)r   r   r    r   j/opt/bot/vods_filmes/script/venv/lib/python3.8/site-packages/pyrogram/methods/bots/set_chat_menu_button.pyset_chat_menu_button   s    

z&SetChatMenuButton.set_chat_menu_button)NN)__name__
__module____qualname__r   intstrboolr   r   r   r   r   r      s     
r   )typingr   Zpyrogramr   r   r   r   r   r   r   <module>   s   