You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/plugins/official/scenes.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -403,3 +403,6 @@ const bot = new Bot(process.env.TOKEN as string)
403
403
// ...
404
404
.extend(scenesDerives([testScene], { storage }));
405
405
```
406
+
407
+
> [!IMPORTANT]
408
+
> Be careful. The first step of the scene should also include the event from which you entered the scene. (For example, if you enter via InlineButton click — `callback_query`)
Copy file name to clipboardExpand all lines: docs/ru/plugins/official/scenes.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,9 @@ const bot = new Bot(process.env.TOKEN as string)
77
77
});
78
78
```
79
79
80
+
> [!WARNING]
81
+
> Будьте внимательны. Первый шаг сцены должен так же включать в себя событие из которого вы вошли в сцену. (например если по нажатию InlineButton - `callback_query`)
0 commit comments