Function teloxide::dispatching::dialogue::enter
source · pub fn enter<Upd, S, D, Output>(
) -> Handler<'static, DependencyMap, Output, DpHandlerDescription>where
S: Storage<D> + ?Sized + Send + Sync + 'static,
<S as Storage<D>>::Error: Debug + Send,
D: Default + Send + Sync + 'static,
Upd: GetChatId + Clone + Send + Sync + 'static,
Output: Send + Sync + 'static,
Expand description
Enters a dialogue context.
A call to this function is the same as dptree::entry().enter_dialogue()
.
See HandlerExt::enter_dialogue
.
Dependency requirements
Arc<S>
Upd