
    G˝ib!                        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$<   	  edd%d&i'      Zded(<   	  edd%d&i'      Zd
ed)<   	 erdd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, 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
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   r7   r8   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|| y )Nr   r   r   r   r   r   r   r   r!   r"   r#   r&   r'   r*   r+   r,   r-   r.   r0   r2   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.   r0   r2   r4   r7   r8   _SendAnimation__pydantic_kwargs	__class__s                            W/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/send_animation.pyr<   zSendAnimation.__init__X   s    @ G # (> #4	
 *B "   $   & "2 *B ( &:  !0!" &:#$ #4%& +D'( "2)* *+, -H-. %8#1    )2r   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   r7   r)   r8   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   r   r7   r8   r   r<   __classcell__)r?   s   @r@   r   r      s    M$Nz @)-J-b$(z( a+/j/ OHj/E:FJ"&I& mGZ~'.|'<J$< b37076=>X6Y3YQ#K#Y(,+, S-45F-GO*GN(,+, k$(z(d@D=D m/3,30,0L)0 o/4Tl\`Ma/bbD ',D\SWDX&YYD
  26,037#' $!%*."&/6|/D;?>EF`>a'+045<=N5O04,0HL7;487;.239	 !9	 &	9	
 %/9	  *9	 '19	 !9	 9	 9	 (9	  9	 -9	 99	 '<9	  %!9	" #.#9	$ 3%9	& #.'9	(  *)9	* (F+9	, 5-9	. 2/9	0 *519	2 ",39	4 "%59	6 79	 9		 rA   r   N)
__future__r   typingr   r   pydanticr   client.defaultr   typesr	   r
   r   r   r   r   r   r   baser   r   r:   rA   r@   <module>rR      s8    " %  $	 	 	 !|N7+ |rA   