René's URL Explorer Experiment


Title: to_true shortcut for ChatPermissions by Poolitzer · Pull Request #2948 · python-telegram-bot/python-telegram-bot · GitHub

Open Graph Title: to_true shortcut for ChatPermissions by Poolitzer · Pull Request #2948 · python-telegram-bot/python-telegram-bot

X Title: to_true shortcut for ChatPermissions by Poolitzer · Pull Request #2948 · python-telegram-bot/python-telegram-bot

Description: Checklist for PRs Added .. versionadded:: version, .. versionchanged:: version or .. deprecated:: version to the docstrings for user facing changes (for methods/class descriptions, arguments and attributes) Created new or adapted existing unit tests Added myself alphabetically to AUTHORS.rst (optional) Added new classes & modules to the docs If the PR contains API changes (otherwise, you can delete this passage) New classes: Added self._id_attrs and corresponding documentation __init__ accepts **_kwargs Added new shortcuts: In Chat & User for all methods that accept chat/user_id In Message for all methods that accept chat_id and message_id For new Message shortcuts: Added quote argument if methods accepts reply_to_message_id In CallbackQuery for all methods that accept either chat_id and message_id or inline_message_id If relevant: Added new constants at telegram.constants and shortcuts to them as class variables Added new handlers for new update types Added new filters for new message (sub)types Added or updated documentation for the changed class(es) and/or method(s) Updated the Bot API version number in all places: README.rst and README_RAW.rst (including the badge), as well as telegram.constants.BOT_API_VERSION Added logic for arbitrary callback data in tg.ext.Bot for new methods that either accept a reply_markup in some form or have a return type that is/contains telegram.Message This was a spontaneous idea and quickly done by me to avoid other work. No proper issue to close here.

Open Graph Description: Checklist for PRs Added .. versionadded:: version, .. versionchanged:: version or .. deprecated:: version to the docstrings for user facing changes (for methods/class descriptions, arguments and ...

X Description: Checklist for PRs Added .. versionadded:: version, .. versionchanged:: version or .. deprecated:: version to the docstrings for user facing changes (for methods/class descriptions, arguments and ...

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

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:f0947399-9d80-e695-47e6-8280aa10e7b6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE16:1F58:5F58D:7C21F:6B026D46
html-safe-nonce28a8174574633166620837360993289e3b4a4c1afae8e2ded2de0699254c66c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTE2OjFGNTg6NUY1OEQ6N0MyMUY6NkIwMjZENDYiLCJ2aXNpdG9yX2lkIjoiNzMyNzgwMDMwNDMwMzUwMDYxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9727185c3cb9cb23916e0296c3486c5bc4274dcef16a983b58340adf15408215
hovercard-subject-tagpull_request:905241861
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/2948/files
twitter:imagehttps://avatars.githubusercontent.com/u/25934244?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/25934244?s=400&v=4
og:image:altChecklist for PRs Added .. versionadded:: version, .. versionchanged:: version or .. deprecated:: version to the docstrings for user facing changes (for methods/class descriptions, arguments and ...
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/2948/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%2F2948%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%2F2948%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/2948/files
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2948/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
harshil21https://github.com/harshil21
v14https://github.com/python-telegram-bot/python-telegram-bot/tree/v14
ChatPermissions_unrestricthttps://github.com/python-telegram-bot/python-telegram-bot/tree/ChatPermissions_unrestrict
Conversation 26 https://github.com/python-telegram-bot/python-telegram-bot/pull/2948
Commits 9 https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/commits
Checks 0 https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/checks
Files changed https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files
to_true shortcut for ChatPermissions https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files#top
Show all changes 9 commits https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files
98e8c4e Feat: To_true shortcut Poolitzer Apr 10, 2022 https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/commits/98e8c4e1906c04efe43f6823dcd0784330c1adf6
e8cc6d7 Feat: add versionadded directive Poolitzer Apr 10, 2022 https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/commits/e8cc6d7e855ce4ba5732c6650de24f576a80eba9
071754d Fix: Move static to class method Poolitzer Apr 10, 2022 https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/commits/071754debefcce899b8adc7a9df3be242d82b6e4
355378a Feat: adding no_permissions Poolitzer Apr 10, 2022 https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/commits/355378aab98ee65f9e6a35cdaf4465873b85b98d
15ec7dc Fix: Use slots in tests Poolitzer Apr 10, 2022 https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/commits/15ec7dc95f493ec38f5c683ef3c2955d16cac242
2d741ae Fix: Better wording of docs Poolitzer Apr 27, 2022 https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/commits/2d741ae639089cd55c892ae2e55be4a4c0bb1f6f
3c5a9d3 Fix: Even better wording of docs Poolitzer Apr 27, 2022 https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/commits/3c5a9d34b95b96f93f424cdd49a366b36bb5029e
6ba873e Fix: Switch V14 to V20 Poolitzer Apr 27, 2022 https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/commits/6ba873ee812ce1841e1216e6d2f3fba1f6e8679a
220aaee Fix: Actually V20, and inner class link Poolitzer Apr 27, 2022 https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/commits/220aaee83a1d1b8229addb05508c4eb02a69cfb4
Clear filters https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files
_bot.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files#diff-2aef7cabe736b556967d73b7f946c32a67142d6bccb4c90a355d375374ebd8ea
_chatpermissions.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files#diff-64542373fbb6d573f0421a48f789088f7c40ec03552812a17d8cf5be44c08d94
test_chatpermissions.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files#diff-d3debc72119c15ba028f042000672bcb2ce860b99f314f5903e21761131bc392
telegram/_bot.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files#diff-2aef7cabe736b556967d73b7f946c32a67142d6bccb4c90a355d375374ebd8ea
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/220aaee83a1d1b8229addb05508c4eb02a69cfb4/telegram/_bot.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files#diff-2aef7cabe736b556967d73b7f946c32a67142d6bccb4c90a355d375374ebd8ea
https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files#diff-2aef7cabe736b556967d73b7f946c32a67142d6bccb4c90a355d375374ebd8ea
telegram/_chatpermissions.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files#diff-64542373fbb6d573f0421a48f789088f7c40ec03552812a17d8cf5be44c08d94
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/220aaee83a1d1b8229addb05508c4eb02a69cfb4/telegram/_chatpermissions.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files#diff-64542373fbb6d573f0421a48f789088f7c40ec03552812a17d8cf5be44c08d94
tests/test_chatpermissions.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files#diff-d3debc72119c15ba028f042000672bcb2ce860b99f314f5903e21761131bc392
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/220aaee83a1d1b8229addb05508c4eb02a69cfb4/tests/test_chatpermissions.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/2948/files#diff-d3debc72119c15ba028f042000672bcb2ce860b99f314f5903e21761131bc392
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/2948/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.