
    ,h                    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   )AcceptedGiftTypes   )TelegramMethodc                  r     e Zd ZU dZeZdZded<   	 ded<   	 ded<   	 er	 	 	 	 	 	 	 	 	 	 d
 fd	Z	 xZ
S  xZ
S )SetBusinessAccountGiftSettingsa  
    Changes the privacy settings pertaining to incoming gifts in a managed business account. Requires the *can_change_gift_settings* business bot right. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#setbusinessaccountgiftsettings
    setBusinessAccountGiftSettingsstrbusiness_connection_idboolshow_gift_buttonr   accepted_gift_typesc               ,    t        |   d|||d| y )N)r   r   r    )super__init__)__pydantic__self__r   r   r   0_SetBusinessAccountGiftSettings__pydantic_kwargs	__class__s        e/var/www/html/venv/lib/python3.12/site-packages/aiogram/methods/set_business_account_gift_settings.pyr   z'SetBusinessAccountGiftSettings.__init__   s*     G '=!1$7 $	    )
r   r   r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__r   __returning____api_method____annotations__r   r   __classcell__)r   s   @r   r   r   	   sv     M5N6 K**9	 %(	 #		
 "3	 "%	 	 		 r   r   N)
__future__r   typingr   r   typesr   baser	   r   r   r   r   r   <module>r)      s"    " % %  &^D%9 &r   