mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 14:46:29 +01:00
Rename v14 to v20
parent
4fe650390b
commit
b7a4cdc17c
5 changed files with 5 additions and 5 deletions
|
@ -5,6 +5,6 @@ That means, if you're making a production-ready bot, which should serve numerous
|
|||
|
||||
## Available tools and their implementation details
|
||||
|
||||
Currently PTB has no built-in mechanism to avoid flood limits. The previously used `MessageQueue` was removed in v14 as it had a number of bugs and was not well integrated with the library.
|
||||
Currently, PTB has no built-in mechanism to avoid flood limits. The previously used `MessageQueue` was removed in v20 as it had a number of bugs and was not well integrated with the library.
|
||||
|
||||
Adding a new mechanism is on the roadmap.
|
2
Home.md
2
Home.md
|
@ -12,7 +12,7 @@
|
|||
Other todo:
|
||||
|
||||
- [ ] new page on general architecture overview
|
||||
- [ ] Link to the architecture diagram once that's contained in the v14/master branch
|
||||
- [ ] Link to the architecture diagram once that's contained in the v20/master branch
|
||||
- [ ] new write up for the `Concurrency` page - for now I just copied the `multithreading` stuff from the v13 Performance Optimizations page
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Introduction
|
||||
Hey, this wiki page will walk you through the inline keyboard example found [here](../blob/master/examples/inlinekeyboard.py). We will start with how python starts with the example, then follow through the code in the same way we expect updates from the user would go through it. Let's do it.
|
||||
|
||||
> ⚠️ This page has not yet been updated to v14.
|
||||
> ⚠️ This page has not yet been updated to v20.
|
||||
|
||||
_Disclaimer: We will conveniently ignore the imports._
|
||||
## Startup
|
||||
|
|
|
@ -47,7 +47,7 @@ We've made an effort to make it more clear which parts of `python-telegram-bot`
|
|||
|
||||
## `__slots__`
|
||||
|
||||
We introduced the usage of `__slots__` in v13.6, which can reduce memory usage and improve performance. In v14 we removed the ability to set custom attributes on all objects except for `ext.CallbackContext`. To store data, we recommend to use PTBs built-in mechanism for [storing data](Storing-bot,-user-and-chat-related-data) instead. If you want to add additional functionality to some class, we suggest to subclass it.
|
||||
We introduced the usage of `__slots__` in v13.6, which can reduce memory usage and improve performance. In v20 we removed the ability to set custom attributes on all objects except for `ext.CallbackContext`. To store data, we recommend to use PTBs built-in mechanism for [storing data](Storing-bot,-user-and-chat-related-data) instead. If you want to add additional functionality to some class, we suggest to subclass it.
|
||||
|
||||
## Overall architecture
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
- [[Version 5|Transition-guide-to-Version-5.0]]
|
||||
- [[Version 12|Transition-guide-to-Version-12.0]]
|
||||
- [[Version 13|Transition-guide-to-Version-13.0]]
|
||||
- [[Version 14|Transition-guide-to-Version-14.0]]
|
||||
- [[Version 20|Transition-guide-to-Version-20.0]]
|
||||
|
||||
## Administration
|
||||
|
||||
|
|
Loading…
Reference in a new issue