telegraf / telegraf-flow

[Deprecated] Control flow middleware for Telegraf
MIT License
38 stars 8 forks source link

Back to previous step #5

Closed SajjadSahebi closed 7 years ago

SajjadSahebi commented 7 years ago

Hi,

How can I get back to the previous step in wizard mode? Is there any method like previous() that working with context? Something like ctx.flow.wizard.previous().

Thanks.

dotcypress commented 7 years ago

Hey.

Use following: ctx.flow.wizard.back()