Expand description
tele is an ergonomic Telegram Bot API SDK for Rust.
Built on reqx, with strict error modeling and async/blocking parity.
Re-exports§
pub use auth::Auth;pub use auth::BotToken;pub use auth::VerifiedWebAppInitData;pub use auth::parse_web_app_init_data;pub use auth::verify_web_app_init_data;pub use client::BlockingClient;pub use client::Client;pub use client::AppApi;pub use client::ControlApi;pub use client::RawApi;pub use client::SetupApi;pub use client::TypedApi;pub use client::WebAppApi;pub use client::BlockingAppApi;pub use client::BlockingControlApi;pub use client::BlockingRawApi;pub use client::BlockingTypedApi;pub use client::BlockingSetupApi;pub use client::BlockingWebAppApi;pub use client::BootstrapFetchStepReport;pub use client::BootstrapGetMePolicy;pub use client::BootstrapOutcome;pub use client::BootstrapPlan;pub use client::BootstrapReport;pub use client::BootstrapRetryPolicy;pub use client::BootstrapStepDiagnostics;pub use client::BootstrapStepPhase;pub use client::BootstrapStepStatus;pub use client::BootstrapSyncStepReport;pub use client::ClientMetric;pub use client::ClientMetricHook;pub use client::MenuButtonConfig;pub use client::WebAppQueryPayload;pub use client::ClientBuilder;pub use client::RateLimitConfig;pub use client::RetryConfig;pub use error::Error;pub use error::ErrorClass;pub use error::Result;pub use types::UploadFile;
Modules§
- api
- Telegram API service modules.
- auth
- bot
- client
- error
- prelude
- Common imports for building Telegram bots with
tele. - testing
- Test utilities for SDK and downstream integration tests.
- types
- Telegram Bot API request and response models.