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
I have pretty stupid issue: I can't find proper way how to return to previous step. For instance user entered incorrect value then bot should relply smth like "Your input is not correct, blah, blah etc.". And then return to previous step waiting for new input. I found pretty simple way but it seems not really right for me
So I declare variables with null value put them into .next() method and then initialize. But that's kinda ugly way for me. Is there some other way I can achieve flow cycle?
Thanks in advance
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
-
I have pretty stupid issue: I can't find proper way how to return to previous step. For instance user entered incorrect value then bot should relply smth like "Your input is not correct, blah, blah etc.". And then return to previous step waiting for new input. I found pretty simple way but it seems not really right for me
`
`
So I declare variables with null value put them into
.next()
method and then initialize. But that's kinda ugly way for me. Is there some other way I can achieve flow cycle?Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions