o
    4˜Žj&  ã                   @  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!   úg/var/www/kodo/Anonymous/send/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    