
     jT$                        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
ee         Zy)    )annotations)TYPE_CHECKINGAny)Field   )Default)ChatIdUnion	InputFileInputFileUnionMessageMessageEntityReplyMarkupUnionReplyParametersSuggestedPostParameters   )TelegramMethodc                      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)      Zded*<   	  edd'd(i)      Z d
ed+<   	 e!rjd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. fd-Z" xZ#S  xZ#S )/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.   r0   r2   r4   r5   r6   r9   r:   c                   t        |   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|| y )Nr   r   r   r   r   r   r   r   r!   r"   r#   r&   r'   r*   r+   r,   r-   r.   r0   r2   r4   r5   r6   r9   r:    )super__init__)__pydantic__self__r   r   r   r   r   r   r   r   r!   r"   r#   r&   r'   r*   r+   r,   r-   r.   r0   r2   r4   r5   r6   r9   r:   _SendAnimation__pydantic_kwargs	__class__s                              Q/var/www/html/venv/lib/python3.12/site-packages/aiogram/methods/send_animation.pyr>   zSendAnimation.__init__\   s   D G # (> #4	
 *B "   $   & "2 *B ( &:  !0!" &:#$ #4%& +D'( "2)* *+, "2-. #4/0 -H12 %8#5    )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   r0   r/   r2   r1   r4   r3   r5   r   r6   r   r9   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+   r,   r-   r.   r0   r2   r4   r5   r6   r   r9   r:   r   r>   __classcell__)rA   s   @rB   r   r      s6    M$N E @)-J-b$(z( a+/j/ OHj/E:FJ"&I& mGZ~'.|'<J$< a37076=>X6Y3YP#K#Y(,+, R-45F-GO*GN(,+, k$(z(d@D=D l/3,30,0L)0 o#'j' `$(z(o/4Tl\`Ma/bbD ',D\SWDX&YYD
  26,037#' $!%*."&/6|/D;?>EF`>a'+045<=N5O04,0HL7;48+/,07;.27=	 !=	 &	=	
 %/=	  *=	 '1=	 !=	 =	 =	 (=	  =	 -=	 9=	 '<=	  %!=	" #.#=	$ 3%=	& #.'=	(  *)=	* (F+=	, 5-=	. 2/=	0 )1=	2  *3=	4 *55=	6 ",7=	8 "%9=	: ;=	 =		 rC   r   N)
__future__r   typingr   r   pydanticr   client.defaultr   typesr	   r
   r   r   r   r   r   r   baser   r   r<   rC   rB   <module>rT      s8    " %  $	 	 	 !DN7+ DrC   