o
    Uj                     @  s@   d dl mZ d dlmZmZ ddlmZ G dd dee ZdS )    )annotations)TYPE_CHECKINGAny   )TelegramMethodc                      sj   e Zd ZU dZeZdZded< 	 ded< 	 ded< 	 dZd	ed
< 	 e	r1ddd fddZ
  ZS   ZS )TransferGifta#  
    Transfers an owned unique gift to another user. Requires the *can_transfer_and_upgrade_gifts* business bot right. Requires *can_transfer_stars* business bot right if the transfer is paid. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#transfergift
    transferGiftstrbusiness_connection_idowned_gift_idintnew_owner_chat_idN
int | None
star_count)r   _TransferGift__pydantic_kwargsr   returnNonec                  s    t  jd||||d| d S )N)r
   r   r   r    )super__init__)__pydantic__self__r
   r   r   r   r   	__class__r   V/opt/telega-widget/.venv/lib/python3.10/site-packages/aiogram/methods/transfer_gift.pyr      s   
zTransferGift.__init__)r
   r	   r   r	   r   r   r   r   r   r   r   r   )__name__
__module____qualname____doc__bool__returning____api_method____annotations__r   r   r   __classcell__r   r   r   r   r      s    
 
r   N)	
__future__r   typingr   r   baser   r   r   r   r   r   r   <module>   s    