o
    Uj&                     @  sX   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	 d	e
e Zd
S )    )annotations)TYPE_CHECKINGAny)Field   )
OwnedGifts   )TelegramMethodc                      s  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dZded< 	 er}ddddddddddddd fddZ  ZS   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   )_GetBusinessAccountGifts__pydantic_kwargsr   returnNonec                  s0   t  jd|||||||||	|
||d| d S )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   r   	__class__r!   c/opt/telega-widget/.venv/lib/python3.10/site-packages/aiogram/methods/get_business_account_gifts.pyr#   5   s    
z GetBusinessAccountGifts.__init__)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   r   r    )__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!   r!   r%   r'   r
      sT   
 r
   N)
__future__r   typingr   r   pydanticr   typesr   baser	   r
   r!   r!   r!   r'   <module>   s    