kcode-telegram-request-policy 0.1.0

Bounded retry and safe error-classification policy for Telegram requests and downloads
Documentation
1
2
3
4
5
6
7
# kcode-telegram-request-policy

`kcode-telegram-request-policy` is a focused Rust library for bounded Telegram Bot API request and file-download retries. It preserves five-total-attempt behavior, exponential network backoff, exact `RetryAfter` delays, and stable error classes suitable for logs that must not expose raw provider errors or token-bearing request URLs.

The crate exposes only retry helpers and safe error classifiers. It owns no bot token, client construction, persistence, identity, sessions, group policy, media classification, batching, dispatch, or transport state.

See [Documentation.md](./Documentation.md) for the authoritative retry, classification, logging, and compatibility contract. The literal package version in `Cargo.toml` is canonical.