mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-25 00:27:46 +01:00
add some notes on the architecture page
parent
b174fc80d4
commit
40798d8339
1 changed files with 21 additions and 1 deletions
|
@ -1,3 +1,23 @@
|
|||
# Architecture
|
||||
|
||||
> Here be text
|
||||
![PTB Architecture](https://gcdnb.pbrd.co/images/VYfQoTJBY1Mo.png?o=1)
|
||||
|
||||
## Required and optional components
|
||||
|
||||
> Explain which components are opt-in and which are opt-out.
|
||||
|
||||
* `Updater`
|
||||
* `JobQueue`
|
||||
* `CallbackDataCache`
|
||||
* `Defaults`
|
||||
* `BasePersistence`
|
||||
* `ContextTypes`
|
||||
|
||||
## Customizing Components
|
||||
|
||||
> Explain which components can (or even must) be replaced by custom implementations
|
||||
|
||||
* `BasePersistence`
|
||||
* `BaseRequest`
|
||||
* `Handler`
|
||||
* `Application` (special case in the builder pattern)
|
Loading…
Reference in a new issue