raito.plugins.scenes.middleware module

class raito.plugins.scenes.middleware.SceneMiddleware(manager)[исходный код]

Базовые классы: BaseMiddleware

Middleware that drops a stale scene before its step runs.

Installed on both the message and callback query observers, so a stale scene is dropped whether the next step expects text or an inline button.

Параметры:

manager (SceneManager[Any])