
    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 ddlmZ  G d	 d
ee         Zy)    )annotations)TYPE_CHECKINGAnyOptionalUnion)Field   )Default)ChatIdUnion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<   	  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rOd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 )'	SendVoiceaC  
    Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as :class:`aiogram.types.audio.Audio` or :class:`aiogram.types.document.Document`). On success, the sent :class:`aiogram.types.message.Message` is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future.

    Source: https://core.telegram.org/bots/api#sendvoice
    	sendVoicer   chat_idr   voiceNOptional[str]business_connection_idOptional[int]message_thread_iddirect_messages_topic_idcaption
parse_modeOptional[Union[str, Default]]Optional[list[MessageEntity]]caption_entitiesdurationOptional[bool]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-   r/   r2   r3   c                   t        |   di 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/   r2   r3    )super__init__)__pydantic__self__r   r   r   r   r   r   r   r"   r#   r%   r&   r(   r)   r+   r-   r/   r2   r3   _SendVoice__pydantic_kwargs	__class__s                       T/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/send_voice.pyr7   zSendVoice.__init__O   s    6 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.   r2   r$   r3   r   r9   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   r2   r3   r   r7   __classcell__)r:   s   @r;   r   r      sg    M Nz o,0M0b'+}+j.2m2 O!G]!I070EJ-E f6:3:"Hm"2+/./ 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:%)8?8M>B&*37>EFW>X37/3KO:>7;:>15)/	 !/	 "	/	
 %2/	  -/	 '4/	 #/	 6/	 </	 $/	 #1/	 </	 #1/	  -/	  (I!/	" 8#/	$ 5%/	& *8'/	( "/)/	* "%+/	, -/	 /		 r<   r   N)
__future__r   typingr   r   r   r   pydanticr   client.defaultr
   typesr   r   r   r   r   r   r   baser   r   r5   r<   r;   <module>rM      s;    " 6 6  $   !jw' jr<   