pub async fn network_retry_loop<'a, A, AF, E>(
config: NetworkLoopConfig<'a, A, E>,
) -> Result<(), TelegramError>Expand description
Run action_cb in a loop, retrying on TelegramError according to the
back-off / retry policy described by config.
ยงErrors
Returns the last TelegramError if retries are exhausted, or propagates
an InvalidToken error immediately.