
    N[i                     2    d dl mZ ddlmZ  G d de      Zy)    )Callable   )Handlerc                   (     e Zd ZdZdef fdZ xZS )DisconnectHandlera  The Disconnect handler class. Used to handle disconnections. 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_disconnect` decorator.

    Parameters:
        callback (``Callable``):
            Pass a function that will be called when a disconnection occurs. 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         |   |       y )N)super__init__)selfr   	__class__s     W/var/www/files/kim/lib/python3.12/site-packages/pyrogram/handlers/disconnect_handler.pyr   zDisconnectHandler.__init__*   s    "    )__name__
__module____qualname____doc__r   r   __classcell__)r   s   @r   r   r      s    "# # #r   r   N)typingr   handlerr   r    r   r   <module>r      s   &  # #r   