
     j                        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 ddlmZ  G d	 d
ee         Zy)    )annotations)TYPE_CHECKINGAny)Field   )Default)ChatIdUnionInputFileUnionMessageMessageEntityReplyMarkupUnionReplyParametersSuggestedPostParameters   )TelegramMethodc                  v    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<   	  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<   	 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r^dddd ed      d ed      dd ed      dddddddddd'	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d) fd(Z xZS  xZS )*	SendPhotoz
    Use this method to send photos. On success, the sent :class:`aiogram.types.message.Message` is returned.

    Source: https://core.telegram.org/bots/api#sendphoto
    	sendPhotor	   chat_idr
   photoN
str | Nonebusiness_connection_id
int | Nonemessage_thread_iddirect_messages_topic_id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receiver_user_idcallback_query_id
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   r3   r4   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|| y )Nr   r   r   r   r   r   r   r    r!   r$   r%   r&   r'   r(   r*   r,   r.   r/   r0   r3   r4    )super__init__)__pydantic__self__r   r   r   r   r   r   r   r    r!   r$   r%   r&   r'   r(   r*   r,   r.   r/   r0   r3   r4   _SendPhoto__pydantic_kwargs	__class__s                          M/var/www/html/venv/lib/python3.12/site-packages/aiogram/methods/send_photo.pyr8   zSendPhoto.__init__S   s    < G  (> #4	
 *B   & "2 *B ( &: !0 &: #4 +D  "2!" *#$ "2%& #4'( -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)   r,   r+   r.   r-   r/   r   r0   r   r3   r#   r4   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   r   r3   r4   r   r8   __classcell__)r;   s   @r<   r   r      s    M N E )-J-b$(z( a+/j/ OGZw'.|'<J$< ]37076=>X6Y3YP#K#U(,+, R-45F-GO*GN(,+, k$(z(d@D=D l/3,30,0L)0 o#'j' `$(z(o/4Tl\`Ma/bbD ',D\SWDX&YYD
  26,037"&/6|/D;?>EF`>a'+045<=N5O04,0HL7;48+/,07;.2/5	 !5	 "	5	
 %/5	  *5	 '15	  5	 -5	 95	 '<5	 %5	 #.5	 35	 #.5	   *!5	" (F#5	$ 5%5	& 2'5	( ))5	*  *+5	, *5-5	. ",/5	0 "%15	2 35	 5		 r=   r   N)
__future__r   typingr   r   pydanticr   client.defaultr   typesr	   r
   r   r   r   r   r   baser   r   r6   r=   r<   <module>rN      s8    " %  $   !tw' tr=   