| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:017ea0ae-f740-12ef-c9a8-614ce6fc3f6c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A6C4:AC3D5:B25C35:E9F492:6B026A4C |
| html-safe-nonce | 09ac0b8fa4007b05bc1a7c514d444b5171dd9cc35e8850de2d0461965334fbc4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkM0OkFDM0Q1OkIyNUMzNTpFOUY0OTI6NkIwMjZBNEMiLCJ2aXNpdG9yX2lkIjoiNjAwNzkyNzg5MzI3ODIyMjkyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cb4b9433244ae71addc6037113616cb983f3fcf91a826418258b615c8131bc65 |
| hovercard-subject-tag | pull_request:526708375 |
| 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/2223/files |
| twitter:image | https://avatars.githubusercontent.com/u/22366557?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/22366557?s=400&v=4 |
| og:image:alt | add ability to pass pathlib.Path objects instead of strings |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/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%2F2223%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F2223%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/2223/files |
| Reload | https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files |
| Reload | https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files |
| python-telegram-bot | https://github.com/python-telegram-bot |
| python-telegram-bot | https://github.com/python-telegram-bot/python-telegram-bot |
| Code | https://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 |
| 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/insights |
| 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 |
| Bibo-Joshi | https://github.com/Bibo-Joshi |
| api-5.0-master | https://github.com/python-telegram-bot/python-telegram-bot/tree/api-5.0-master |
| api-5.0-local-bot-API-server | https://github.com/python-telegram-bot/python-telegram-bot/tree/api-5.0-local-bot-API-server |
|
Conversation
20
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223 |
|
Commits
10
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits |
|
Checks
0
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/checks |
|
Files changed
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files |
| Please reload this page | https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files |
|
API 5.0 WP4.3: Handling of files in local mode
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#top |
|
Show all changes
10 commits
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files |
|
242847d
initial commit
Poolitzer Nov 24, 2020
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/242847dda43f9601259523d6326a0a0fb6d0bc73 |
|
661109b
Some tweaking & tests
Bibo-Joshi Nov 24, 2020
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/661109b271b3bb3a996b036ae114fb12542d7c09 |
|
aa2ff17
Handle local paths as file input and unify file input parsing
Bibo-Joshi Nov 25, 2020
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/aa2ff17558a0c17f3abfdea2c7d64c89e8d35311 |
|
aaa7e9e
Accept pathlib.Path objects for paths
Bibo-Joshi Nov 25, 2020
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/aaa7e9ec6d3907bc3bec771edfbe66a261715565 |
|
6a7e5ad
Some tweaks in download logic
Bibo-Joshi Nov 28, 2020
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/6a7e5adab0d9370b98a34c253f5d3fde050e1f1c |
|
2d1f7bf
Tweak some more
Bibo-Joshi Nov 28, 2020
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/2d1f7bf2ba586c86dd7e65eacd9ea1e41f11eaf6 |
|
166611b
Address review
Bibo-Joshi Nov 28, 2020
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/166611b3a35a3400a97866e0ae0e245a8e587fc0 |
|
03f0503
Update telegram/files/file.py
Bibo-Joshi Nov 29, 2020
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/03f05037026fb4361d555faab20756a6e9a20dee |
|
67f8918
Update telegram/utils/helpers.py
Bibo-Joshi Nov 29, 2020
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/67f8918b52356154a3b564063cecc57341c9cc76 |
|
c22ce33
Merge branch 'api-5.0-master' into api-5.0-local-bot-API-server
Bibo-Joshi Nov 29, 2020
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/c22ce33e668a4e30472ac345be1ec044d062eae5 |
|
Clear filters
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files |
| Please reload this page | https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files |
| Please reload this page | https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files |
|
bot.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-ca0526e3005b92a3844ee53d68688fe5a8c438332365a0efc3275a814cca5008 |
|
file.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345 |
|
inputmedia.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
helpers.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-d18a741ffd038a7b68453479cba52f796086e9e2bc1bc376ebd25e5d121b9ed3 |
|
types.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-579bb99b7b515044cbebd1957e0ea276a3546e2cd1f5fcab83e58b3ee9a98bce |
|
local_file.txt
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-a4d44514b4653f2aa6afea4febdede94d695a8de6f6f6a5fdf54108425be9fde |
|
test_animation.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-b8f40631b254920c1804a577a99f80f353062bedc615f6b08448c7cccaa78f5c |
|
test_audio.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-7508e3e3b4ca7d74c8f22926f85e5b37bf4a63ec157ae9b165fe11e275bcc8fe |
|
test_bot.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-16435365ee487202cae42fc85f2bcb3f6d3883545fbdce46cf68fd5c74abffbb |
|
test_document.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-78e792cfafc71ca614966d5be40f70098bf25e7ef39acece8692f691102db801 |
|
test_file.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-37da7019025c60a98cc1cea1ccc43217ec34e11a2d66e1b51ee29cf65abbbdf4 |
|
test_helpers.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-08a6944653efc734f4c8cb856fc854b9f21d655ca69796af2b170c53bff7919e |
|
test_inputmedia.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-99220f362df983ea0c86272f0510392a0ff655e62a76befe7cead59a95c1dde7 |
|
test_photo.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-eaddb8677ac1e55289ae8ee4a4f62bd7c202f79b14c2d3c195717cf5f69e7e87 |
|
test_sticker.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-7ad01768430ebb8e5c5ee707b4672e2601155763db9fc983fa4293544d9f8e9e |
|
test_video.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-c7fd815146b9df142d46ae881ad6f5fd0132e48a8808ab563c5436973ad16a22 |
|
test_videonote.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-c0c184558314f6d74f777da6aefc6c4991789cb4e41f6344a5328d9ae220dcae |
|
test_voice.py
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-74a5a1b356ecd2423577742e18d19c5c16d5b69f1962d4942b225279a88967bf |
| telegram/bot.py | https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-ca0526e3005b92a3844ee53d68688fe5a8c438332365a0efc3275a814cca5008 |
|
View file
| https://github.com/python-telegram-bot/python-telegram-bot/blob/c22ce33e668a4e30472ac345be1ec044d062eae5/telegram/bot.py |
|
Open in desktop
| https://desktop.github.com |
| Please reload this page | https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files |
| telegram/files/file.py | https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345 |
|
View file
| https://github.com/python-telegram-bot/python-telegram-bot/blob/c22ce33e668a4e30472ac345be1ec044d062eae5/telegram/files/file.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/{{ revealButtonHref }} |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345 |
| Please reload this page | https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345 |
| telegram/files/inputmedia.py | https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
View file
| https://github.com/python-telegram-bot/python-telegram-bot/blob/c22ce33e668a4e30472ac345be1ec044d062eae5/telegram/files/inputmedia.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/{{ revealButtonHref }} |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
|
| https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518 |
| Please reload this page | https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/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 |