
    i                     2    S SK Jr  SSKJr   " S S\5      rg)    )Callable   )Handlerc                   4   ^  \ rS rSrSrS\4U 4S jjrSrU =r$ )StopHandler   as  The Stop handler class. Used to handle client stop. It is intended to be used with
:meth:`~pyrogram.Client.add_handler`

For a nicer way to register this handler, have a look at the
:meth:`~pyrogram.Client.on_stop` decorator.

Parameters:
    callback (``Callable``):
        Pass a function that will be called when a client stops. It takes *(client)*
        as positional argument (look at the section below for a detailed description).

Other parameters:
    client (:obj:`~pyrogram.Client`):
        The Client itself. Useful, for example, when you want to change the proxy before a new connection
        is established.
callbackc                 $   > [         TU ]  U5        g )N)super__init__)selfr	   	__class__s     K/app/mltbenv/lib/python3.13/site-packages/pyrogram/handlers/stop_handler.pyr   StopHandler.__init__*   s    "     )	__name__
__module____qualname____firstlineno____doc__r   r   __static_attributes____classcell__)r   s   @r   r   r      s    "# # #r   r   N)typingr   handlerr   r   r   r   r   <module>r      s   &  #' #r   