
    dh                        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
ee         Zy)    )annotations)TYPE_CHECKINGAnyOptionalUnion)Field   )Default)ChatIdUnion	InputFileInputFileUnionMessageMessageEntityReplyMarkupUnionReplyParametersSuggestedPostParameters   )TelegramMethodc                  2    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<   	  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#      Zded$<   	  edd!d"i#      Zd
ed%<   	 erRddddd ed      ddd ed      dddddddd&	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d( fd'Z xZS  x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
    sendDocumentr   chat_idr   documentNOptional[str]business_connection_idOptional[int]message_thread_iddirect_messages_topic_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[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.   r0   r2   r5   r6   c                   t        |   di 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.   r0   r2   r5   r6    )super__init__)__pydantic__self__r   r   r   r   r   r    r!   r"   r%   r'   r(   r)   r+   r,   r.   r0   r2   r5   r6   _SendDocument__pydantic_kwargs	__class__s                        W/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/send_document.pyr:   zSendDocument.__init__R   s    8 G ! (> #4	
 *B $   & "2 0N &: !0 &: #4 +D  "2!" *#$ -H%& %8#)    )*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   r5   r&   r6   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.   r0   r2   r   r5   r6   r   r:   __classcell__)r=   s   @r>   r   r      s    M#Nz i,0M0b'+}+j.2m2 O%)I") m!G]!}070EJ-E a6:3:59"N9l+/./ S6=>O6PO3PN+/./ k'+}+dCG@G m26/60/3L,3 o27t 43 D */tVZG[)\\D
  59/36:-1%)8?8M>B=A37>EFW>X37/3KO:>7;:>15+1	 !1	 %	1	
 %21	  -1	 '41	 +1	 #1	 61	 <1	 -;1	 #11	 <1	 #11	   -!1	" (I#1	$ 8%1	& 5'1	( *8)1	* "/+1	, "%-1	. /1	 1		 r?   r   N)
__future__r   typingr   r   r   r   pydanticr   client.defaultr
   typesr   r   r   r   r   r   r   r   baser   r   r8   r?   r>   <module>rP      s;    " 6 6  $	 	 	 !n>'* nr?   