René's URL Explorer Experiment


Title: User language by MarcoBuster · Pull Request #85 · python-botogram/botogram · GitHub

Open Graph Title: User language by MarcoBuster · Pull Request #85 · python-botogram/botogram

X Title: User language by MarcoBuster · Pull Request #85 · python-botogram/botogram

Description: Recently, Telegram has added language_code to User object (for now it isn't in documentation). In botogram framework, User.language_code is user.lang. Example usage: REPLIES = {"en": "Hello! All right?", "it": "Ciao! Tutto bene?", "ru": "Здравствуйте! Хорошо?"} @bot.command("start") def start(chat, message): lang = message.sender.lang if lang not in REPLIES.keys(): message.reply("Language not supported") return message.reply(REPLIES[lang])

Open Graph Description: Recently, Telegram has added language_code to User object (for now it isn't in documentation). In botogram framework, User.language_code is user.lang. Example usage: REPLIES = {"en": ...

X Description: Recently, Telegram has added language_code to User object (for now it isn't in documentation). In botogram framework, User.language_code is user.lang. Example usage: REPLIES = {"en...

Opengraph URL: https://github.com/python-botogram/botogram/pull/85

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3d08315a-b122-1952-90ae-6b44cee5b416
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDDC8:2AFD6E:6A22CC:973E76:6AECA00B
html-safe-nonce467f504c6ad23b5ecaee5b4660d4bfc0eed8029a2255639fb97582c18f231876
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREM4OjJBRkQ2RTo2QTIyQ0M6OTczRTc2OjZBRUNBMDBCIiwidmlzaXRvcl9pZCI6IjExNzQ5ODk0ODIxNTkyODQyMzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2de5f37e7a2226e181e2b3697284b1dc297b8a64dd68b0b99aedb77c47241327
hovercard-subject-tagpull_request:121276886
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-botogram/botogram/pull/85/files
twitter:imagehttps://avatars.githubusercontent.com/u/14850025?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/14850025?s=400&v=4
og:image:altRecently, Telegram has added language_code to User object (for now it isn't in documentation). In botogram framework, User.language_code is user.lang. Example usage: REPLIES = {"en": ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None416ad8516cf23626dd57f3cd052ccfceb1f05dca8d099c46b17faeceb0bca02c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-botogram/botogram git https://github.com/python-botogram/botogram.git
octolytics-dimension-user_id38258752
octolytics-dimension-user_loginpython-botogram
octolytics-dimension-repository_id38007898
octolytics-dimension-repository_nwopython-botogram/botogram
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38007898
octolytics-dimension-repository_network_root_nwopython-botogram/botogram
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
release2357f2fbaff3022f1a833ccd221c27e44414a242
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-botogram/botogram/pull/85/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-botogram%2Fbotogram%2Fpull%2F85%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-botogram%2Fbotogram%2Fpull%2F85%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-botogram%2Fbotogram
Reloadhttps://github.com/python-botogram/botogram/pull/85/files
Reloadhttps://github.com/python-botogram/botogram/pull/85/files
Reloadhttps://github.com/python-botogram/botogram/pull/85/files
python-botogramhttps://github.com/python-botogram
botogramhttps://github.com/python-botogram/botogram
Codehttps://github.com/python-botogram/botogram
Issues17 (17)https://github.com/python-botogram/botogram/issues
Pull requests18 (18)https://github.com/python-botogram/botogram/pulls
Actionshttps://github.com/python-botogram/botogram/actions
Security and qualityhttps://github.com/python-botogram/botogram/security
Insightshttps://github.com/python-botogram/botogram/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-botogram%2Fbotogram%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-botogram%2Fbotogram%2Fissues%2Fnew%2Fchoose
MarcoBusterhttps://github.com/MarcoBuster
python-botogram:release/0.6https://github.com/python-botogram/botogram/tree/release/0.6
MarcoBuster:language-codehttps://github.com/MarcoBuster/botogram/tree/language-code
Conversation 10 https://github.com/python-botogram/botogram/pull/85
Commits 4 https://github.com/python-botogram/botogram/pull/85/commits
Checks 0 https://github.com/python-botogram/botogram/pull/85/checks
Files changed https://github.com/python-botogram/botogram/pull/85/files
Please reload this pagehttps://github.com/python-botogram/botogram/pull/85/files
User language https://github.com/python-botogram/botogram/pull/85/files#top
Show all changes 4 commits https://github.com/python-botogram/botogram/pull/85/files
2bd9b43 Add user.lang support MarcoBuster May 18, 2017 https://github.com/python-botogram/botogram/pull/85/commits/2bd9b43040b9b04d12e733277ccec8de51694b92
f0d6d0f Fix versionadded tag in documentation MarcoBuster Mar 19, 2019 https://github.com/python-botogram/botogram/pull/85/commits/f0d6d0f366904156c3bdf18cc03dfd38d0d3bcf1
a1fba41 Merge branch 'master' into 'language-code' MarcoBuster Mar 19, 2019 https://github.com/python-botogram/botogram/pull/85/commits/a1fba418303c54ecd58897ed26fe134b8445551d
bea677a Re-added replace keys parameter (removed by mistake) MarcoBuster Mar 19, 2019 https://github.com/python-botogram/botogram/pull/85/commits/bea677a3af018da586f1dfae4015868fa8eda03b
Clear filters https://github.com/python-botogram/botogram/pull/85/files
Please reload this pagehttps://github.com/python-botogram/botogram/pull/85/files
Please reload this pagehttps://github.com/python-botogram/botogram/pull/85/files
chats.py https://github.com/python-botogram/botogram/pull/85/files#diff-24f32f7993b9f7915b9bcda8f8d075b0f69a396f7f19e03d229605aa95b0fc08
telegram.rst https://github.com/python-botogram/botogram/pull/85/files#diff-39a225838849188842b8c6c07a88efd1972140bcc1ee8b71a5263bc20e44ce05
botogram/objects/chats.pyhttps://github.com/python-botogram/botogram/pull/85/files#diff-24f32f7993b9f7915b9bcda8f8d075b0f69a396f7f19e03d229605aa95b0fc08
View file https://github.com/MarcoBuster/botogram/blob/bea677a3af018da586f1dfae4015868fa8eda03b/botogram/objects/chats.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-botogram/botogram/pull/85/{{ revealButtonHref }}
https://github.com/python-botogram/botogram/pull/85/files#diff-24f32f7993b9f7915b9bcda8f8d075b0f69a396f7f19e03d229605aa95b0fc08
https://github.com/python-botogram/botogram/pull/85/files#diff-24f32f7993b9f7915b9bcda8f8d075b0f69a396f7f19e03d229605aa95b0fc08
docs/api/telegram.rsthttps://github.com/python-botogram/botogram/pull/85/files#diff-39a225838849188842b8c6c07a88efd1972140bcc1ee8b71a5263bc20e44ce05
View file https://github.com/MarcoBuster/botogram/blob/bea677a3af018da586f1dfae4015868fa8eda03b/docs/api/telegram.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-botogram/botogram/pull/85/{{ revealButtonHref }}
https://github.com/python-botogram/botogram/pull/85/files#diff-39a225838849188842b8c6c07a88efd1972140bcc1ee8b71a5263bc20e44ce05
Please reload this pagehttps://github.com/python-botogram/botogram/pull/85/files
Please reload this pagehttps://github.com/python-botogram/botogram/pull/85/files
https://github.com/python-botogram/botogram/pull/85/files#diff-39a225838849188842b8c6c07a88efd1972140bcc1ee8b71a5263bc20e44ce05
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.