Ë
    :É„j  ã                   ó    — d dl Z  G d„ d«      Zy)é    Nc                   ó   — e Zd Zed„ «       Zy)ÚStopTransmissionc                  ó"   — t         j                  ‚)aù  Stop downloading or uploading a file.

        This method must be called inside a progress callback function in order to stop the transmission at the
        desired time. The progress callback is called every time a file chunk is uploaded/downloaded.

        Example:
            .. code-block:: python

                # Stop transmission once the upload progress reaches 50%
                async def progress(current, total, client):
                    if (current * 100 / total) > 50:
                        client.stop_transmission()

                async with app:
                    await app.send_document(
                        "me", "file.zip",
                        progress=progress,
                        progress_args=(app,))
        ©Úpyrogramr   © ó    úc/var/www/html/GAP/venv/lib/python3.12/site-packages/pyrogram/methods/utilities/stop_transmission.pyÚstop_transmissionz"StopTransmission.stop_transmission   s   € ô* ×'Ñ'Ð'r	   N)Ú__name__Ú
__module__Ú__qualname__Ústaticmethodr   r   r	   r
   r   r      s   „ Øñ(ó ñ(r	   r   r   r   r	   r
   ú<module>r      s   ðó( ÷(ò (r	   