mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +01:00
Changes in the mermaid graph: moved baseRateLimiter to the right
parent
9b0e7696df
commit
986a506ce3
1 changed files with 15 additions and 13 deletions
|
@ -24,11 +24,7 @@ flowchart TD;
|
|||
specifies if and how
|
||||
it handles updates
|
||||
");
|
||||
BaseRateLimiter("
|
||||
ext.BaseRateLimiter
|
||||
interface for rate limiting
|
||||
API requests
|
||||
");
|
||||
|
||||
BaseRequest("
|
||||
request.BaseRequest
|
||||
interface for handling the
|
||||
|
@ -56,6 +52,17 @@ flowchart TD;
|
|||
Convenience class for unified
|
||||
access to different objects within
|
||||
handler/job/error callbacks
|
||||
");
|
||||
BaseRateLimiter("
|
||||
ext.BaseRateLimiter
|
||||
interface for rate limiting
|
||||
API requests
|
||||
");
|
||||
Defaults("
|
||||
ext.Defaults
|
||||
gathers default values for frequently
|
||||
used parameters of (ext.Ext)Bot,
|
||||
Ext.JobQueue and ext.BaseHandler
|
||||
");
|
||||
CallbackDataCache("
|
||||
ext.CallbackDataCache
|
||||
|
@ -67,12 +74,7 @@ flowchart TD;
|
|||
specifies types of
|
||||
the context argument
|
||||
");
|
||||
Defaults("
|
||||
ext.Defaults
|
||||
gathers default values for frequently
|
||||
used parameters of (ext.Ext)Bot,
|
||||
Ext.JobQueue and ext.BaseHandler
|
||||
");
|
||||
|
||||
JobQueue("
|
||||
ext.JobQueue
|
||||
schedules tasks to run
|
||||
|
@ -98,11 +100,11 @@ flowchart TD;
|
|||
BasePersistence -- holds a reference --> Bot;
|
||||
BaseRateLimiter -- rate limits requests<br>to the API --> BaseRequest;
|
||||
Bot -- dispatches requests<br>to the API --> BaseRateLimiter;
|
||||
Bot -- stores arbitrary<br>callback_data --> CallbackDataCache;
|
||||
Bot -- gets default values<br>for parameters --> Defaults;
|
||||
Bot -- stores arbitrary<br>callback_data --> CallbackDataCache;
|
||||
JobQueue -- accesses to<br>build context --> ContextTypes;
|
||||
Updater -- calls get_updates<br>& set/delete_webhook --> Bot;
|
||||
|
||||
|
||||
```
|
||||
|
||||
---
|
||||
|
|
Loading…
Reference in a new issue