Title: Option to implicitly end ConversationHandler · Issue #1365 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: Option to implicitly end ConversationHandler · Issue #1365 · python-telegram-bot/python-telegram-bot
X Title: Option to implicitly end ConversationHandler · Issue #1365 · python-telegram-bot/python-telegram-bot
Description: Perhaps I should start off by sharing the problem I am facing. As of now, in any conversation, I am able to call other slash commands (depending on whether the ConversationHandler comes before or after that other command). With this, I w...
Open Graph Description: Perhaps I should start off by sharing the problem I am facing. As of now, in any conversation, I am able to call other slash commands (depending on whether the ConversationHandler comes before or a...
X Description: Perhaps I should start off by sharing the problem I am facing. As of now, in any conversation, I am able to call other slash commands (depending on whether the ConversationHandler comes before or a...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/1365
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Option to implicitly end ConversationHandler","articleBody":"Perhaps I should start off by sharing the problem I am facing. As of now, in any conversation, I am able to call other slash commands (depending on whether the ConversationHandler comes before or after that other command). With this, I was able to create sort of like a \"nested conversations\" scenario. \r\n\r\nTo circumvent the above phenomenon, there are currently fallbacks which I can use, but requires the user to **explicitly** trigger (e.g. /done) to return ConversationHandler.END. However, just like in natural conversation, I envision users to be able to trigger new conversations automatically without having to explicitly end the current. \r\n\r\nPossible ways this can be done:\r\n1. Option in all handlers (or maybe just ConversationHandler) to check if a conversation already exists, if so then return ConversationHandler.END before proceeding.\r\n2. Option in ConversationHandler to end conversation if other commands are called. (Not sure how this is going to work in terms of the logic)\r\n\r\nThat said, I am not aware if there's anyone that designs their bot in such a way that nests conversations, so i guess have an option flag may be good?\r\n\r\nAny comments/feedback are welcome. Or if there's a way I can circumvent my problem that I overlooked, please do let me know too. Thank you!","author":{"url":"https://github.com/loozhengyuan","@type":"Person","name":"loozhengyuan"},"datePublished":"2019-03-17T13:59:47Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/1365"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:858c57ce-d86d-ba80-24a6-c316e9201e85 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCAA:1728CB:15F8E0F:1CEB124:6B02D06E |
| html-safe-nonce | 6b5c7338c943cc94db0542887346f89288462a5a73f41207230fd70937348258 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0FBOjE3MjhDQjoxNUY4RTBGOjFDRUIxMjQ6NkIwMkQwNkUiLCJ2aXNpdG9yX2lkIjoiMjY5MjU2NTY1NDUwMjAzNTU2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5d329a9207f7c8c6412f18a3314e7fbe83bc4be0da2bf3149c6ee18844b8c349 |
| hovercard-subject-tag | issue:421925557 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-telegram-bot/python-telegram-bot/1365/issue_layout |
| twitter:image | https://opengraph.githubassets.com/64795d48934d7a2e0bf8f1d97ec20f1e06c0a21801b42296621751d6263c5e4b/python-telegram-bot/python-telegram-bot/issues/1365 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/64795d48934d7a2e0bf8f1d97ec20f1e06c0a21801b42296621751d6263c5e4b/python-telegram-bot/python-telegram-bot/issues/1365 |
| og:image:alt | Perhaps I should start off by sharing the problem I am facing. As of now, in any conversation, I am able to call other slash commands (depending on whether the ConversationHandler comes before or a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | loozhengyuan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git |
| octolytics-dimension-user_id | 16178365 |
| octolytics-dimension-user_login | python-telegram-bot |
| octolytics-dimension-repository_id | 38696925 |
| octolytics-dimension-repository_nwo | python-telegram-bot/python-telegram-bot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38696925 |
| octolytics-dimension-repository_network_root_nwo | python-telegram-bot/python-telegram-bot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width