Ë
    S"“jQ  ã                   óP   — d dl mZ d dlmZ ddlmZmZ ddlmZ  G d„ dee«      Z	y)	é   )Ú
ChatGetter)ÚSenderGetteré   )ÚutilsÚhelpers)Útypesc                   ó   — e Zd ZdZd„ Zy)ÚForwarda¬  
    Custom class that encapsulates a :tl:`MessageFwdHeader` providing an
    abstraction to easily access information like the original sender.

    Remember that this class implements `ChatGetter
    <telethon.tl.custom.chatgetter.ChatGetter>` and `SenderGetter
    <telethon.tl.custom.sendergetter.SenderGetter>` which means you
    have access to all their sender and chat properties and methods.

    Attributes:

        original_fwd (:tl:`MessageFwdHeader`):
            The original :tl:`MessageFwdHeader` instance.

        Any other attribute:
            Attributes not described here are the same as those available
            in the original :tl:`MessageFwdHeader`.
    c                 óð  — | j                   j                  |j                   «       || _        d x}x}x}x}x}}	|j                  rùt	        j
                  |j                  «      }
|
t        j                  j                  k(  rDt        j                  |j                  «      }t        j                  |||j                  «      \  }}ny|
t        j                  j                  t        j                  j                  fv rC|j                  }t        j                  t        j                  |«      ||j                  «      \  }}	t        j                  | |||	¬«       t!        j                  | |||¬«       || _        y )N)ÚchatÚ
input_chat)ÚsenderÚinput_sender)Ú__dict__ÚupdateÚoriginal_fwdÚfrom_idr   Ú_entity_typeÚ_EntityTypeÚUSERr   Úget_peer_idÚ_get_entity_pairÚ_mb_entity_cacheÚCHATÚCHANNELr   Ú__init__r   Ú_client)ÚselfÚclientÚoriginalÚentitiesÚ	sender_idr   r   Úpeerr   r   Útys              ú[/var/www/api.ozpay.ru/ozpay/venv/lib/python3.12/site-packages/telethon/tl/custom/forward.pyr   zForward.__init__   s?  € ð 	�‰×Ñ˜X×.Ñ.Ô/Ø$ˆÔàGKÐKˆ	ÐK�FÐK˜\ÐK¨DÐK°4¸*Ø×ÒÜ×%Ñ% h×&6Ñ&6Ó7ˆBØ”W×(Ñ(×-Ñ-Ò-Ü!×-Ñ-¨h×.>Ñ.>Ó?�	Ü',×'=Ñ'=Ø˜x¨×)@Ñ)@ó(BÑ$�™ð œ×+Ñ+×0Ñ0´'×2EÑ2E×2MÑ2MÐNÑNØ×'Ñ'�Ü#(×#9Ñ#9Ü×%Ñ% dÓ+¨X°v×7NÑ7Nó$PÑ ��jô 	×Ñ˜D $¨T¸jÕIÜ×Ñ˜d I°fÈ<ÕXØˆ�ó    N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   © r&   r%   r
   r
      s   „ ñó$r&   r
   N)
Ú
chatgetterr   Úsendergetterr   Ú r   r   Útlr   r
   r+   r&   r%   ú<module>r0      s   ðÝ "Ý &ß Ý ô*ˆj˜,õ *r&   