Title: Refactor how InputMedia* subclasses handle inits · Issue #2573 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: Refactor how InputMedia* subclasses handle inits · Issue #2573 · python-telegram-bot/python-telegram-bot
X Title: Refactor how InputMedia* subclasses handle inits · Issue #2573 · python-telegram-bot/python-telegram-bot
Description: Currently all the subclasses handle the init completely on their own, while it would make more sense to move all attributes shared between the subclasses to InputMedia, i.e. call super().__init__ like we do for InlineQueryResult*. This i...
Open Graph Description: Currently all the subclasses handle the init completely on their own, while it would make more sense to move all attributes shared between the subclasses to InputMedia, i.e. call super().__init__ l...
X Description: Currently all the subclasses handle the init completely on their own, while it would make more sense to move all attributes shared between the subclasses to InputMedia, i.e. call super().__init__ l...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/2573
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Refactor how InputMedia* subclasses handle inits","articleBody":"Currently all the subclasses handle the init completely on their own, while it would make more sense to move all attributes shared between the subclasses to `InputMedia`, i.e. call `super().__init__` like we do for `InlineQueryResult*`. This includes the attributes `caption_entities`, `parse_mode`, `type`, `media` & `caption`\r\n\r\nSee https://t.me/c/1494805131/16382 + replies for discussion.","author":{"url":"https://github.com/Bibo-Joshi","@type":"Person","name":"Bibo-Joshi"},"datePublished":"2021-06-25T21:02:45Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/2573"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:af780410-ff19-5aee-a749-19e53fa841ca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C166:1F82:469944:5C419C:6B0242F2 |
| html-safe-nonce | 29a12c7bb68794b650a9d9baedb051412d69e456811a6ab0b5da990fc19badb9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTY2OjFGODI6NDY5OTQ0OjVDNDE5Qzo2QjAyNDJGMiIsInZpc2l0b3JfaWQiOiIyNTA2ODE1OTM4MjIxOTgyNDUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | edc17f49402e91ca6e3a1ec84c514566f2a72681f49ad9f7457a557ca7ef5429 |
| hovercard-subject-tag | issue:930500421 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-telegram-bot/python-telegram-bot/2573/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8f3ba57ddad74e24b8f8c10eda0d2044fe14b861ab6005348b0d570c265dd551/python-telegram-bot/python-telegram-bot/issues/2573 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8f3ba57ddad74e24b8f8c10eda0d2044fe14b861ab6005348b0d570c265dd551/python-telegram-bot/python-telegram-bot/issues/2573 |
| og:image:alt | Currently all the subclasses handle the init completely on their own, while it would make more sense to move all attributes shared between the subclasses to InputMedia, i.e. call super().__init__ l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Bibo-Joshi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width