Title: API 5.0 · Issue #2180 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: API 5.0 · Issue #2180 · python-telegram-bot/python-telegram-bot
X Title: API 5.0 · Issue #2180 · python-telegram-bot/python-telegram-bot
Description: I started dividing the long list of changes into small work packages, which can be tackled one by one. Went until file albums for now. feel free to edit & extend the list. If we work on this with multiple people, I propose making a api-5...
Open Graph Description: I started dividing the long list of changes into small work packages, which can be tackled one by one. Went until file albums for now. feel free to edit & extend the list. If we work on this with m...
X Description: I started dividing the long list of changes into small work packages, which can be tackled one by one. Went until file albums for now. feel free to edit & extend the list. If we work on this wi...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/2180
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"API 5.0","articleBody":"I started dividing the long list of changes into small work packages, which can be tackled one by one. Went until `file albums` for now. feel free to edit & extend the list.\r\n\r\nIf we work on this with multiple people, I propose making a `api-5.0-master` branch which we can feed the changes to one by one in standalone PRs so that we have small PRs to review and at the same time have one big PR for checking that `test_official` works out before we merge \r\n\r\n**Edit:** See #2181. all api-5.0-PRs should be based on `api-5.0-master`. If merge conflicts occour with master, we can merge once in the end.\r\n\r\n- [x] **WP1: API Servers** (@Bibo-Joshi, #2183)\r\nnew `logOut` and `close` methods\r\n\r\n- [x] **WP2.1: Webhooks** (@Bibo-Joshi, #2183)\r\nnew parameters for `set/deleteWebhook`\r\n\r\n- [x] **WP2.2: Webhooks** (@Bibo-Joshi, #2183)\r\n * New attribute for `WebhookInfo`\r\n\r\n- [x] **WP3.1: Groups** (@Bibo-Joshi, #2185)\r\nnew attributes for `Chat`, returned by `get_chat`\r\n\r\n- [x] **WP3.2: Groups** (@Bibo-Joshi, #2185)\r\n * new class `ChatLocation`\r\n * new parameter for `unban_chat_member`\r\n\r\n- [x] **WP4.1: Files** (@Bibo-Joshi, #2186 )\r\nnew attribute for `Audio` and `Video`\r\n\r\n- [x] **WP4.2: Files** (@Bibo-Joshi, #2186 )\r\nnew parameter for `send_document` and `InputMediaDocument`\r\n\r\n- [ ] **WP4.3: Files** (@Poolitzer, #2223)\r\ncheck how the custom bot API server behaves with the local flag and file download\r\n\r\n- [ ] **WP4.4: Files** (#2223)\r\nfor self hosted servers with the local flag, files can be passed as `file:///absolute/path/to/file`. Maybe not in the initial release of api 5.0 but at least in the long rung we should support\r\n * passing only `/absolute/path/to/file`\r\n * passing only `/relative/path/to/file`\r\n * maybe even passing a `pathlib.Path` object\r\n\r\n- [x] **WP5: Pinned messages** (@harshil21, #2184 )\r\n * new parameter for `unpit_chat_message`\r\n * new method `unpit_all_chat_messages`\r\n\r\n- [x] **WP6: File albums** (#2187)\r\nupdate type hints for `send_media_group`\r\n\r\n- [x] **WP7.1: Live Locations** (@Bibo-Joshi, #2188)\r\n * new attribute `live_period` for `Location`\r\n * new class `ProximityAlertTriggered`\r\n * new attribute `proximity_alert_triggered` for `Message`\r\n\r\n- [x] **WP7.2: Live Locations** (@Bibo-Joshi, #2188)\r\nnew attributes `heading`, `proximity_alert_distance` and `horizontal_accuracy` for `Location`, `InlineQueryResultLocation` and `InputLocationMessageContent`.\r\n\r\n- [x] **WP7.3: Live Locations** (@Bibo-Joshi, #2188)\r\nnew parameters `heading`, `proximity_alert_distance` and `horizontal_accuracy` for `send_location` and `edit_message_live_location`.\r\n\r\n- [x] **WP8.1: Anonymous Admins** (@Bibo-Joshi, #2189)\r\n * new attribute `sender_chat` for `Message`\r\n * ~depricate~ remove the recently added convenience properties (see #2147, that never was in a release, so we might as well remove completely)\r\n\r\n- [x] **WP8.2: Anonymous Admins** (@Bibo-Joshi, #2189)\r\n * new attribute `is_anonymous` for `ChatMember`\r\n * new parameter `is_anonymous` for `promote_chat_member`\r\n * update docstring of `Message.author_signature`\r\n\r\n- [x] **WP9.1: And More** (@Poolitzer, #2196 )\r\n * new class `MessageID`\r\n * new method `copy_message`\r\n * check if we have a constant for maximum poll question length. if yes, update, if no add\r\n\r\n- [ ] **WP9.2: And More - Entities** (@Bibo-Joshi, #2199)\r\nnew parameter `entities` for the `InputMedia` classes\r\n\r\n- [ ] **WP9.3 And More - Entities** (@Bibo-Joshi, #2199)\r\nnew parameter `entities` for the `InlineQueryResult` classes\r\n\r\n- [ ] **WP9.4: And More - Entities** (@Bibo-Joshi, #2199)\r\nnew parameter `entities` for the `send_{message,photo,video,animation,audio,document,voice,poll}` and `edit_message_{text,caption}` methods\r\n\r\n- [ ] **WP9.5: And More** (@Bibo-Joshi, #2193)\r\n * new google place attributes for `Venue`, `IQRVenue`, `InputVenueMessageContent`\r\n * new google api attributes parameters for `send_venue`\r\n\r\n- [x] **WP9.6: And More** (@Bibo-Joshi, #2192)\r\n * new parameter `allow_sending_without_reply` to all the `send_*` methods\r\n * add as Default\r\n\r\n- [x] **WP10: Dice** (@Bibo-Joshi, #2190)\r\n * Add football and slot machine to `Dice`\r\n * Add corresponding filters\r\n\r\n- [ ] **WP11.1: Meta**\r\n * double check that test_official is happy\r\n * double check that all the docs were updated correctly\r\n\r\n- [ ] **WP11.2: Meta**\r\ndouble check everything once more\r\n\r\n- [x] **WP12: Shortcuts (@Poolitzer, #2196 )**\r\nthis would be nice to have in the 5.0 PR but if not, that's okay too, then we'll do later\r\n * `Message.reply_copy` as shortcut for `copy_message(chat_id=message.chat_id, …)`\r\n * `Message.copy` as shortcut for `copy_message(from_chat_id=message.chat.id, message_id=message.message_id, …)`\r\n * `CallbackQuery.copy_message` as shortcut for `cbq.message.copy`\r\n * `{Chat, User}.copy_message` as shortcut for `copy_message(from_chat_id=chat/user.id, …)`\r\n * `{Chat, User}.send_copy` as shortcut for`copy_message(chat_id=chat/user.id, …)`\r\n\r\n- [x] **WP13: New things building on API 5.0** (#2205)\r\nthese can go into separate PRs and don't necessarily have to be released with API 5.0. just noting here before I forget:\r\n * use the self-hosted api servers to stabilize tests.\r\n * `Filters.sender_chat` working the same as `Filters.chat`. Calling `Filters.sender_chat(chat_id)` will allow to exclude anon. admins and forwarded channel posts in _specific_ groups. Also by now it's probably good to have `Filters.{chat, user, via_bot, sender_chat}` inherit from a common base class or from one another …\r\n * adding attributes `Filters.sender_chat.{super_group, channel}` will allow to exclude anon. admins and forwarded channel posts in _all_ groups\r\n\r\n- [x] **WP14: New Wiki page**\r\ncreate a wiki page listing common questions for self-hosted apis. this should include\r\n * a note about the `--local` flag and files\r\n * a note that the `base_url` should end with `/bot`","author":{"url":"https://github.com/Bibo-Joshi","@type":"Person","name":"Bibo-Joshi"},"datePublished":"2020-11-04T21:29:33Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/2180"}
| 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:8238e1f0-810c-3dda-54d1-7ec1ca17de59 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E936:29FFA9:50DC4D1:6609CC0:6B026DC5 |
| html-safe-nonce | 4ecc6930d9ed6014b5ff7a3f753ce309a5bc1ee65aab3d3b8a6f4717c20229a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTM2OjI5RkZBOTo1MERDNEQxOjY2MDlDQzA6NkIwMjZEQzUiLCJ2aXNpdG9yX2lkIjoiNzM3MTg4NDI2OTUzNjQzOTc0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0fbfdf6813095cc2975b3a4ed889578a0b59ad0e9dff3ed059543bc4bc43add2 |
| hovercard-subject-tag | issue:736435875 |
| 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/2180/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c9c4b571e2205c5f9e06d0297cad3fece5a6774662822b2c782a88a777f2fdfd/python-telegram-bot/python-telegram-bot/issues/2180 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9c4b571e2205c5f9e06d0297cad3fece5a6774662822b2c782a88a777f2fdfd/python-telegram-bot/python-telegram-bot/issues/2180 |
| og:image:alt | I started dividing the long list of changes into small work packages, which can be tackled one by one. Went until file albums for now. feel free to edit & extend the list. If we work on this with m... |
| 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