
    N[i"
                     ~    d dl mZ d dlmZmZmZmZmZmZm	Z	m
Z
mZ d dlmZ d dlmZ d dlmZmZmZ  G d de      Zy)	    )BytesIO)	IntLongInt128Int256BoolBytesStringDoubleVector)TLObject)raw)ListOptionalAnyc                   d    e Zd ZU dZddgZee   ed<   dZdZ	dd	Z
ed
ededd fd       ZdefdZy)GetParticipanta  Telegram API function.

    Details:
        - Layer: ``158``
        - ID: ``A0AB6CC6``

    Parameters:
        channel (:obj:`InputChannel <pyrogram.raw.base.InputChannel>`):
            N/A

        participant (:obj:`InputPeer <pyrogram.raw.base.InputPeer>`):
            N/A

    Returns:
        :obj:`channels.ChannelParticipant <pyrogram.raw.base.channels.ChannelParticipant>`
    channelparticipant	__slots__l   lVA z!functions.channels.GetParticipantreturnNc                     || _         || _        y )Nr   r   )selfr   r   s      b/var/www/files/kim/lib/python3.12/site-packages/pyrogram/raw/functions/channels/get_participant.py__init__zGetParticipant.__init__8   s    &    bargsc                 p    t        j                  |       }t        j                  |       }t        ||      S )Nr   )r   readr   )r   r   r   r   s       r   r!   zGetParticipant.read<   s-     --"mmA&g;GGr   c                 $   t               }|j                  t        | j                  d             |j                  | j                  j                                |j                  | j
                  j                                |j                         S )NF)r   writer   IDr   r   getvalue)r   r   r   s      r   r#   zGetParticipant.writeF   sb    I	DGGU#$ 	
""$%	  &&()zz|r   )r   zraw.base.InputChannelr   zraw.base.InputPeerr   N)__name__
__module____qualname____doc__r   r   str__annotations__r$   QUALNAMEr   staticmethodr   r   r!   bytesr#    r   r   r   r   !   sf    " &}5ItCy5	B2H' H H H(8 H H
e 
r   r   N)ior   pyrogram.raw.core.primitivesr   r   r   r   r   r	   r
   r   r   pyrogram.raw.corer   pyrogramr   typingr   r   r   r   r/   r   r   <module>r5      s+   &  g g g &  & &/X /r   