a
    y{Jh                     @  s   d dl mZ d dlmZ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 ddlmZ G d	d
 d
eee  ZdS )    )annotations)TYPE_CHECKINGAnyListOptionalUnion)Field   )Default)InputMediaAudioInputMediaDocumentInputMediaPhotoInputMediaVideo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< e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rddeddddddddd
ddd
dddd
 fddZ  ZS )SendMediaGroupac  
    Use this method to send a group of 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 `Messages <https://core.telegram.org/bots/api#message>`_ that were sent is returned.

    Source: https://core.telegram.org/bots/api#sendmediagroup
    ZsendMediaGroupzUnion[int, str]chat_idzRList[Union[InputMediaAudio, InputMediaDocument, InputMediaPhoto, InputMediaVideo]]mediaNzOptional[int]message_thread_idzOptional[bool]disable_notificationprotect_contentzOptional[Union[bool, Default]]zOptional[ReplyParameters]reply_parameters
deprecatedT)Zjson_schema_extraallow_sending_without_replyreply_to_message_id)r   r   r   r   r   r   r   None)
r   r   r   r   r   r   r   r    _SendMediaGroup__pydantic_kwargsreturnc          
        s(   t  jf ||||||||d|	 d S )N)r   r   r   r   r   r   r   r   )super__init__)
Z__pydantic__self__r   r   r   r   r   r   r   r   r   	__class__ R/var/www/shaz/venv/lib/python3.9/site-packages/aiogram/methods/send_media_group.pyr!   :   s    	zSendMediaGroup.__init__)__name__
__module____qualname____doc__r   r   Z__returning__Z__api_method____annotations__r   r   r
   r   r   r   r   r   r   r!   __classcell__r$   r$   r"   r%   r      s*   
r   N)
__future__r   typingr   r   r   r   r   Zpydanticr   Zclient.defaultr
   typesr   r   r   r   r   r   baser   r   r$   r$   r$   r%   <module>   s    