mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-29 03:32:49 +01:00
Updated Frequently Asked Questions (markdown)
parent
6609f79d14
commit
3db80dbdfa
1 changed files with 1 additions and 1 deletions
|
@ -92,4 +92,4 @@ Note that this approach can only work, if all the handlers in the conversation a
|
||||||
|
|
||||||
### Can I check, if a `ConversationHandler` is currently active for a user?
|
### Can I check, if a `ConversationHandler` is currently active for a user?
|
||||||
|
|
||||||
There is no built-in way to do that. You can however easily set a flag as e.g. `context.user_data['in_conversation'] = True` in `enrty_points`s and set it to `False` before returning `ConversationHandler.END`.
|
There is no built-in way to do that. You can however easily set a flag as e.g. `context.user_data['in_conversation'] = True` in your `entry_points`s and set it to `False` before returning `ConversationHandler.END`.
|
||||||
|
|
Loading…
Reference in a new issue