1
0
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:
byehack 2022-10-09 02:28:05 +03:30 committed by GitHub
parent 4798c26188
commit 97bca49c00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View File

@ -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

View File

@ -273,4 +273,3 @@ class ContinueHandling:
""" """
def __init__(self) -> None: def __init__(self) -> None:
pass pass