
    dh?                    L    d dl mZ d dlmZmZmZ ddlmZ  G d dee         Z	y)    )annotations)TYPE_CHECKINGAnyOptional   )TelegramMethodc                       e Zd ZU dZeZdZded<   	 ded<   	 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 )UpgradeGifta2  
    Upgrades a given regular gift to a unique gift. Requires the *can_transfer_and_upgrade_gifts* business bot right. Additionally requires the *can_transfer_stars* business bot right if the upgrade is paid. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#upgradegift
    upgradeGiftstrbusiness_connection_idowned_gift_idNOptional[bool]keep_original_detailsOptional[int]
star_count)r   r   c               .    t        |   d||||d| y )N)r   r   r   r    )super__init__)__pydantic__self__r   r   r   r   _UpgradeGift__pydantic_kwargs	__class__s         V/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/upgrade_gift.pyr   zUpgradeGift.__init__   s-     G '=+&;%	
 $    )r   r   r   r   r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__bool__returning____api_method____annotations__r   r   r   r   __classcell__)r   s   @r   r
   r
      s     M"N6W,0>0d $J$ ` 59(,	 %(	 		
 $2	 &	 "%	 	 		 r   r
   N)

__future__r   typingr   r   r   baser   r"   r
   r   r   r   <module>r*      s"    " / /  *.& *r   