teloxide/repls.rs
1//! [REPL]s for dispatching updates.
2//!
3//! This module provides utilities for easy update handling. They accept a
4//! single "handler" function that processes all updates of a certain kind. Note
5//! that REPLs are meant to be used for simple scenarios, such as prototyping,
6//! inasmuch they lack configuration and some [advanced features].
7//!
8//! [REPL]: https://en.wikipedia.org/wiki/Read-eval-print_loop
9//! [advanced features]: crate::dispatching#dispatching-or-repls
10
11mod commands_repl;
12mod repl;
13
14pub use commands_repl::CommandReplExt;
15pub use repl::{repl, repl_with_listener};