
    F˝i'                    `    d dl mZ d dl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)Field   )
OwnedGifts   )TelegramMethodc                  Z    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<   	 dZded<   	 dZded<   	 dZded<   	 dZded<   	  edddi      Zded<   	 er2dddddddddddd	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS  xZS )GetBusinessAccountGiftsa  
    Returns the gifts received and owned by a managed business account. Requires the *can_view_gifts_and_stars* business bot right. Returns :class:`aiogram.types.owned_gifts.OwnedGifts` on success.

    Source: https://core.telegram.org/bots/api#getbusinessaccountgifts
    getBusinessAccountGiftsstrbusiness_connection_idNbool | Noneexclude_unsavedexclude_savedexclude_unlimitedexclude_limited_upgradableexclude_limited_non_upgradableexclude_uniqueexclude_from_blockchainsort_by_price
str | Noneoffset
int | Nonelimit
deprecatedT)json_schema_extraexclude_limited)r   r   r   r   r   r   r   r   r   r   r   c               >    t        |   d|||||||||	|
||d| y )N)r   r   r   r   r   r   r   r   r   r   r   r    )super__init__)__pydantic__self__r   r   r   r   r   r   r   r   r   r   r   r   )_GetBusinessAccountGifts__pydantic_kwargs	__class__s                 c/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/get_business_account_gifts.pyr#   z GetBusinessAccountGifts.__init__5   sE    * G '= /+"3+E/M-(?+ / $    )r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r%   r   returnNone)__name__
__module____qualname____doc__r   __returning____api_method____annotations__r   r   r   r   r   r   r   r   r   r   r   r   r   r#   __classcell__)r&   s   @r'   r   r      s    M.N6#'O['\!%M;%Y%){)_.22z26"K6|"&NK&3+/[/ G!%M;%uFJ HE:L#(,PTAU#VO[VD
  ,0)--16::>*.37)-!% $+/#	 %(#	 )	#	
 '#	  +#	 )4#	 -8#	 (#	 &1#	 '#	 #	 #	 )#	 "%#	  !#	 #		 r(   r   N)
__future__r   typingr   r   pydanticr   typesr   baser
   r   r!   r(   r'   <module>r8      s'    " %    MnZ8 Mr(   