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
[Nest] 13954 - 03/10/2023, 9:01:01 PM ERROR [TelegrafExceptionFilter] Handler is undefined
Error: Handler is undefined
at Function.unwrap (/home/ubuntu/repos/telegram/node_modules/telegraf/lib/composer.js:445:19)
at execute (/home/ubuntu/repos/telegram/node_modules/telegraf/lib/composer.js:473:42)
at /home/ubuntu/repos/telegram/node_modules/telegraf/lib/composer.js:475:27
at /home/ubuntu/repos/telegram/node_modules/telegraf/lib/composer.js:341:20
at /home/ubuntu/repos/telegram/node_modules/telegraf/lib/composer.js:167:111
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async execute (/home/ubuntu/repos/telegram/node_modules/telegraf/lib/composer.js:474:17)
at async /home/ubuntu/repos/telegram/node_modules/telegraf/lib/composer.js:475:21
at async execute (/home/ubuntu/repos/telegram/node_modules/telegraf/lib/composer.js:474:17)
This hack ctx.wizard.steps[ctx.wizard.cursor](ctx) is used in order to previous step to execute and show reply and buttons, as ctx.wizard.back() is not enough.
This discussion was converted from issue #1078 on July 23, 2024 06:52.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Code sample:
Error: following part
gives error:
This hack
ctx.wizard.steps[ctx.wizard.cursor](ctx)
is used in order to previous step to execute and show reply and buttons, as ctx.wizard.back() is not enough.Versions:
Beta Was this translation helpful? Give feedback.
All reactions