| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:829300f9-a80c-b50f-c2aa-5de7b63a1052 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C104:A4600:A8EEB9:E3235F:6A5CE8D1 |
| html-safe-nonce | 87a2d4f4dbdb830ca0fac782064cfb1fd590fa8f4feea007f859be4fdeeb9cc8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTA0OkE0NjAwOkE4RUVCOTpFMzIzNUY6NkE1Q0U4RDEiLCJ2aXNpdG9yX2lkIjoiMTYzMzc3MzkwMjk3ODkzNDk5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e2fbb796a8a1b18b4402fbecc8993d8a324b1245b7a78485cfe08d930b53f8e4 |
| hovercard-subject-tag | pull_request:85272372 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files |
| twitter:image | https://avatars.githubusercontent.com/u/3002987?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3002987?s=400&v=4 |
| og:image:alt | Would allow filters to be and'ed/or'ed.
Using syntax like this:
handler = MessageHandler((Filters.text | Filters.venue) & Filters.forwarded, callback)
Currently this isn't too usefu... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F411%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F411%2Ffiles |
|
Sign up
| https://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 |
| Reload | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files |
| Reload | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files |
| Reload | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files |
| Please reload this page | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files |
|
python-telegram-bot
| https://github.com/python-telegram-bot |
| python-telegram-bot | https://github.com/python-telegram-bot/python-telegram-bot |
|
Notifications
| https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot |
|
Fork
6.1k
| https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot |
|
Star
29.3k
| https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot |
|
Code
| https://github.com/python-telegram-bot/python-telegram-bot |
|
Issues
24
| https://github.com/python-telegram-bot/python-telegram-bot/issues |
|
Pull requests
9
| https://github.com/python-telegram-bot/python-telegram-bot/pulls |
|
Discussions
| https://github.com/python-telegram-bot/python-telegram-bot/discussions |
|
Actions
| https://github.com/python-telegram-bot/python-telegram-bot/actions |
|
Projects
| https://github.com/python-telegram-bot/python-telegram-bot/projects |
|
Wiki
| https://github.com/python-telegram-bot/python-telegram-bot/wiki |
|
Security and quality
0
| https://github.com/python-telegram-bot/python-telegram-bot/security |
|
Insights
| https://github.com/python-telegram-bot/python-telegram-bot/pulse |
|
Code
| https://github.com/python-telegram-bot/python-telegram-bot |
|
Issues
| https://github.com/python-telegram-bot/python-telegram-bot/issues |
|
Pull requests
| https://github.com/python-telegram-bot/python-telegram-bot/pulls |
|
Discussions
| https://github.com/python-telegram-bot/python-telegram-bot/discussions |
|
Actions
| https://github.com/python-telegram-bot/python-telegram-bot/actions |
|
Projects
| https://github.com/python-telegram-bot/python-telegram-bot/projects |
|
Wiki
| https://github.com/python-telegram-bot/python-telegram-bot/wiki |
|
Security and quality
| https://github.com/python-telegram-bot/python-telegram-bot/security |
|
Insights
| https://github.com/python-telegram-bot/python-telegram-bot/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2Fnew%2Fchoose |
| jsmnbom | https://github.com/jsmnbom |
| master | https://github.com/python-telegram-bot/python-telegram-bot/tree/master |
| bitwise-filters | https://github.com/python-telegram-bot/python-telegram-bot/tree/bitwise-filters |
|
Conversation
4
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411 |
|
Commits
14
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits |
|
Checks
0
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/checks |
|
Files changed
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files |
| Please reload this page | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files |
|
Make filters and/or-able using bitwise operators.
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#top |
|
Show all changes
14 commits
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files |
|
71e74da
Make filters and/or-able using bitwise operators.
jsmnbom Sep 14, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/71e74da0a2b2e70f91e9aad6d73066249fdfc084 |
|
2161681
Use filter method instead of __call__
jsmnbom Sep 24, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/2161681131aa9d3fcee1a49953fff61c62ecb5dd |
|
921fbae
Merge branch 'master' into bitwise-filters
jsmnbom Sep 24, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/921fbae2f3f9b3430f7131718404709b75a7fbf7 |
|
be0f5bc
Merge branch 'master' into bitwise-filters
jsmnbom Sep 24, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/be0f5bc519853601a8f298c967be8128596de9d9 |
|
6159640
__call__ should return the result
jsmnbom Sep 24, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/61596400e18de8d3ecf37ecc2f443329e49e0e4f |
|
3244417
Add docs for filters.
jsmnbom Sep 24, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/3244417f6178c21d9ce9814dd3a0ad019967e1de |
|
79e065a
Add __str__ and __repr__ to MergedFilter.
jsmnbom Sep 25, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/79e065a730dc8b1df93b99a200229813b892be46 |
|
79bdfe4
Allow filters to be passed without list.
jsmnbom Sep 29, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/79bdfe4c5d4a5659c3ff2dc7e725ab95e7029e7b |
|
ca5e314
Fix docstring according to Jannes' commentns.
jsmnbom Oct 14, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/ca5e3146c6578d9e2bc482ee090a863eafbfa573 |
|
c626044
Add "all" filter
jsmnbom Oct 15, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/c626044a3033432c778984d879467c3acc461c39 |
|
f99b2f8
Inprove coverage
jsmnbom Oct 15, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/f99b2f8f3b7215c95ff10921a23e7a0bb704421d |
|
29e0cc6
Fix py2 compat
jsmnbom Oct 15, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/29e0cc64e99c94ed00266e1a71189d8a6aaa5d9c |
|
5408c23
assertRegexMatches still exists for now. Use it.
jsmnbom Oct 16, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/5408c23e3306bb253428d6de644b6247359d753b |
|
39832d2
__str__ behaves differntly on py2 apparently.
jsmnbom Oct 16, 2016
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/39832d2f6b848c3a9fc9ea3c85615e11e7c89808 |
|
Clear filters
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files |
| Please reload this page | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files |
| Please reload this page | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files |
|
telegram.ext.filters.rst
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-e313f0b078472b2ce324dc15823bfc8ca84d10239fdb59b3ecee8891503b9a4f |
|
telegram.ext.rst
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-ff001bb81d18e38762a8c6c6815249230e877a992e016474a7a9b974cf343f55 |
|
__init__.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-a2540ae3258b51edd104b57321ec5cf175d07674b907609900ba296eec12c600 |
|
filters.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-6260592e9e0d28a464b383edf7c50a882910ff6d502f609313dc44e3cbfdae6c |
|
messagehandler.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-779dd6103ae2b10c4dc6140cbf1f55334998699e8b2c00113a5ffdf71255680b |
|
test_filters.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-c42c96171310ba36a50fc20ad759507f08aa8212df793d97e33579522ffb39c4 |
|
test_updater.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-906c8650352f360773f89fb317f460569c63aacf8ad9234a567b6b977ebe0bfe |
| docs/source/telegram.ext.filters.rst | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-e313f0b078472b2ce324dc15823bfc8ca84d10239fdb59b3ecee8891503b9a4f |
|
View file
| https://github.com/python-telegram-bot/python-telegram-bot/blob/39832d2f6b848c3a9fc9ea3c85615e11e7c89808/docs/source/telegram.ext.filters.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/{{ revealButtonHref }} |
| docs/source/telegram.ext.rst | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-ff001bb81d18e38762a8c6c6815249230e877a992e016474a7a9b974cf343f55 |
|
View file
| https://github.com/python-telegram-bot/python-telegram-bot/blob/39832d2f6b848c3a9fc9ea3c85615e11e7c89808/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/411/{{ revealButtonHref }} |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-ff001bb81d18e38762a8c6c6815249230e877a992e016474a7a9b974cf343f55 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-ff001bb81d18e38762a8c6c6815249230e877a992e016474a7a9b974cf343f55 |
| telegram/ext/__init__.py | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-a2540ae3258b51edd104b57321ec5cf175d07674b907609900ba296eec12c600 |
|
View file
| https://github.com/python-telegram-bot/python-telegram-bot/blob/39832d2f6b848c3a9fc9ea3c85615e11e7c89808/telegram/ext/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/{{ revealButtonHref }} |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-a2540ae3258b51edd104b57321ec5cf175d07674b907609900ba296eec12c600 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-a2540ae3258b51edd104b57321ec5cf175d07674b907609900ba296eec12c600 |
| telegram/ext/filters.py | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-6260592e9e0d28a464b383edf7c50a882910ff6d502f609313dc44e3cbfdae6c |
|
View file
| https://github.com/python-telegram-bot/python-telegram-bot/blob/39832d2f6b848c3a9fc9ea3c85615e11e7c89808/telegram/ext/filters.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/{{ revealButtonHref }} |
| jh0ker | https://github.com/jh0ker |
| Oct 10, 2016 | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#r82587083 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files |
| telegram/ext/messagehandler.py | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-779dd6103ae2b10c4dc6140cbf1f55334998699e8b2c00113a5ffdf71255680b |
|
View file
| https://github.com/python-telegram-bot/python-telegram-bot/blob/39832d2f6b848c3a9fc9ea3c85615e11e7c89808/telegram/ext/messagehandler.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/{{ revealButtonHref }} |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-779dd6103ae2b10c4dc6140cbf1f55334998699e8b2c00113a5ffdf71255680b |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-779dd6103ae2b10c4dc6140cbf1f55334998699e8b2c00113a5ffdf71255680b |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-779dd6103ae2b10c4dc6140cbf1f55334998699e8b2c00113a5ffdf71255680b |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files#diff-779dd6103ae2b10c4dc6140cbf1f55334998699e8b2c00113a5ffdf71255680b |
| Please reload this page | https://github.com/python-telegram-bot/python-telegram-bot/pull/411/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |