a
    y{Jh                     @  s   d dl mZ d dlmZmZmZ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ListOptionalUnion)Field   )Default)	UNSET_PARSE_MODE
ForceReplyInlineKeyboardMarkup	InputFileMessageMessageEntityReplyKeyboardMarkupReplyKeyboardRemoveReplyParameters   )TelegramMethodc                      sh  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< e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< 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edddde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& fd'd(Z  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
    ZsendAnimationzUnion[int, str]chat_idzUnion[InputFile, str]	animationNzOptional[int]message_thread_iddurationwidthheightzOptional[InputFile]	thumbnailzOptional[str]caption
parse_modezOptional[Union[str, Default]]zOptional[List[MessageEntity]]caption_entitieszOptional[bool]has_spoilerdisable_notificationprotect_contentzOptional[Union[bool, Default]]zOptional[ReplyParameters]reply_parametersz[Optional[Union[InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, ForceReply]]reply_markup
deprecatedT)Z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   None)r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r'   r(   _SendAnimation__pydantic_kwargsreturnc                  s:   t  jf |||||||||	|
|||||||d| d S )N)r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r'   r(   )super__init__)Z__pydantic__self__r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r'   r(   r*   	__class__ P/var/www/shaz/venv/lib/python3.9/site-packages/aiogram/methods/send_animation.pyr-   Q   s*    zSendAnimation.__init__)__name__
__module____qualname____doc__r   Z__returning__Z__api_method____annotations__r   r   r   r   r   r   r
   r   r    r!   r"   r#   r$   r%   r   r'   r(   r   r-   __classcell__r0   r0   r.   r1   r      sP   

	r   N)
__future__r   typingr   r   r   r   r   Zpydanticr   Zclient.defaultr
   typesr   r   r   r   r   r   r   r   r   baser   r   r0   r0   r0   r1   <module>   s   ,