o
    -˜Žje  ã                   @   s   d dl Z G dd„ dƒZdS )é    Nc                   @   s   e Zd Z		ddd„ZdS )Ú
DisconnectÚselfúpyrogram.Clientc                 Ã   sH   �| j stdƒ‚| jrtdƒ‚| j ¡ I dH  | j ¡ I dH  d| _ dS )zýDisconnect the client from Telegram servers.

        Raises:
            ConnectionError: In case you try to disconnect an already disconnected client or in case you try to
                disconnect a client that needs to be terminated first.
        zClient is already disconnectedz&Can't disconnect an initialized clientNF)Úis_connectedÚConnectionErrorÚis_initializedÚsessionÚstopÚstorageÚclose)r   © r   ú]/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/pyrogram/methods/auth/disconnect.pyÚ
disconnect   s   €

zDisconnect.disconnectN)r   r   )Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s    ÿr   )Úpyrogramr   r   r   r   r   Ú<module>   s   