Changes in the mermaid graph: moved baseRateLimiter to the right

Luca Bellanti 2024-02-18 16:22:50 +01:00
parent 9b0e7696df
commit 986a506ce3

@ -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,8 +100,8 @@ 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;