Ë
    žDj[  ã                   ó8   — d dl mZ d dlZd dlmZ  G d„ d«      Zy)é    )ÚUnionN)Úrawc            	       ó2   — e Zd Z	 ddddeeef   dedefd„Zy)	ÚUnpinChatMessageÚselfzpyrogram.ClientÚchat_idÚ
message_idÚreturnc              ƒ   óÈ   K  — | j                  t        j                  j                  j	                  | j                  |«      ƒ d{  –—† |d¬«      «      ƒ d{  –—†  y7 Œ7 Œ­w)a;  Unpin a message in a group, channel or your own chat.
        You must be an administrator in the chat for this to work and must have the "can_pin_messages" admin
        right in the supergroup or "can_edit_messages" admin right in the channel.

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

        Parameters:
            chat_id (``int`` | ``str``):
                Unique identifier (int) or username (str) of the target chat.

            message_id (``int``, *optional*):
                Identifier of a message to unpin.
                If not specified, the most recent pinned message (by sending date) will be unpinned.

        Returns:
            ``bool``: True on success.

        Example:
            .. code-block:: python

                await app.unpin_chat_message(chat_id, message_id)
        NT)ÚpeerÚidÚunpin)Úinvoker   Ú	functionsÚmessagesÚUpdatePinnedMessageÚresolve_peer)r   r   r	   s      úY/root/auto/venv/lib/python3.12/site-packages/pyrogram/methods/chats/unpin_chat_message.pyÚunpin_chat_messagez#UnpinChatMessage.unpin_chat_message   sb   è ø€ ð6 �k‰kÜ�M‰M×"Ñ"×6Ñ6Ø×,Ñ,¨WÓ5×5ØØð 7ó ó
÷ 	
ð 	
ð ð 6øð	
ús$   ‚AA"ÁAÁA"ÁA ÁA"Á A"N)r   )Ú__name__Ú
__module__Ú__qualname__r   ÚintÚstrÚboolr   © ó    r   r   r      s8   „ ð ñ#Øð#à�s˜C�x‘ð#ð ð#ð 
ô	#r   r   )Útypingr   Úpyrogramr   r   r   r   r   ú<module>r       s   ðõ& ã Ý ÷$ò $r   