We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4798c26 commit 97bca49Copy full SHA for 97bca49
telebot/asyncio_handler_backends.py
@@ -3,8 +3,6 @@
3
"""
4
5
6
-
7
8
class BaseMiddleware:
9
10
Base class for middleware.
@@ -96,6 +94,7 @@ class SkipHandler:
96
94
def __init__(self) -> None:
97
95
pass
98
+
99
class CancelUpdate:
100
101
Class for canceling updates.
@@ -106,4 +105,14 @@ class CancelUpdate:
106
105
107
108
109
- pass
+ pass
110
111
+class ContinueHandling:
112
+ """
113
+ Class for continue updates in handlers.
114
+ Just return instance of this class
115
+ in handlers to continue process.
116
117
+ def __init__(self) -> None:
118
telebot/handler_backends.py
@@ -273,4 +273,3 @@ class ContinueHandling:
273
274
275
276
0 commit comments