Ë
    žDj¢  ã                   óD   — d dl mZmZmZ d dlZd dlmZmZ  G d„ d«      Zy)é    )ÚUnionÚListÚOptionalN)ÚtypesÚenumsc                   óR   — e Zd Z	 	 	 ddddeeef   dededed   d	ed
   ddddfd„Zy)ÚEditMessageCaptionNÚselfzpyrogram.ClientÚchat_idÚ
message_idÚcaptionÚ
parse_modezenums.ParseModeÚcaption_entitiesztypes.MessageEntityÚreply_markupztypes.InlineKeyboardMarkupÚreturnztypes.Messagec              ƒ   óL   K  — | j                  ||||||¬«      ƒ d{  –—† S 7 Œ­w)a‡  Edit the caption of media messages.

        .. include:: /_includes/usable-by/users-bots.rst

        Parameters:
            chat_id (``int`` | ``str``):
                Unique identifier (int) or username (str) of the target chat.
                For your personal cloud (Saved Messages) you can simply use "me" or "self".
                For a contact that exists in your Telegram address book you can use his phone number (str).

            message_id (``int``):
                Message identifier in the chat specified in chat_id.

            caption (``str``):
                New caption of the media message.

            parse_mode (:obj:`~pyrogram.enums.ParseMode`, *optional*):
                By default, texts are parsed using both Markdown and HTML styles.
                You can combine both syntaxes together.

            caption_entities (List of :obj:`~pyrogram.types.MessageEntity`):
                List of special entities that appear in the caption, which can be specified instead of *parse_mode*.

            reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup`, *optional*):
                An InlineKeyboardMarkup object.

        Returns:
            :obj:`~pyrogram.types.Message`: On success, the edited message is returned.

        Example:
            .. code-block:: python

                await app.edit_message_caption(chat_id, message_id, "new media caption")
        )r   r   Útextr   Úentitiesr   N)Úedit_message_text)r
   r   r   r   r   r   r   s          ú^/root/auto/venv/lib/python3.12/site-packages/pyrogram/methods/messages/edit_message_caption.pyÚedit_message_captionz'EditMessageCaption.edit_message_caption   s=   è ø€ ðV ×+Ñ+ØØ!ØØ!Ø%Ø%ð ,ó 
÷ 
ð 	
ð 
ús   ‚$�"ž$)NNN)	Ú__name__Ú
__module__Ú__qualname__r   ÚintÚstrr   r   r   © ó    r   r	   r	      sr   „ ð 37Ø8<Ø59ñ2
Øð2
à�s˜C�x‘ð2
ð ð2
ð ð	2
ð
 Ð.Ñ/ð2
ð Ð4Ñ5ð2
ð 3ð2
ð 
ô2
r   r	   )Útypingr   r   r   Úpyrogramr   r   r	   r   r   r   ú<module>r!      s   ð÷& )Ñ (ã ß !÷3
ò 3
r   