mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +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...
|
||||
//!
|
||||
//! Dispatcher::new(Bot::new("MyAwesomeToken"))
|
||||
//! .message_handler(|ctx: DispatcherHandlerCtx<Message>| async move {
|
||||
//! ctx.reply("pong").await
|
||||
//! .message_handler(|ctx: DispatcherHandlerCtx<Message>| {
|
||||
//! async move {
|
||||
//! ctx.answer("pong").send().await?;
|
||||
//! }
|
||||
//! })
|
||||
//! .dispatch()
|
||||
//! .await;
|
||||
|
|
Loading…
Reference in a new issue