
    $Sh<	                     \    d dl Z d dlZd dlmZ  e j        e          Z G d d          ZdS )    N)rawc                       e Zd Z	 	 ddZdS )Startselfpyrogram.Clientc                   K   |                                   d{V }	 |s|                                  d{V  | j                                         d{V sm| j        rf|                     t          j        j        	                                           d{V j
        | _        t                              d| j                   |                     t          j        j                                                   d{V  |                                  d{V | _        |                                  d{V  | S # t&          t(          f$ r |                                  d{V   w xY w)a  Start the client.

        This method connects the client to Telegram and, in case of new sessions, automatically manages the
        authorization process using an interactive prompt.

        Returns:
            :obj:`~pyrogram.Client`: The started client itself.

        Raises:
            ConnectionError: In case you try to start an already started client.

        Example:
            .. code-block:: python

                from pyrogram import Client

                app = Client("my_account")


                async def main():
                    await app.start()
                    ...  # Invoke API methods
                    await app.stop()


                app.run(main())
        NzTakeout session %s initiated)connect	authorizestorageis_bottakeoutinvoker   	functionsaccountInitTakeoutSessionid
takeout_idloginfoupdatesGetStateget_meme
initialize	ExceptionKeyboardInterrupt
disconnect)r   is_authorizeds     f/var/www/html/movieo_spanner_bot/venv/lib/python3.11/site-packages/pyrogram/methods/utilities/start.pystartzStart.start   s     < #llnn,,,,,,	  'nn&&&&&&&&&,,........ J4< J)-S]5J5]5]5_5_)`)`#`#`#`#`#`#`"d7III++cm3<<>>?????????
 !KKMM))))))DG//#########K ,- 	 	 	//#########	s   C$D= =-E*N)r   r   )__name__
__module____qualname__r         r   r   r      s0        00 0 0 0 0 0r%   r   )loggingpyrogramr   	getLoggerr!   r   r   r$   r%   r   <module>r)      so   &        g!!1 1 1 1 1 1 1 1 1 1r%   