o
    -˜Žjœ  ã                   @   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                   @   s`   e Zd ZU dZg d¢Zee ed< dZdZ	ddd„Z
edededd fdd„ƒZdefdd„ZdS )Ú
EditBannedaÅ  Telegram API function.

    Details:
        - Layer: ``220``
        - ID: ``96E6CD81``

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

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

        banned_rights (:obj:`ChatBannedRights <pyrogram.raw.base.ChatBannedRights>`):
            N/A

    Returns:
        :obj:`Updates <pyrogram.raw.base.Updates>`
    ©ÚchannelÚparticipantÚbanned_rightsÚ	__slots__l   �MÍ- zfunctions.channels.EditBannedr   úraw.base.InputChannelr   úraw.base.InputPeerr   úraw.base.ChatBannedRightsÚreturnNc                C   s   || _ || _|| _d S )Nr   )Úselfr   r   r   © r   úh/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/pyrogram/raw/functions/channels/edit_banned.pyÚ__init__<   s   
zEditBanned.__init__ÚbÚargsc                 G   s,   t  | ¡}t  | ¡}t  | ¡}t|||d�S )Nr   )r   Úreadr   )r   r    r   r   r   r   r   r   r!   A   s   


zEditBanned.readc                 G   sP   t ƒ }| t| jdƒ¡ | | j ¡ ¡ | | j ¡ ¡ | | j ¡ ¡ | ¡ S )NF)r   Úwriter   ÚIDr   r   r   Úgetvalue)r   r    r   r   r   r   r"   M   s   zEditBanned.write)r   r   r   r   r   r   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   ÚstrÚ__annotations__r#   ÚQUALNAMEr   Ústaticmethodr   r   r!   Úbytesr"   r   r   r   r   r   "   s   
 
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   r   Ú<module>   s   ,	