o
    Fh%                     @  s   d dl mZ d dl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OptionalUnion)Field   )Default)	ChatIdUnionDateTimeUnion	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< 	 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< 	 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d,Z ded-< 	 edd*d+id,Z!d
ed.< 	 e"rddddddddddeddedddded!dddddddd/d6 fd4d5Z#  Z$S   Z$S )7	SendVideoa  
    Use this method to send video files, Telegram clients support MPEG4 videos (other formats may be sent as :class:`aiogram.types.document.Document`). On success, the sent :class:`aiogram.types.message.Message` is returned. Bots can currently send video files of up to 50 MB in size, this limit may be changed in the future.

    Source: https://core.telegram.org/bots/api#sendvideo
    	sendVideor
   chat_idr   videoNOptional[str]business_connection_idOptional[int]message_thread_iddirect_messages_topic_iddurationwidthheightOptional[InputFile]	thumbnailOptional[InputFileUnion]coverOptional[DateTimeUnion]start_timestampcaption
parse_modeOptional[Union[str, Default]]Optional[list[MessageEntity]]caption_entitiesshow_caption_above_mediaOptional[Union[bool, Default]]Optional[bool]has_spoilersupports_streamingdisable_notificationprotect_contentallow_paid_broadcastmessage_effect_id!Optional[SuggestedPostParameters]suggested_post_parametersOptional[ReplyParameters]reply_parametersOptional[ReplyMarkupUnion]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/   r0   r1   r2   r3   r4   r6   r8   r:   r=   r>   _SendVideo__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/   r0   r1   r2   r3   r4   r6   r8   r:   r=   r>    )super__init__)__pydantic__self__r   r   r   r   r   r   r   r    r"   r$   r&   r'   r(   r+   r,   r/   r0   r1   r2   r3   r4   r6   r8   r:   r=   r>   r?   	__class__rB   M/var/www/html/venv/lib/python3.10/site-packages/aiogram/methods/send_video.pyrD   a   sl   %	

zSendVideo.__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.   r0   r.   r1   r.   r2   r-   r3   r.   r4   r   r6   r5   r8   r7   r:   r9   r=   r.   r>   r   r?   r   r@   rA   )%__name__
__module____qualname____doc__r   __returning____api_method____annotations__r   r   r   r   r   r    r"   r$   r&   r'   r	   r(   r+   r,   r/   r0   r1   r2   r3   r4   r6   r8   r:   r   r=   r>   r   rD   __classcell__rB   rB   rF   rH   r      s   
 	r   N)
__future__r   typingr   r   r   r   pydanticr   client.defaultr	   typesr
   r   r   r   r   r   r   r   r   baser   r   rB   rB   rB   rH   <module>   s    ,