mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
commit
685d85b62d
1 changed files with 4 additions and 2 deletions
|
@ -28,7 +28,7 @@ type FiltersWithHandlers<'a, T, E> = Vec<FilterWithHandler<'a, T, E>>;
|
||||||
/// acts:
|
/// acts:
|
||||||
///
|
///
|
||||||
/// <div align="center">
|
/// <div align="center">
|
||||||
/// <img src="https://github.com/teloxide/teloxide/blob/dev/media/FILTER_DP_FLOWCHART.png" width="700" />
|
/// <img src="https://raw.githubusercontent.com/teloxide/teloxide/dev/media/FILTER_DP_FLOWCHART.png" width="700" />
|
||||||
/// </div>
|
/// </div>
|
||||||
///
|
///
|
||||||
/// ## Examples
|
/// ## Examples
|
||||||
|
@ -69,8 +69,10 @@ type FiltersWithHandlers<'a, T, E> = Vec<FilterWithHandler<'a, T, E>>;
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// [`std::fmt::Debug`]: std::fmt::Debug
|
/// [`std::fmt::Debug`]: std::fmt::Debug
|
||||||
/// [updater]: crate::dispatching::updater
|
|
||||||
/// [`.dispatch(updater)`]: FilterDispatcher::dispatch
|
/// [`.dispatch(updater)`]: FilterDispatcher::dispatch
|
||||||
|
/// [`ErrorHandler`]: crate::dispatching::error_handlers::ErrorHandler
|
||||||
|
/// [`Updater`]: crate::dispatching::updaters::Updater
|
||||||
|
/// [`Handler`]: crate::dispatching::Handler
|
||||||
pub struct FilterDispatcher<'a, E, Eh> {
|
pub struct FilterDispatcher<'a, E, Eh> {
|
||||||
message_handlers: FiltersWithHandlers<'a, Message, E>,
|
message_handlers: FiltersWithHandlers<'a, Message, E>,
|
||||||
edited_message_handlers: FiltersWithHandlers<'a, Message, E>,
|
edited_message_handlers: FiltersWithHandlers<'a, Message, E>,
|
||||||
|
|
Loading…
Reference in a new issue