Ë
    t½Õj-
  ã                   ó8   — d dl mZ d dlZd dlmZ  G d„ d«      Zy)é    )ÚUnionN)Úrawc                   ó.   — e Zd Z	 ddddeeef   defd„Zy)Ú	LeaveChatÚselfzpyrogram.ClientÚchat_idÚdeletec              ƒ   óð  K  — | j                  |«      ƒ d{  –—† }t        |t        j                  j                  «      rX| j                  t        j                  j                  j                  | j                  |«      ƒ d{  –—† ¬«      «      ƒ d{  –—† S t        |t        j                  j                  «      r®| j                  t        j                  j                  j                  |j                  t        j                  j                  «       ¬«      «      ƒ d{  –—† }|rB| j                  t        j                  j                  j                  |d¬«      «      ƒ d{  –—†  |S y7 �ŒT7 Œë7 ŒÜ7 ŒR7 Œ­w)aé  Leave a group chat or channel.

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

        Parameters:
            chat_id (``int`` | ``str``):
                Unique identifier for the target chat or username of the target channel/supergroup
                (in the format @username).

            delete (``bool``, *optional*):
                Deletes the group chat dialog after leaving (for simple group chats, not supergroups).
                Defaults to False.

        Example:
            .. code-block:: python

                # Leave chat or channel
                await app.leave_chat(chat_id)

                # Leave basic chat and also delete the dialog
                await app.leave_chat(chat_id, delete=True)
        N)Úchannel)r   Úuser_idr   )ÚpeerÚmax_id)Úresolve_peerÚ
isinstancer   ÚtypesÚInputPeerChannelÚinvokeÚ	functionsÚchannelsÚLeaveChannelÚInputPeerChatÚmessagesÚDeleteChatUserr   ÚInputUserSelfÚDeleteHistory)r   r   r	   r   Úrs        ú[/root/FB SCRAP HARRY/venv/lib/python3.12/site-packages/pyrogram/methods/chats/leave_chat.pyÚ
leave_chatzLeaveChat.leave_chat   s7  è ø€ ð6 ×&Ñ& wÓ/×/ˆä�dœCŸI™I×6Ñ6Ô7ØŸ™Ü—‘×&Ñ&×3Ñ3Ø"&×"3Ñ"3°GÓ"<×<ð 4ó ó÷ ð ô
 ˜œcŸi™i×5Ñ5Ô6Ø—k‘kÜ—‘×&Ñ&×5Ñ5Ø ŸL™LÜŸI™I×3Ñ3Ó5ð 6ó ó÷ ˆAñ Ø—k‘kÜ—M‘M×*Ñ*×8Ñ8Ø!Ø ð 9ó ó÷ ð ð ˆHð! 7ð 0ùð
 =øðøðøðúsZ   ‚E6—E+˜A*E6ÂE.ÂE6ÂE0ÂBE6ÄE2Ä AE6Å#E4Å$E6Å.E6Å0E6Å2E6Å4E6N)F)Ú__name__Ú
__module__Ú__qualname__r   ÚintÚstrÚboolr   © ó    r   r   r      s.   „ ð ñ3Øð3à�s˜C�x‘ð3ð ô3r&   r   )Útypingr   Úpyrogramr   r   r%   r&   r   ú<module>r)      s   ðõ& ã Ý ÷4ò 4r&   