Skip to content

Commit 97bca49

Browse files
authored
ContinueHandling on asyncio_handler_backends
1 parent 4798c26 commit 97bca49

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

telebot/asyncio_handler_backends.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"""
44

55

6-
7-
86
class BaseMiddleware:
97
"""
108
Base class for middleware.
@@ -96,6 +94,7 @@ class SkipHandler:
9694
def __init__(self) -> None:
9795
pass
9896

97+
9998
class CancelUpdate:
10099
"""
101100
Class for canceling updates.
@@ -106,4 +105,14 @@ class CancelUpdate:
106105
"""
107106

108107
def __init__(self) -> None:
109-
pass
108+
pass
109+
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+
pass

telebot/handler_backends.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,4 +273,3 @@ class ContinueHandling:
273273
"""
274274
def __init__(self) -> None:
275275
pass
276-

0 commit comments

Comments
 (0)