Ë
    çObjq  ã                  óf   — d dl mZ d dlmZmZ ddlmZmZmZm	Z	 ddl
mZ  G d„ dee	ez     «      Zy	)
é    )Úannotations)ÚTYPE_CHECKINGÚAnyé   )ÚChatIdUnionÚInlineKeyboardMarkupÚInputMediaUnionÚMessageé   )ÚTelegramMethodc                  óÈ   ‡ — e Zd ZU dZeez  Z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r ddddddœ	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dˆ fd„Zˆ xZS ˆ xZS )ÚEditMessageMediaa[  
    Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with a media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. On success, if the edited message is not an inline message, the edited :class:`aiogram.types.message.Message` is returned, otherwise :code:`True` is returned. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within **48 hours** from the time they were sent.

    Source: https://core.telegram.org/bots/api#editmessagemedia
    ÚeditMessageMediar	   ÚmediaNú
str | NoneÚbusiness_connection_idúChatIdUnion | NoneÚchat_idú
int | NoneÚ
message_idÚinline_message_idúInlineKeyboardMarkup | NoneÚreply_markup)r   r   r   r   r   c          
     ó2   •— t        ‰| �  d||||||dœ|¤Ž y )N)r   r   r   r   r   r   © )ÚsuperÚ__init__)	Ú__pydantic__self__r   r   r   r   r   r   Ú"_EditMessageMedia__pydantic_kwargsÚ	__class__s	           €úU/var/www/html/venv/lib/python3.12/site-packages/aiogram/methods/edit_message_media.pyr   zEditMessageMedia.__init__$   s3   ø€ ô ‰GÑð ØØ'=ØØ%Ø"3Ø)ñð $óó    )r   r	   r   r   r   r   r   r   r   r   r   r   r   r   ÚreturnÚNone)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   ÚboolÚ__returning__Ú__api_method__Ú__annotations__r   r   r   r   r   r   r   Ú__classcell__)r    s   @r!   r   r   	   sÜ   ø… ñð ˜d‘N€MØ'€NàÓØKØ)-Ð˜JÓ-ØkØ"&€GÐÓ&ð wØ!€J�
Ó!Ø]Ø$(Ð�zÓ(ØdØ04€LÐ-Ó4Øzáð 26Ø*.Ø%)Ø,0Ø8<ñ	ð #ð	ð %/ð		ð
 (ð	ð #ð	ð  *ð	ð 6ð	ð "%ð	ð ÷	ñ 	ó	 r"   r   N)Ú
__future__r   Útypingr   r   Útypesr   r   r	   r
   Úbaser   r)   r   r   r"   r!   ú<module>r2      s)   ðÝ "ç %ç OÓ OÝ  ô2�~ g°¡nÑ5õ 2r"   