o
    -˜Žj¥  ã                   @   s8   d dl Z d dlZd dlmZ e  e¡ZG dd„ dƒZdS )é    N)Úrawc                   @   s   e Zd Z		ddd„ZdS )ÚLogOutÚselfúpyrogram.Clientc                 Ã   s<   �|   tjj ¡ ¡I dH  |  ¡ I dH  | j ¡ I dH  dS )aâ  Log out from Telegram and delete the *\*.session* file.

        When you log out, the current client is stopped and the storage session deleted.
        No more API calls can be made until you start the client and re-authorize again.

        .. include:: /_includes/usable-by/users-bots.rst

        Returns:
            ``bool``: On success, True is returned.

        Example:
            .. code-block:: python

                # Log out.
                app.log_out()
        NT)Úinvoker   Ú	functionsÚauthr   ÚstopÚstorageÚdelete)r   © r   úZ/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/pyrogram/methods/auth/log_out.pyÚlog_out   s
   €zLogOut.log_outN)r   r   )Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s    ÿr   )ÚloggingÚpyrogramr   Ú	getLoggerr   Úlogr   r   r   r   r   Ú<module>   s
   
