mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-25 08:37:07 +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
|
specifies if and how
|
||||||
it handles updates
|
it handles updates
|
||||||
");
|
");
|
||||||
BaseRateLimiter("
|
|
||||||
ext.BaseRateLimiter
|
|
||||||
interface for rate limiting
|
|
||||||
API requests
|
|
||||||
");
|
|
||||||
BaseRequest("
|
BaseRequest("
|
||||||
request.BaseRequest
|
request.BaseRequest
|
||||||
interface for handling the
|
interface for handling the
|
||||||
|
@ -56,6 +52,17 @@ flowchart TD;
|
||||||
Convenience class for unified
|
Convenience class for unified
|
||||||
access to different objects within
|
access to different objects within
|
||||||
handler/job/error callbacks
|
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("
|
CallbackDataCache("
|
||||||
ext.CallbackDataCache
|
ext.CallbackDataCache
|
||||||
|
@ -67,12 +74,7 @@ flowchart TD;
|
||||||
specifies types of
|
specifies types of
|
||||||
the context argument
|
the context argument
|
||||||
");
|
");
|
||||||
Defaults("
|
|
||||||
ext.Defaults
|
|
||||||
gathers default values for frequently
|
|
||||||
used parameters of (ext.Ext)Bot,
|
|
||||||
Ext.JobQueue and ext.BaseHandler
|
|
||||||
");
|
|
||||||
JobQueue("
|
JobQueue("
|
||||||
ext.JobQueue
|
ext.JobQueue
|
||||||
schedules tasks to run
|
schedules tasks to run
|
||||||
|
@ -98,8 +100,8 @@ flowchart TD;
|
||||||
BasePersistence -- holds a reference --> Bot;
|
BasePersistence -- holds a reference --> Bot;
|
||||||
BaseRateLimiter -- rate limits requests<br>to the API --> BaseRequest;
|
BaseRateLimiter -- rate limits requests<br>to the API --> BaseRequest;
|
||||||
Bot -- dispatches requests<br>to the API --> BaseRateLimiter;
|
Bot -- dispatches requests<br>to the API --> BaseRateLimiter;
|
||||||
Bot -- gets default values<br>for parameters --> Defaults;
|
|
||||||
Bot -- stores arbitrary<br>callback_data --> CallbackDataCache;
|
Bot -- stores arbitrary<br>callback_data --> CallbackDataCache;
|
||||||
|
Bot -- gets default values<br>for parameters --> Defaults;
|
||||||
JobQueue -- accesses to<br>build context --> ContextTypes;
|
JobQueue -- accesses to<br>build context --> ContextTypes;
|
||||||
Updater -- calls get_updates<br>& set/delete_webhook --> Bot;
|
Updater -- calls get_updates<br>& set/delete_webhook --> Bot;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue