o
    *fjT$                     @  s   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
mZmZmZmZmZmZmZ ddlmZ G d	d
 d
ee ZdS )    )annotations)TYPE_CHECKINGAny)Field   )Default)ChatIdUnion	InputFileInputFileUnionMessageMessageEntityReplyMarkupUnionReplyParametersSuggestedPostParameters   )TelegramMethodc                      s  e Zd ZU dZeZdZded< 	 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Zded< 	 dZded< 	 edZded< 	 dZded< 	 dZded< 	 e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dd'd(id)Z d
ed+< 	 e!rddddddddeddedddeddddddddddd,d3 fd1d2Z"  Z#S   Z#S )4SendAnimationaP  
    Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent :class:`aiogram.types.message.Message` is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future.

    Source: https://core.telegram.org/bots/api#sendanimation
    sendAnimationr   chat_idr
   	animationN
str | Nonebusiness_connection_id
int | Nonemessage_thread_iddirect_messages_topic_iddurationwidthheightInputFile | None	thumbnailcaption
parse_modestr | Default | Nonelist[MessageEntity] | Nonecaption_entitiesshow_caption_above_mediabool | Default | Nonebool | Nonehas_spoilerdisable_notificationprotect_contentallow_paid_broadcastmessage_effect_idSuggestedPostParameters | Nonesuggested_post_parametersReplyParameters | Nonereply_parametersReplyMarkupUnion | Nonereply_markupreceiver_user_idcallback_query_id
deprecatedT)json_schema_extraallow_sending_without_replyreply_to_message_id)r   r   r   r   r   r   r   r    r!   r$   r%   r(   r)   r*   r+   r,   r.   r0   r2   r3   r4   r7   r8   _SendAnimation__pydantic_kwargsr   returnNonec                  s   t  jdi d|d|d|d|d|d|d|d|d	|	d
|
d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|| d S )Nr   r   r   r   r   r   r   r   r   r    r!   r$   r%   r(   r)   r*   r+   r,   r.   r0   r2   r3   r4   r7   r8    )super__init__)__pydantic__self__r   r   r   r   r   r   r   r   r   r    r!   r$   r%   r(   r)   r*   r+   r,   r.   r0   r2   r3   r4   r7   r8   r9   	__class__r<   /var/www/botplatforma_usr/data/www/botplatforma.ilyaolesya.ru/.venv/lib/python3.10/site-packages/aiogram/methods/send_animation.pyr>   \   sh   "	

zSendAnimation.__init__)6r   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)   r'   r*   r&   r+   r'   r,   r   r.   r-   r0   r/   r2   r1   r3   r   r4   r   r7   r'   r8   r   r9   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)   r*   r+   r,   r.   r0   r2   r3   r4   r   r7   r8   r   r>   __classcell__r<   r<   r@   rB   r      s   
 	r   N)
__future__r   typingr   r   pydanticr   client.defaultr   typesr   r	   r
   r   r   r   r   r   baser   r   r<   r<   r<   rB   <module>   s    (
