mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 11:25:54 +00:00
Deprecate NextStepHandler
This commit is contained in:
parent
0005618463
commit
13665f7703
1 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
from asyncio import Event
|
||||
|
||||
from aiogram.utils.deprecated import deprecated
|
||||
from .filters import check_filters, CancelFilter
|
||||
from .. import types
|
||||
|
||||
|
|
@ -49,6 +50,7 @@ class Handler:
|
|||
break
|
||||
|
||||
|
||||
@deprecated('This handler will be removed soon.')
|
||||
class NextStepHandler:
|
||||
def __init__(self, dispatcher):
|
||||
self.dispatcher = dispatcher
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue