
    G˝ix                        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mZ ddlmZ  G d	 d
ee         Zy)    )annotations)TYPE_CHECKINGAny)Field   )Default)ChatIdUnion	InputFileInputFileUnionMessageMessageEntityReplyMarkupUnionReplyParametersSuggestedPostParameters   )TelegramMethodc                  ^    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<   	 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ddddd ed      dddddddd(	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d* fd)Z xZS  xZS )+	SendAudioa  
    Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent :class:`aiogram.types.message.Message` is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future.
    For sending voice messages, use the :class:`aiogram.methods.send_voice.SendVoice` method instead.

    Source: https://core.telegram.org/bots/api#sendaudio
    	sendAudior	   chat_idr   audioN
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duration	performertitleInputFile | None	thumbnailbool | Nonedisable_notificationprotect_contentbool | Default | None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.   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|d|d|| y )Nr   r   r   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+   r,   r.   r0   r2   r5   r6   _SendAudio__pydantic_kwargs	__class__s                          S/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/send_audio.pyr:   zSendAudio.__init__U   s    < G  (> #4	
 *B   & "2 " $  $ &: !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-   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+   r,   r.   r0   r2   r   r5   r6   r   r:   __classcell__)r=   s   @r>   r   r      s    M Nz })-J-b$(z( a+/j/ OGZA'.|'<J$< ^3707Hj* Iz E:"&I& m(,+, 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;?#'$( $*.045<=N5O04,0HL7;487;.2/5	 !5	 "	5	
 %/5	  *5	 '15	  5	 -5	 95	 !5	 "5	 5	 (5	 #.5	  3!5	" #.#5	$  *%5	& (F'5	( 5)5	* 2+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   r   baser   r   r8   r?   r>   <module>rP      s8    " %  $	 	 	 !uw' ur?   