U
    ç;ãgZ  ã                   @   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d„ZdS )ÚLogOutzpyrogram.Client©Úselfc                 Ã   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)Zinvoker   Z	functionsÚauthr   ÚstopZstorageÚdeleter   © r	   ú]/opt/bot/vods_filmes/script/venv/lib/python3.8/site-packages/pyrogram/methods/auth/log_out.pyÚlog_out   s    zLogOut.log_outN)Ú__name__Ú
__module__Ú__qualname__r   r	   r	   r	   r
   r      s   ÿr   )ÚloggingZpyrogramr   Ú	getLoggerr   Úlogr   r	   r	   r	   r
   Ú<module>   s   
