#![cfg_attr(feature = "nightly", cfg_attr(feature = "nightly", doc = include_str!("features.md")))]
#![doc(
html_logo_url = "https://github.com/teloxide/teloxide/raw/master/media/teloxide-logo.png",
html_favicon_url = "https://github.com/teloxide/teloxide/raw/master/teloxide-logo.png"
)]
#![cfg_attr(all(docsrs, feature = "nightly"), feature(doc_cfg, doc_auto_cfg))]
#![forbid(unsafe_code)]
#![warn(rustdoc::broken_intra_doc_links)]
#![allow(clippy::match_bool)]
#![allow(clippy::redundant_pattern_matching)]
#![allow(clippy::nonstandard_macro_braces)]
#[cfg(feature = "ctrlc_handler")]
pub use repls::{repl, repl_with_listener};
#[cfg(feature = "ctrlc_handler")]
#[allow(deprecated)]
pub use repls::{commands_repl, commands_repl_with_listener};
pub mod dispatching;
pub mod error_handlers;
pub mod prelude;
#[cfg(all(feature = "ctrlc_handler"))]
pub mod repls;
pub mod stop;
pub mod update_listeners;
pub mod utils;
#[doc(inline)]
pub use teloxide_core::*;
#[cfg(feature = "macros")]
pub use teloxide_macros as macros;
pub use dispatching::filter_command;
pub use dptree::{self, case as handler};
#[cfg(all(feature = "nightly", doctest))]
#[cfg_attr(feature = "nightly", cfg_attr(feature = "nightly", doc = include_str!("../../../README.md")))]
enum ReadmeDocTests {}
use teloxide_core::requests::ResponseResult;
pub fn respond<T>(val: T) -> ResponseResult<T> {
ResponseResult::Ok(val)
}