Skip to main content

Module network_loop

Module network_loop 

Source
Expand description

A retry loop for network-oriented operations against the Telegram API.

Port of telegram.ext._utils.networkloop.network_retry_loop. This is library-internal and not part of the public API stability guarantee.

Structs§

NetworkLoopConfig
Parameters for network_retry_loop.

Functions§

network_retry_loop
Run action_cb in a loop, retrying on TelegramError according to the back-off / retry policy described by config.