mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-31 16:40:37 +01:00
Fix doc test that uses polling
This commit is contained in:
parent
b8579c52d1
commit
49771e2d89
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ type FiltersWithHandlers<'a, T, E> = Vec<FilterWithHandler<'a, T, E>>;
|
|||
///
|
||||
/// use teloxide::{
|
||||
/// dispatching::{
|
||||
/// dispatchers::filter::FilterDispatcher, updaters::polling_basic,
|
||||
/// dispatchers::filter::FilterDispatcher, updaters::polling_default,
|
||||
/// },
|
||||
/// types::Message,
|
||||
/// Bot,
|
||||
|
@ -65,7 +65,7 @@ type FiltersWithHandlers<'a, T, E> = Vec<FilterWithHandler<'a, T, E>>;
|
|||
/// .edited_message_handler(true, handle_edited_message);
|
||||
///
|
||||
/// // Start dispatching updates from long polling
|
||||
/// dp.dispatch(polling_basic(&bot)).await;
|
||||
/// dp.dispatch(polling_default(&bot)).await;
|
||||
/// # }
|
||||
/// ```
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue