o
    @j                     @  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 ddlmZ G d	d
 d
ee ZdS )    )annotations)TYPE_CHECKINGAnyOptionalUnion)Field   )Default)
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< 	 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< 	 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eddddedddddddd#d* fd(d)Z  ZS   ZS )+SendDocumenta!  
    Use this method to send general files. On success, the sent :class:`aiogram.types.message.Message` is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.

    Source: https://core.telegram.org/bots/api#senddocument
    sendDocumentUnion[int, str]chat_idUnion[InputFile, str]documentNOptional[str]business_connection_idOptional[int]message_thread_idOptional[InputFile]	thumbnailcaption
parse_modeOptional[Union[str, Default]]Optional[list[MessageEntity]]caption_entitiesOptional[bool]disable_content_type_detectiondisable_notificationprotect_contentOptional[Union[bool, Default]]allow_paid_broadcastmessage_effect_idOptional[ReplyParameters]reply_parameters[Optional[Union[InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, ForceReply]]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/   r2   r3   _SendDocument__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 S )Nr   r   r   r   r   r    r!   r$   r&   r'   r(   r*   r+   r-   r/   r2   r3    )super__init__)__pydantic__self__r   r   r   r   r   r    r!   r$   r&   r'   r(   r*   r+   r-   r/   r2   r3   r4   	__class__r7   l/var/www/www-root/data/www/ai-bot.pdev.uz/venv/lib/python3.10/site-packages/aiogram/methods/send_document.pyr9   P   sH   	

zSendDocument.__init__)&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.   r2   r%   r3   r   r4   r   r5   r6   )__name__
__module____qualname____doc__r   __returning____api_method____annotations__r   r   r   r    r	   r!   r$   r&   r'   r(   r*   r+   r-   r/   r   r2   r3   r   r9   __classcell__r7   r7   r;   r=   r      sv   
 
	r   N)
__future__r   typingr   r   r   r   pydanticr   client.defaultr	   typesr
   r   r   r   r   r   r   r   baser   r   r7   r7   r7   r=   <module>   s    (
