Replies: 1 comment 2 replies
-
|
Hmm your setup should work generally, in that PTB already updates conversation's state when/if returned from a fallback, no need to force it :) However the issue seems that your |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a bot that collects some user input and save it to the database. Each state deals with non-edited messages only and perform user input validation. I want to allow the user to edit a previously sent information so she/he can make corrections to the input. To do that, I keep a map relating message_id to the state that handle it. The callback that deal with edited messages, located in the fallbacks sections, retrieves this mapping, put the update back in the queue and set the appropriate conversation state but I don't know how to force the conversation handler to be executed again and to process the edited message in its appropriate state.
Any guidance on this?
Thanks all.
Beta Was this translation helpful? Give feedback.
All reactions