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
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
Hello,
I'm developing a bot based on python-telegram-bot which leverages topics (threads) in group chats. In particular I would like to use ConversationHandler to interact with a bot independently per message thread. But it looks that ConversationHandler supports per_user and per_chat modes.
Currently it's possible to start conversation in one topic and continue in another.
Describe the solution you'd like
Additional property for ConversationHandler to support chat topics
Describe alternatives you've considered
There is also per_message mode available for ConversationHandler, but using it with the following code:
makes ConversationHandler not working and cresults in a warning:
PTBUserWarning: If 'per_message=True', all entry points, state handlers, and fallbacks must be 'CallbackQueryHandler', since no other handlers have a message context. Read this FAQ entry to learn more about the per_* settings: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Frequently-Asked-Questions#what-do-the-per_-settings-in-conversationhandler-do.
app.add_handler(ConversationHandler(
Additional context
No response
The text was updated successfully, but these errors were encountered:
Hi. That's a valid request, but I'll have to merge it into the long-standing list in #2770 ... I'll close this ticket here for easy of tracking, but that doesn't mean that I'm rejecting it :)
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
Hello,
I'm developing a bot based on python-telegram-bot which leverages topics (threads) in group chats. In particular I would like to use ConversationHandler to interact with a bot independently per message thread. But it looks that ConversationHandler supports
per_user
andper_chat
modes.Currently it's possible to start conversation in one topic and continue in another.
Describe the solution you'd like
Additional property for ConversationHandler to support chat topics
Describe alternatives you've considered
There is also
per_message
mode available for ConversationHandler, but using it with the following code:makes ConversationHandler not working and cresults in a warning:
Additional context
No response
The text was updated successfully, but these errors were encountered: