Title: API 4.7 · Issue #1856 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: API 4.7 · Issue #1856 · python-telegram-bot/python-telegram-bot
X Title: API 4.7 · Issue #1856 · python-telegram-bot/python-telegram-bot
Description: Pure API updates: Add class Dice Add Bot.send_dice Add Message.dice Add Message.reply_dice Add class BotCommand Add Bot.get_my_commands Add Bot.set_my_commands Add Bot.commands property Add parameter tgs_sticker to Bot.create_new_sticker...
Open Graph Description: Pure API updates: Add class Dice Add Bot.send_dice Add Message.dice Add Message.reply_dice Add class BotCommand Add Bot.get_my_commands Add Bot.set_my_commands Add Bot.commands property Add paramet...
X Description: Pure API updates: Add class Dice Add Bot.send_dice Add Message.dice Add Message.reply_dice Add class BotCommand Add Bot.get_my_commands Add Bot.set_my_commands Add Bot.commands property Add paramet...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/1856
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"API 4.7","articleBody":"Pure API updates:\r\n\r\n- [x] Add class `Dice`\r\n- [x] Add `Bot.send_dice`\r\n- [x] Add `Message.dice`\r\n- [x] Add `Message.reply_dice`\r\n- [x] Add class `BotCommand`\r\n- [x] Add `Bot.get_my_commands`\r\n- [x] Add `Bot.set_my_commands`\r\n- [x] Add `Bot.commands` property\r\n- [x] Add parameter `tgs_sticker` to `Bot.create_new_sticker_set`\r\n- [x] Add parameter `tgs_sticker` to `Bot.add_sticker_to_set`\r\n- [x] Add `StickerSet.thumb`\r\n- [x] Add `Bot.set_sticker_set_thumb`\r\n- [x] Add warning about changed parameter order for `Bot.create_new_sticker_set` and `Bot.add_sticker_to_set` to release notes\r\n\r\nMy suggestions for according new functionality:\r\n\r\n- [x] Add `Filters.dice` to filter messages containing a dice\r\n- [x] Allow `Filters.dice(1)` and `Filters.dice([1, 5])` to filters for dices with specific values\r\n- [ ] Somehow allow to treat a dice message as text message with the corresponding emoji via `Filters.text` and `Message.effective_message`?\r\n- [x] ~Maybe add a `description` attribute to `CommandHandler` and a method `Dispatcher.set_bot_commands` that automatically sets the bot commands by retrieving them from the registered handlers?~","author":{"url":"https://github.com/Bibo-Joshi","@type":"Person","name":"Bibo-Joshi"},"datePublished":"2020-03-30T15:28:46Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/1856"}
| 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:ee88881f-067f-64c2-2f26-859c2a4a1ee0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E182:19E4BB:49C74EE:5DDC22B:6B025889 |
| html-safe-nonce | e477d5f799bcc740a84e5acc007e839ff82db26eabb3f45d1d6c046bb91f0bb3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTgyOjE5RTRCQjo0OUM3NEVFOjVEREMyMkI6NkIwMjU4ODkiLCJ2aXNpdG9yX2lkIjoiMzE5NTM5ODY5Mjk4MzE2NzExMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b9729632f0ba45be6c861c7711473bd28bb40f6cba1b5ea4482a6d2d2e974151 |
| hovercard-subject-tag | issue:590382631 |
| 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/1856/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cb4d089ec8d9f74ce23979d61c8e7d1a65498f047a060daf3f309b1159b6b6e0/python-telegram-bot/python-telegram-bot/issues/1856 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cb4d089ec8d9f74ce23979d61c8e7d1a65498f047a060daf3f309b1159b6b6e0/python-telegram-bot/python-telegram-bot/issues/1856 |
| og:image:alt | Pure API updates: Add class Dice Add Bot.send_dice Add Message.dice Add Message.reply_dice Add class BotCommand Add Bot.get_my_commands Add Bot.set_my_commands Add Bot.commands property Add paramet... |
| 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