mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-26 16:28:58 +01:00
fixed test (but it still failed, help please)
This commit is contained in:
parent
6bb8241f27
commit
b064b85d37
1 changed files with 4 additions and 2 deletions
|
@ -26,8 +26,10 @@
|
||||||
//! // Setup logging here...
|
//! // Setup logging here...
|
||||||
//!
|
//!
|
||||||
//! Dispatcher::new(Bot::new("MyAwesomeToken"))
|
//! Dispatcher::new(Bot::new("MyAwesomeToken"))
|
||||||
//! .message_handler(|ctx: DispatcherHandlerCtx<Message>| async move {
|
//! .message_handler(|ctx: DispatcherHandlerCtx<Message>| {
|
||||||
//! ctx.reply("pong").await
|
//! async move {
|
||||||
|
//! ctx.answer("pong").send().await?;
|
||||||
|
//! }
|
||||||
//! })
|
//! })
|
||||||
//! .dispatch()
|
//! .dispatch()
|
||||||
//! .await;
|
//! .await;
|
||||||
|
|
Loading…
Add table
Reference in a new issue