
    dhk                    d    d dl mZ d dlmZmZmZ ddlmZ ddlm	Z	 ddl
mZ  G d d	ee         Zy
)    )annotations)TYPE_CHECKINGAnyOptional   )ChatIdUnion)MessageEntity   )TelegramMethodc                       e Zd ZU dZeZdZded<   	 dZded<   	 dZ	ded	<   	 dZ
d
ed<   	 dZded<   	 dZded<   	 dZded<   	 er#ddddddd	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS  xZS )SendGiftz
    Sends a gift to the given user or channel chat. The gift can't be converted to Telegram Stars by the receiver. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#sendgift
    sendGiftstrgift_idNOptional[int]user_idOptional[ChatIdUnion]chat_idOptional[bool]pay_for_upgradeOptional[str]texttext_parse_modeOptional[list[MessageEntity]]text_entities)r   r   r   r   r   r   c               4    t        	|   d|||||||d| y )N)r   r   r   r   r   r   r    )super__init__)
__pydantic__self__r   r   r   r   r   r   r   _SendGift__pydantic_kwargs	__class__s
            S/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/send_gift.pyr   zSendGift.__init__'   s6      G 	 / /+	 $	    )r   r   r   r   r   r   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   r   r   r   r   __classcell__)r"   s   @r#   r   r   
   s     MNL !G]!q%)G") q&*O^* AD-G%)O]) D37M07 t &*-1.2"&-1;?	 	 #		
 +	 ,	  	 +	 9	 "%	 	 		 r$   r   N)
__future__r   typingr   r   r   typesr   types.message_entityr	   baser   r+   r   r   r$   r#   <module>r5      s(    " / /  0  6~d# 6r$   