Title: [FEATURE] New `TO.de_json_subclasses` method for parent classes · Issue #4346 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: [FEATURE] New `TO.de_json_subclasses` method for parent classes · Issue #4346 · python-telegram-bot/python-telegram-bot
X Title: [FEATURE] New `TO.de_json_subclasses` method for parent classes · Issue #4346 · python-telegram-bot/python-telegram-bot
Description: What kind of feature are you missing? Where do you notice a shortcoming of PTB? We can save some code duplication by extracting the de_json logic of classes like PaidMedia or ChatMember. Ideally this should go into TelegramObject so we c...
Open Graph Description: What kind of feature are you missing? Where do you notice a shortcoming of PTB? We can save some code duplication by extracting the de_json logic of classes like PaidMedia or ChatMember. Ideally th...
X Description: What kind of feature are you missing? Where do you notice a shortcoming of PTB? We can save some code duplication by extracting the de_json logic of classes like PaidMedia or ChatMember. Ideally th...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/4346
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[FEATURE] New `TO.de_json_subclasses` method for parent classes","articleBody":"### What kind of feature are you missing? Where do you notice a shortcoming of PTB?\n\nWe can save some code duplication by extracting the `de_json` logic of classes like `PaidMedia` or `ChatMember`. Ideally this should go into `TelegramObject` so we can easily call it.\n\n### Describe the solution you'd like\n\nhttps://github.com/python-telegram-bot/python-telegram-bot/pull/4334#discussion_r1665902751\n\n### Describe alternatives you've considered\n\nkeep doing what we do right now\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/harshil21","@type":"Person","name":"harshil21"},"datePublished":"2024-07-05T03:31:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/4346/python-telegram-bot/issues/4346"}
| 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:951d526d-1d54-b637-098b-9ae0ff8d58dc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C418:10B5C2:5CEFEB:7A0AED:6A5B2CD0 |
| html-safe-nonce | 171fa012a860209b3317acfa86b0a753de00509400da36e231cc7630df5ab419 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDE4OjEwQjVDMjo1Q0VGRUI6N0EwQUVEOjZBNUIyQ0QwIiwidmlzaXRvcl9pZCI6IjM4MDgzNjI0MzY3NDg4NDgzMzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b7b108d4ac33ee741acc8528543168d82c3f54cb227abdf8368898d300dc0080 |
| hovercard-subject-tag | issue:2391708969 |
| 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/4346/issue_layout |
| twitter:image | https://opengraph.githubassets.com/664108add9e99a73098d0b7cd6333590a54a865115d66ec63f1929828385fb4e/python-telegram-bot/python-telegram-bot/issues/4346 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/664108add9e99a73098d0b7cd6333590a54a865115d66ec63f1929828385fb4e/python-telegram-bot/python-telegram-bot/issues/4346 |
| og:image:alt | What kind of feature are you missing? Where do you notice a shortcoming of PTB? We can save some code duplication by extracting the de_json logic of classes like PaidMedia or ChatMember. Ideally th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | harshil21 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width