U
    ;g                     @   sx   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 deZdS )	    )BytesIO)	IntLongInt128Int256BoolBytesStringDoubleVector)TLObject)raw)ListOptionalAnyc                   @   sp   e Zd ZU dZdddddgZee ed< dZd	Z	d
de
e
e
ddddZeeed dddZedddZdS )GetParticipantsaB  Telegram API function.

    Details:
        - Layer: ``158``
        - ID: ``77CED9D0``

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

        filter (:obj:`ChannelParticipantsFilter <pyrogram.raw.base.ChannelParticipantsFilter>`):
            N/A

        offset (``int`` ``32-bit``):
            N/A

        limit (``int`` ``32-bit``):
            N/A

        hash (``int`` ``64-bit``):
            N/A

    Returns:
        :obj:`channels.ChannelParticipants <pyrogram.raw.base.channels.ChannelParticipants>`
    channelfilteroffsetlimithash	__slots__iwz"functions.channels.GetParticipantszraw.base.InputChannelz"raw.base.ChannelParticipantsFilterN)r   r   r   r   r   returnc                C   s"   || _ || _|| _|| _|| _d S )Nr   r   r   r   r   )selfr   r   r   r   r    r   p/opt/bot/vods_filmes/script/venv/lib/python3.8/site-packages/pyrogram/raw/functions/channels/get_participants.py__init__A   s
    zGetParticipants.__init__)bargsr   c                 G   sD   t | }t | }t| }t| }t| }t|||||dS )Nr   )r   readr   r   r   )r   r   r   r   r   r   r   r   r   r   r    H   s    




zGetParticipants.read)r   c                 G   sp   t  }|t| jd || j  || j  |t| j |t| j |t| j	 |
 S )NF)r   writer   IDr   r   r   r   r   r   getvalue)r   r   r   r   r   r   r!   X   s    zGetParticipants.write)__name__
__module____qualname____doc__r   r   str__annotations__r"   ZQUALNAMEintr   staticmethodr   r   r    bytesr!   r   r   r   r   r   !   s   
r   N)ior   Zpyrogram.raw.core.primitivesr   r   r   r   r   r   r	   r
   r   Zpyrogram.raw.corer   Zpyrogramr   typingr   r   r   r   r   r   r   r   <module>   s
   ,	