-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
В документации содержится этот фрагмент
const testScene = new Scene("test").step("message", async (context) => {
if (context.scene.step.firstTime) return context.send("First message");
return context.scene.next();
});Исправленная версия:
const testScene = new Scene("test").step("message", async (context) => {
if (context.scene.step.firstTime) return context.send("First message");
return context.scene.step.next();
});context.scene владеет функциями: enter, exit, params, reenter, state, step, update, но next находится внутри step
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels