mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
ContinueHandling on asyncio_handler_backends
This commit is contained in:
parent
4798c26188
commit
97bca49c00
@ -3,8 +3,6 @@ File with all middleware classes, states.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class BaseMiddleware:
|
class BaseMiddleware:
|
||||||
"""
|
"""
|
||||||
Base class for middleware.
|
Base class for middleware.
|
||||||
@ -96,6 +94,7 @@ class SkipHandler:
|
|||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class CancelUpdate:
|
class CancelUpdate:
|
||||||
"""
|
"""
|
||||||
Class for canceling updates.
|
Class for canceling updates.
|
||||||
@ -106,4 +105,14 @@ class CancelUpdate:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class ContinueHandling:
|
||||||
|
"""
|
||||||
|
Class for continue updates in handlers.
|
||||||
|
Just return instance of this class
|
||||||
|
in handlers to continue process.
|
||||||
|
"""
|
||||||
|
def __init__(self) -> None:
|
||||||
|
pass
|
||||||
|
@ -273,4 +273,3 @@ class ContinueHandling:
|
|||||||
"""
|
"""
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user