o
    4˜Žj’!  ã                   @  s€   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
„ d
ee ƒZdS )é    )Úannotations)ÚTYPE_CHECKINGÚAny)ÚFieldé   )ÚDefault)ÚChatIdUnionÚEphemeralMessageParametersÚInputFileUnionÚMessageÚMessageEntityÚReplyMarkupUnionÚReplyParametersÚSuggestedPostParametersé   )ÚTelegramMethodc                      sÀ  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< 	 dZded < 	 edd!d"id#�Zd
ed$< 	 edd!d"id#�Zded%< 	 edd!d"id#�Zded&< 	 edd!d"id#�Zd
ed'< 	 erÜddddedƒdddedƒddddddddddd(œd/‡ fd-d.„Z‡  ZS ‡  ZS )0Ú	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ú
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ú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ú!EphemeralMessageParameters | NoneÚephemeral_message_parametersÚ
deprecatedT)Újson_schema_extraÚreceiver_user_idÚcallback_query_idÚ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   r3   r4   Ú_SendVoice__pydantic_kwargsr   ÚreturnÚNonec                  s”   t ƒ jdi d|“d|“d|“d|“d|“d|“d|“d|“d	|	“d
|
“d|“d|“d|“d|“d|“d|“d|“d|“d|“d|“d|“|¤Ž d S )Nr   r   r   r   r   r   r   r   r    r"   r#   r%   r&   r(   r*   r,   r.   r1   r2   r3   r4   © )ÚsuperÚ__init__)Ú__pydantic__self__r   r   r   r   r   r   r   r   r    r"   r#   r%   r&   r(   r*   r,   r.   r1   r2   r3   r4   r5   ©Ú	__class__r8   úW/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/aiogram/methods/send_voice.pyr:   Z   sX   ÿþýüûúùø	÷
öõôóòñðïîíì
êzSendVoice.__init__).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   r3   r!   r4   r   r5   r   r6   r7   ) Ú__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   r3   r4   r   r:   Ú__classcell__r8   r8   r<   r>   r      sˆ   
 	éür   N)Ú
__future__r   Útypingr   r   Úpydanticr   Úclient.defaultr   Útypesr   r	   r
   r   r   r   r   r   Úbaser   r   r8   r8   r8   r>   Ú<module>   s    (
