2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 13:27:47 +00:00

Add StopTransmission custom exception

Useful for stopping up/downloads after they started
This commit is contained in:
Dan 2019-01-11 14:00:03 +01:00
parent d5ed47f4e9
commit c28b9f9a2c

View File

@ -27,6 +27,9 @@ from ...session.internals import MsgId
class BaseClient:
class StopTransmission(StopIteration):
pass
APP_VERSION = "Pyrogram \U0001f525 {}".format(__version__)
DEVICE_MODEL = "{} {}".format(