Ë
    žDj  ã                   ó<   — d dl mZ d dlZd dlmZmZ  G d„ d«      Zy)é    )ÚUnionN)ÚrawÚenumsc                   ó.   — e Zd Zdddeeef   dddefd„Zy)	ÚSendChatActionÚselfzpyrogram.ClientÚchat_idÚactionzenums.ChatActionÚreturnc              ƒ   óN  K  — |j                   j                  «       }d|v sd|v r|j                  d¬«      }n|j                  «       }| j                  t        j
                  j                  j                  | j                  |«      ƒ d{  –—† |¬«      «      ƒ d{  –—† S 7 Œ7 Œ­w)a>  Tell the other party that something is happening on your side.

        .. 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).

            action (:obj:`~pyrogram.enums.ChatAction`):
                Type of action to broadcast.

        Returns:
            ``bool``: On success, True is returned.

        Raises:
            ValueError: In case the provided string is not a valid chat action.

        Example:
            .. code-block:: python

                from pyrogram import enums

                # Send "typing" chat action
                await app.send_chat_action(chat_id, enums.ChatAction.TYPING)

                # Send "upload_video" chat action
                await app.send_chat_action(chat_id, enums.ChatAction.UPLOAD_VIDEO)

                # Send "playing" chat action
                await app.send_chat_action(chat_id, enums.ChatAction.PLAYING)

                # Cancel any current chat action
                await app.send_chat_action(chat_id, enums.ChatAction.CANCEL)
        ÚuploadÚhistoryr   )ÚprogressN)Úpeerr
   )	ÚnameÚlowerÚvalueÚinvoker   Ú	functionsÚmessagesÚ	SetTypingÚresolve_peer)r   r	   r
   Úaction_names       úZ/root/auto/venv/lib/python3.12/site-packages/pyrogram/methods/messages/send_chat_action.pyÚsend_chat_actionzSendChatAction.send_chat_action   s•   è ø€ ðT —k‘k×'Ñ'Ó)ˆà�{Ñ" i°;Ñ&>Ø—\‘\¨1�\Ó-‰Fà—\‘\“^ˆFà—[‘[Ü�M‰M×"Ñ"×,Ñ,Ø×,Ñ,¨WÓ5×5Øð -ó ó
÷ 
ð 	
à5øð
ús$   ‚BB%Â
B!ÂB%ÂB#ÂB%Â#B%N)Ú__name__Ú
__module__Ú__qualname__r   ÚintÚstrÚboolr   © ó    r   r   r      s3   „ ð6
Øð6
à�s˜C�x‘ð6
ð #ð6
ð 
ô	6
r#   r   )Útypingr   Úpyrogramr   r   r   r"   r#   r   ú<module>r&      s   ðõ& ã ß ÷7
ò 7
r#   