
    G˝i                        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                  J    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<   	  edd d!i"      Zded#<   	  edd d!i"      Zd
ed$<   	 erXdddd ed      d ed      dd e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
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.   r1   r2   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*   r,   r.   r1   r2    )super__init__)__pydantic__self__r   r   r   r   r   r   r   r    r!   r$   r%   r&   r'   r(   r*   r,   r.   r1   r2   _SendPhoto__pydantic_kwargs	__class__s                        S/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/send_photo.pyr6   zSendPhoto.__init__O   s    8 G  (> #4	
 *B   & "2 *B ( &: !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)   r,   r+   r.   r-   r1   r#   r2   r   r8   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   r1   r2   r   r6   __classcell__)r9   s   @r:   r   r      s    M Nz )-J-b$(z( a+/j/ OGZw'.|'<J$< ^37076=>X6Y3YQ#K#U(,+, S-45F-GO*GN(,+, k$(z(d@D=D m/3,30,0L)0 o/4Tl\`Ma/bbD ',D\SWDX&YYD
  26,037"&/6|/D;?>EF`>a'+045<=N5O04,0HL7;487;.2+1	 !1	 "	1	
 %/1	  *1	 '11	  1	 -1	 91	 '<1	 %1	 #.1	 31	 #.1	   *!1	" (F#1	$ 5%1	& 2'1	( *5)1	* ",+1	, "%-1	. /1	 1		 r;   r   N)
__future__r   typingr   r   pydanticr   client.defaultr   typesr	   r
   r   r   r   r   r   baser   r   r4   r;   r:   <module>rL      s8    " %  $   !lw' lr;   