o
    4˜Žjå  ã                   @  st   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 ddlmZ G d	d
„ d
eee  ƒZdS )é    )Úannotations)ÚTYPE_CHECKINGÚAny)ÚFieldé   )ÚDefault)ÚChatIdUnionÚ
MediaUnionÚMessageÚReplyParametersé   )ÚTelegramMethodc                      s  e Zd ZU dZe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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dddœ
d!‡ fdd „Z‡  ZS ‡  ZS )"ÚSendMediaGroupaf  
    Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an Array of :class:`aiogram.types.message.Message` objects that were sent is returned.

    Source: https://core.telegram.org/bots/api#sendmediagroup
    ÚsendMediaGroupr   Úchat_idúlist[MediaUnion]ÚmediaNú
str | NoneÚbusiness_connection_idú
int | NoneÚmessage_thread_idÚdirect_messages_topic_idúbool | NoneÚdisable_notificationÚprotect_contentúbool | Default | NoneÚallow_paid_broadcastÚmessage_effect_idúReplyParameters | NoneÚreply_parametersÚ
deprecatedT)Újson_schema_extraÚallow_sending_without_replyÚreply_to_message_id)
r   r   r   r   r   r   r   r   r"   r#   Ú _SendMediaGroup__pydantic_kwargsr   ÚreturnÚNonec                  s0   t ƒ jd|||||||||	|
||dœ|¤Ž d S )N)r   r   r   r   r   r   r   r   r   r   r"   r#   © )ÚsuperÚ__init__)Ú__pydantic__self__r   r   r   r   r   r   r   r   r   r   r"   r#   r$   ©Ú	__class__r'   ú]/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/aiogram/methods/send_media_group.pyr)   9   s    ô
ózSendMediaGroup.__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&   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úlistr
   Ú__returning__Ú__api_method__Ú__annotations__r   r   r   r   r   r   r   r   r   r   r"   r#   r   r)   Ú__classcell__r'   r'   r+   r-   r      sR   
 	òür   N)Ú
__future__r   Útypingr   r   Úpydanticr   Úclient.defaultr   Útypesr   r	   r
   r   Úbaser   r2   r   r'   r'   r'   r-   Ú<module>   s    