René's URL Explorer Experiment


Title: Arbitrary callback data by Bibo-Joshi · Pull Request #1844 · python-telegram-bot/python-telegram-bot · GitHub

Open Graph Title: Arbitrary callback data by Bibo-Joshi · Pull Request #1844 · python-telegram-bot/python-telegram-bot

X Title: Arbitrary callback data by Bibo-Joshi · Pull Request #1844 · python-telegram-bot/python-telegram-bot

Description: This description is quite outdated, please see the discussion below ToDo When merged, whe should create a wiki page Open an issue for the v14 milestone as reminder to make Persistence.store_callback_data default to True and make BP.get/update_callback_data abstract methods. Currently they're not b/c backwards compatibility … Add/Update .. versionadded:: directives Add a note to #2347 to remove Defaults from tg.Bot completey and move them to tg.ext.Bot. We may have to think about how to handle signatures with DefaultVaule, then, i.e. if _insert_defaults should stay in tg.Bot or should be moved to tg.ext.Bot. should probably be merged after #2262, so that we can update the added persistence logic according to #2262 (comment), see also 39a9f83 check that the "edit on GH" thingies redirect to the correct file This PR adds the functionality to pass arbitrary objects as callback_data to InlineKeyboardButtons in accordance to that, the pattern argument for CallbackQueryHandler may now be a callable accepting the callback_data as argument. validate that the callback_data received in an update is the same as the sent one This is opt-in, so we're not forcing anyone to use it. Closes #709 How does it work Passing arbitrary objects as callback_data This is achieved by replacing them by their id() and keeping a dictionary that maps the ids to the objects. I decided to use id() over uuid or similar because Python guarantees that the id() is unique, so that's covered already and immutables won't be stored multiple times. Since most callback data will probably still consist of strings, this seemed clever to me. Of course, this ties in with persistence. As for the roles PR #1789: Adding stuff to persistence should be reserverd for major features. IMHO, this is one of them. Signing the data The callback data sent by the bot will read signature data. signature is generated using hmac from the standard library, where the key consists of the bots token and username and the message consits of the data and the chat_id, the message was sent to. Upon receiving an update, CallbackQuery.de_json will check, that the data is valid by checking the signature. Malicious updates will be discarded and logged. Generating the signature and validation done by methods added to the helpers module. Users can decide, not to validate the data. This can be useful, when the token has been revoked and they want the old buttons to still work. Wiki Page: Callback Data Arbitrary objects as callback_data Telegrams Bot API only accepts strings with length up to 64 bytes as callback_data for InlineKeyboardButtons, which sometimes is quite a limitation. With PTB you are able, to pass any object as callback_data. This is achieved by storing the object and passing a unique id to Telegram. When a CallbackQuery is recieved, the id in the callback_data is replaced with the stored object. To use this feature, set the parameter arbitrary_callback_data for your Updater or Bot instance to True. This means two thigs for you: If you don't use persistence, buttons won't work after restarting your bot, as the stored updates are lost. More precicely, the callback_data you will recieve is None. If you don't need persistence otherwise, you can set store_callback_data to True and all the others to False. When using the CallbackQueryHandler, the pattern argument can now be either a regex expression, which will be used, if the callback_data is in fact a string a callable accepting the callback_data as only argument. You can perform any kinds of tests on the callback_data and return True ore False accordingsly Security of InlineKeyboardButtons Callback updates are not sent by Telegram, but by the client. This means that they can be manipulated by a user. (While Telegram inofficially does try to prevent this, they don't want Bot devs to rely on them doing the security checks). Most of the time, this is not really a problem, since callback_data often just is Yes, No, etc. However, if the callback data is something like delete message_id 123, the malicious user could delete any message sent by the bot. To increase security of callbacks, PTB signs outgoing callback data. The signature not only makes sure that the callback_data is valid, but also that the update comes from the chat, the message with the InlineKeyboardButton was sent in. Incoming updates with an invalid signature will be rejected. The signature is based on your bots token and username. This means that old buttons will no longer be accepted, if you revoke your token. If you need to revoke your token, e.g. during developement, and want the buttons to still work, you can pass validate_callback_data = False to either your Updater or Bot instance. Make sure to switch it to True after some time.

Open Graph Description: This description is quite outdated, please see the discussion below ToDo When merged, whe should create a wiki page Open an issue for the v14 milestone as reminder to make Persistence.store_call...

X Description: This description is quite outdated, please see the discussion below ToDo When merged, whe should create a wiki page Open an issue for the v14 milestone as reminder to make Persistence.store_call...

Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/pull/1844

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:79812bda-7016-4348-51af-6da52cfafdc3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC7FE:224815:706048:932868:6B026D40
html-safe-nonce37f5777a1fa75300227a0e583c6403e9d5c5e803e1a79be0f6193d5ac90356ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0ZFOjIyNDgxNTo3MDYwNDg6OTMyODY4OjZCMDI2RDQwIiwidmlzaXRvcl9pZCI6IjU0NjQ5MjQyNzkwODA2NDM5MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd8b218b5318d6333cc11f0888cf512c2ffb4846a61c69c7f9828a2b60e3eac18
hovercard-subject-tagpull_request:392657095
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files
twitter:imagehttps://avatars.githubusercontent.com/u/22366557?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/22366557?s=400&v=4
og:image:altThis description is quite outdated, please see the discussion below ToDo When merged, whe should create a wiki page Open an issue for the v14 milestone as reminder to make Persistence.store_call...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git
octolytics-dimension-user_id16178365
octolytics-dimension-user_loginpython-telegram-bot
octolytics-dimension-repository_id38696925
octolytics-dimension-repository_nwopython-telegram-bot/python-telegram-bot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38696925
octolytics-dimension-repository_network_root_nwopython-telegram-bot/python-telegram-bot
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F1844%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F1844%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-telegram-bot%2Fpython-telegram-bot
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files
python-telegram-bothttps://github.com/python-telegram-bot
python-telegram-bothttps://github.com/python-telegram-bot/python-telegram-bot
Codehttps://github.com/python-telegram-bot/python-telegram-bot
Issues23 (23)https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests19 (19)https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussionshttps://github.com/python-telegram-bot/python-telegram-bot/discussions
Actionshttps://github.com/python-telegram-bot/python-telegram-bot/actions
Projectshttps://github.com/python-telegram-bot/python-telegram-bot/projects
Wikihttps://github.com/python-telegram-bot/python-telegram-bot/wiki
Security and qualityhttps://github.com/python-telegram-bot/python-telegram-bot/security
Insightshttps://github.com/python-telegram-bot/python-telegram-bot/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2Fnew%2Fchoose
Bibo-Joshihttps://github.com/Bibo-Joshi
masterhttps://github.com/python-telegram-bot/python-telegram-bot/tree/master
arbitrary-callback-datahttps://github.com/python-telegram-bot/python-telegram-bot/tree/arbitrary-callback-data
Conversation 73 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844
Commits 54 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits
Checks 0 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/checks
Files changed https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files
Arbitrary callback data https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#top
Show all changes 54 commits https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files
0b463d1 Allow arbitrary callback data and sign it Bibo-Joshi Mar 22, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/0b463d158e6feff7733541c7c8f3eb526df52dc2
f6ce586 Add tests Bibo-Joshi Mar 23, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/f6ce5862b5d092520cdc8dab7f7a0343e2035071
6b98c0a Allow callable for pattern in CallbackQueryHandler Bibo-Joshi Mar 23, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/6b98c0a273c2ac982839443e598da7b8d636c5b4
e556dcb Make pytest happier Bibo-Joshi Mar 25, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/e556dcba612c46dad7fef3c222a83c392a6716bd
ca2fbb5 Make it opt-in Bibo-Joshi Apr 15, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/ca2fbb59a5883de1dd97c7b3c83b23de4236a266
6729b72 Merge branch 'master' into arbitrary-callback-data Bibo-Joshi Jan 3, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/6729b729446f05414201a97e1bf8e995fa9a0b58
1f5e20e pre-commit Bibo-Joshi Jan 3, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/1f5e20e70d55f1be54938d33e361846582aa65ae
dfcc308 tests Bibo-Joshi Jan 3, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/dfcc3086925058e483c4771f9bec9831d08136de
eb9b64f CallbackDataCache Bibo-Joshi Jan 3, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/eb9b64fe9c79139714d7235202905458d2c2ebde
4e932ab Update integration into bot, get tests to work and add some new ones Bibo-Joshi Jan 3, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/4e932abf7178ef62c492aa80dba7dab88b70fbfb
df65f62 CQHandler, Persistence, Tests Bibo-Joshi Jan 4, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/df65f628edbd7d74d29c82c4ef3a5eade4df50e7
d987d6d Minor tweaks Bibo-Joshi Jan 4, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/d987d6d95c505e207b8d27db2706d0b59ec80c4b
32479b3 Try increasing code coverage Bibo-Joshi Jan 4, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/32479b364761e32e803a43354b2ac0d090b2bf60
7bafe1a Fix that one failing test Bibo-Joshi Jan 4, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/7bafe1a87cf8fc8fe438a1c7b0000404d460360d
ed7a143 Don't sign the data Bibo-Joshi Jan 6, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/ed7a1435554f429b682bb76658b33f9e19d6ec91
524d776 Merge branch 'master' into arbitrary-callback-data Bibo-Joshi Jan 10, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/524d776c14381cd39a58f55fa387531141e32e20
2d95aee Another rework. no tests & stuff yet. Bibo-Joshi Jan 10, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/2d95aeedd7c411bc3fc8907546e30ffe0e822d96
e92f3b8 Introduce tg.ext.bot and move CallbackDataCache to ext Bibo-Joshi Jan 23, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/e92f3b81ba776ef596e7224827240707c5537d7a
c17a8be Introduce cachetools Bibo-Joshi Jan 23, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/c17a8bede01afa32d3f6e8f646a5beebd33e4152
810bc30 Get started on tests Bibo-Joshi Jan 23, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/810bc305ef1cc389ad334cb1cc57deed2218ac25
02f35b8 Finish tests & some other stuff Bibo-Joshi Jan 24, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/02f35b83e6c8cd016ea2705352c763ffa364a3ad
82abd74 Merge branch 'master' into arbitrary-callback-data Bibo-Joshi Jan 24, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/82abd74bbca8a06fb46b89c5e31e6ba3947ce7cd
e5b0815 Work on some more things Bibo-Joshi Jan 24, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/e5b0815eabdfa0851bf4b9935f9b1a787d30cfd8
19d2124 Merge branch 'master' into arbitrary-callback-data Bibo-Joshi Feb 11, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/19d2124a08d683d6e49ca3c07c8538c76cf740c8
a53ce6a Merge branch 'master' into arbitrary-callback-data Bibo-Joshi Feb 28, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/a53ce6a59ddc3b024c5b7e2169a80e511abac456
a18c8d6 Merge branch 'master' into arbitrary-callback-data Bibo-Joshi Mar 14, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/a18c8d6bb2e6424418c0cbe82f5cca1948edd535
4a2eec3 Update pre-commits additional_reqs Bibo-Joshi Mar 14, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/4a2eec38c2d4d9b9f761516ae31f9f1de4fae1c7
d5818ce Merge branch 'master' into arbitrary-callback-data Bibo-Joshi Apr 15, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/d5818ce8071530bae114c7ab9d0f1c0d949832d4
6ba08fe Move CDC & ICD to tg.ext & some minor things Bibo-Joshi Apr 20, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/6ba08fe45b0c9f782963574df79aedecab664cf7
8701843 Add some comments Bibo-Joshi Apr 21, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/87018435b9fb5c47ee00894536ceb615b99dc5c4
e83acfa Update CDC.process_message and a bunch of new tests Bibo-Joshi Apr 21, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/e83acfae3b72cfb526e8bb9c012bee80e9841490
83bb78e Fix a thing Bibo-Joshi Apr 21, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/83bb78efe41494919d73e043cd924d9c44fd7401
2bae211 Fine tuning & More tests & Webhook-Support (can't belive, I've missed… Bibo-Joshi Apr 22, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/2bae2111e5b06bd50b4ef6ea86369c2fe1cb1d16
e470f8c IKB.update_callback_data & Avoid returns for in-place functions Bibo-Joshi Apr 23, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/e470f8c639ef4f1130f03314aee7291f43d2e1e0
f8e95da Merge branch 'master' into arbitrary-callback-data Bibo-Joshi May 28, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/f8e95da6db466f9d6fd255e717af867090867d56
7868cb5 Merge branch 'master' into arbitrary-callback-data Bibo-Joshi May 28, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/7868cb550d2a7f934666d184fc62b9a04477edd9
f307f6d Review Bibo-Joshi May 29, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/f307f6d68f8def3e0158e4719bdd3d66c9f169a0
b2454a2 Merge branch 'master' into arbitrary-callback-data Bibo-Joshi May 29, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/b2454a2e71e45bcbce387c44c6d5c94895c13d6c
58635a8 Add slot tests for new classes Bibo-Joshi May 30, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/58635a8284da6cb62ae6e9d2f933eb4022603cd9
ce6db97 Fix tests Bibo-Joshi May 30, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/ce6db97c7fa0976fdbcd82c2285ef99075c31364
3748ebb Rename ext.Bot to ext.ExtBot Bibo-Joshi May 30, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/3748ebb3ccc07e14f77e63d711a01892b1ecd926
ff980a0 Merge branch 'master' into arbitrary-callback-data Bibo-Joshi May 30, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/ff980a03b68f9ef8e0ffb667c66ad5be47bf31ee
d6e4b0f pre-commit Bibo-Joshi May 30, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/d6e4b0fa80937094f0bd3aae98467880dc2c5693
57a5fb0 address first review comments Bibo-Joshi May 31, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/57a5fb03362ab81b373bca46a4bafbb8281949bf
6820367 Bump pre-commit versions Bibo-Joshi Jun 1, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/68203676dccbe5bf18313976e42f0f0ae810311a
ce4f11b More review Bibo-Joshi Jun 1, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/ce4f11b8ab011e0b9db48670b5180fffc81b3419
1076700 Fix DictPersistence & add versioning directives Bibo-Joshi Jun 2, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/1076700b78611f221df68fae95a6a713e728a4d4
5f42b08 Add example Bibo-Joshi Jun 2, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/5f42b085b967e68300885c387eb13f57984c754d
da08e30 Drop double copying from persistence & adjust tests Bibo-Joshi Jun 3, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/da08e30e2099687b90c247323d13fff57e3ad861
cb2fba9 Review Bibo-Joshi Jun 5, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/cb2fba9a88f58ed7d410e72bf0f1f25912c5a8e2
ef63946 Up coverage Bibo-Joshi Jun 5, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/ef63946403f372134f33db8c6686c574e575351f
9559bc5 DeepSource Bibo-Joshi Jun 5, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/9559bc590829b6062904c5e43a528f651ea11e27
286b63f Even more coverage Bibo-Joshi Jun 5, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/286b63f81bfebaf06987daef59f89959898c5092
7233af7 Merge branch 'master' into arbitrary-callback-data Bibo-Joshi Jun 6, 2021 https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/commits/7233af7196852b974a52d0a33a00c38adde1b57a
Clear filters https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files
pull_request_template.md https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-b2496e80299b8c3150b1944450bd81c622e04e13d15c411d291db0927d75fd6b
.pre-commit-config.yaml https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9
telegram.ext.callbackdatacache.rst https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-7a0869572ec4d5a048529daacae74948de49de5224835918845eef537312e337
telegram.ext.extbot.rst https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-b292599500b632047438e600becfe692a44f71e67396a263d1412708ad7bd86e
telegram.ext.invalidcallbackdata.rst https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-725cee491f5bd6047846f3369df77cf5e036fe81136fcde767ff0b1769d0b71d
telegram.ext.rst https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-ff001bb81d18e38762a8c6c6815249230e877a992e016474a7a9b974cf343f55
README.md https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-49aaa2819e35a856818ecec8c9fa7e1c79ad028d3f44bd749736353cfb51bac9
arbitrarycallbackdatabot.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-8ab7cc3668e2b1709da70cd037e033183dbe63dd290c6bc7443eae4e8c17ceec
requirements-dev.txt https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-2b4945591edfeaa4cf4d3f155e66d4b43d1bda7a55d881d5cf3107f1b05abbbc
requirements.txt https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552
bot.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-ca0526e3005b92a3844ee53d68688fe5a8c438332365a0efc3275a814cca5008
callbackquery.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-32efb66566df0a2e4fb4c4db46b27e75f29dfa0d04b721cb1a3f9b4afe263b63
__init__.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-a2540ae3258b51edd104b57321ec5cf175d07674b907609900ba296eec12c600
basepersistence.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-66273af16d9dbb58e6758351318d8629d075979b82d8f6e0ad0f3f33f213f58d
callbackcontext.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-6ea94637f214d031dad75e17c46996104b42bddce09e9152811f12277c889303
callbackdatacache.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-6db2738fbaa4339a83c25f4652df02b5b24fb625cabb6f3a77f5c3755066449d
callbackqueryhandler.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-fcd0121353e8adc4932824742154029ea466dbe2eeefb011d2922a67d2c2bfd9
conversationhandler.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-3cf4d94165ed37bda70d563d48c8d22f2252dfd1753b86a86958e20622a15d53
dictpersistence.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-685fbb03e9542afcfaa368fcd606e194d684d8dab9c38265102bbed89e5f0b7c
dispatcher.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-f88ded2bad521b4f29f6581172da343e5767e97d243abe871cd4edb5ad9c9ebe
extbot.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-8acba2764188f58b5fa89771a26666331392514da6c46563ead2ff50492b6403
jobqueue.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-7fa0ddef530ade1b4faa3788c11caad821f1fd96118e2d4be5a5fe9cc3020a8a
picklepersistence.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-69b5504b9c00565b26b73f0fc6c026108c0eaf1dab90a570986388e2d4c96f4c
updater.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-5ad7a3a744890dd94a6c582d62a7798e53dac93c4781cefc21db959c3e0888c2
types.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-1f0a744a944930b7dbb01b52415639b4bdad87dd6d6bd0a8519b937583d818be
webhookhandler.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-ad98601ef61bb0abd04bdb5885e953ed6a084af1e1de666f87e3d0a51fd7d504
inlinekeyboardbutton.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-ca7cc9044cb8cc90b3b0b53c7912b1f3faea987495aa5eb09ae2f65893e32d6d
types.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-579bb99b7b515044cbebd1957e0ea276a3546e2cd1f5fcab83e58b3ee9a98bce
conftest.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
test_bot.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-16435365ee487202cae42fc85f2bcb3f6d3883545fbdce46cf68fd5c74abffbb
test_callbackcontext.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-0ff6e926d687132ae997e435dd1b6908fadc8e36498cdca7f0e38279477fee7a
test_callbackdatacache.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-ca62f7169f0b9b9d45fb545f66a95f7adb3744d84da050fe22ccf42c057f0c17
test_callbackqueryhandler.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-8ce4f8b282b57884a036d3d12477769271c9f49ef48372b48fb6faef6e808b45
test_dispatcher.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-925124c40367a246099963cd86fc8cd86ffde0423866e4f7a5e53b44cb007752
test_error.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-72defb0ee51365a24d4b3e5b42cdf4335655fc7dc3753b2b3fa57e94c0bc473d
test_inlinekeyboardbutton.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-5ac3fa4094566e8ec9893ce8f80b7255f085609ffb29a9db7100ba90630326c6
test_invoice.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-a1388cc087d128d4b5a11331f998800e5f1738039f59f54c5239d7766ab0536e
test_message.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-a9df67c4518275a00d085ad12aed536385d6a15cf04d2fa186e928f504689a5f
test_persistence.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-d04e4aa4ef583d9618a01bafa941f0cd1046a525cb2018673ec9b34e78a5d07e
test_slots.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-abceab278afc355c9b873a576d9ac0ab67fe0d26ff3e1037cfd17267260b7054
test_updater.py https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-906c8650352f360773f89fb317f460569c63aacf8ad9234a567b6b977ebe0bfe
.github/pull_request_template.mdhttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-b2496e80299b8c3150b1944450bd81c622e04e13d15c411d291db0927d75fd6b
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/7233af7196852b974a52d0a33a00c38adde1b57a/.github/pull_request_template.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-b2496e80299b8c3150b1944450bd81c622e04e13d15c411d291db0927d75fd6b
.pre-commit-config.yamlhttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/7233af7196852b974a52d0a33a00c38adde1b57a/.pre-commit-config.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9
docs/source/telegram.ext.callbackdatacache.rsthttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-7a0869572ec4d5a048529daacae74948de49de5224835918845eef537312e337
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/7233af7196852b974a52d0a33a00c38adde1b57a/docs/source/telegram.ext.callbackdatacache.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/{{ revealButtonHref }}
docs/source/telegram.ext.extbot.rsthttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-b292599500b632047438e600becfe692a44f71e67396a263d1412708ad7bd86e
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/7233af7196852b974a52d0a33a00c38adde1b57a/docs/source/telegram.ext.extbot.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/{{ revealButtonHref }}
docs/source/telegram.ext.invalidcallbackdata.rsthttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-725cee491f5bd6047846f3369df77cf5e036fe81136fcde767ff0b1769d0b71d
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/7233af7196852b974a52d0a33a00c38adde1b57a/docs/source/telegram.ext.invalidcallbackdata.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/{{ revealButtonHref }}
docs/source/telegram.ext.rsthttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-ff001bb81d18e38762a8c6c6815249230e877a992e016474a7a9b974cf343f55
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/7233af7196852b974a52d0a33a00c38adde1b57a/docs/source/telegram.ext.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-ff001bb81d18e38762a8c6c6815249230e877a992e016474a7a9b974cf343f55
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-ff001bb81d18e38762a8c6c6815249230e877a992e016474a7a9b974cf343f55
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-ff001bb81d18e38762a8c6c6815249230e877a992e016474a7a9b974cf343f55
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-ff001bb81d18e38762a8c6c6815249230e877a992e016474a7a9b974cf343f55
examples/README.mdhttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-49aaa2819e35a856818ecec8c9fa7e1c79ad028d3f44bd749736353cfb51bac9
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/7233af7196852b974a52d0a33a00c38adde1b57a/examples/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-49aaa2819e35a856818ecec8c9fa7e1c79ad028d3f44bd749736353cfb51bac9
examples/arbitrarycallbackdatabot.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-8ab7cc3668e2b1709da70cd037e033183dbe63dd290c6bc7443eae4e8c17ceec
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/7233af7196852b974a52d0a33a00c38adde1b57a/examples/arbitrarycallbackdatabot.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/{{ revealButtonHref }}
requirements-dev.txthttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-2b4945591edfeaa4cf4d3f155e66d4b43d1bda7a55d881d5cf3107f1b05abbbc
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/7233af7196852b974a52d0a33a00c38adde1b57a/requirements-dev.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-2b4945591edfeaa4cf4d3f155e66d4b43d1bda7a55d881d5cf3107f1b05abbbc
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-2b4945591edfeaa4cf4d3f155e66d4b43d1bda7a55d881d5cf3107f1b05abbbc
requirements.txthttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/7233af7196852b974a52d0a33a00c38adde1b57a/requirements.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/1844/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.