o
    4˜ŽjÌ&  ã                   @  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mZ ddlmZ G d	d
„ d
ee ƒZdS )é    )Úannotations)ÚTYPE_CHECKINGÚAny)ÚFieldé   )ÚDefault)	ÚChatIdUnionÚEphemeralMessageParametersÚ	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&< 	 edd'd(i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dd'd(id)�Z!d
ed-< 	 e"�r	d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d.œd5‡ fd3d4„Z#‡  Z$S ‡  Z$S )6Ú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ú!EphemeralMessageParameters | NoneÚephemeral_message_parametersÚ
deprecatedT)Újson_schema_extraÚreceiver_user_idÚcallback_query_idÚ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/   r1   r3   r5   r8   r9   r:   r;   Ú_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|“|¤Ž d S )Nr   r   r   r   r   r   r   r   r    r!   r"   r%   r&   r)   r*   r+   r,   r-   r/   r1   r3   r5   r8   r9   r:   r;   © )ÚsuperÚ__init__)Ú__pydantic__self__r   r   r   r   r   r   r   r   r    r!   r"   r%   r&   r)   r*   r+   r,   r-   r/   r1   r3   r5   r8   r9   r:   r;   r<   ©Ú	__class__r?   ú[/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/aiogram/methods/send_animation.pyrA   e   sl   #ÿþýüûúùø	÷
öõôóòñðïîíìëêéèç
åzSendAnimation.__init__)8r   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.   r1   r0   r3   r2   r5   r4   r8   r   r9   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*   r+   r,   r-   r/   r1   r3   r5   r   r8   r9   r:   r;   r   rA   Ú__classcell__r?   r?   rC   rE   r      s¦   
 	äür   N)Ú
__future__r   Útypingr   r   Úpydanticr   Úclient.defaultr   Útypesr   r	   r
   r   r   r   r   r   r   Úbaser   r   r?   r?   r?   rE   Ú<module>   s    ,