telers 1.0.0-beta.7

An asynchronous framework for Telegram Bot API written in Rust
Documentation
//! Helper utilities around the core routing flow.
//!
//! - [`text`] contains utilities for building, formatting and rendering message text
//!   with entities (HTML / `MarkdownV2`)
//! - [`chat_action`] keeps a chat action like "typing" alive during long-running
//!   operations via [`ChatActionSender`]
//! - [`token`] validates a bot token and extracts the bot id from it
//! - [`signal`] (feature `signal`) provides a [`shutdown_signal`] future for graceful shutdown

mod error;

pub(crate) use error::format_error_report;

pub mod chat_action;
pub mod text;
pub mod token;

pub use chat_action::{ChatActionGuard, ChatActionSender};

#[cfg(feature = "signal")]
pub mod signal;

#[cfg(feature = "signal")]
pub use signal::shutdown_signal;