Function teloxide::filter_command

source ·
pub fn filter_command<C, Output>(
) -> Handler<'static, DependencyMap, Output, DpHandlerDescription>where
    C: BotCommands + Send + Sync + 'static,
    Output: Send + Sync + 'static,
Expand description

Returns a handler that accepts a parsed command C.

A call to this function is the same as dptree::entry().filter_command().

See HandlerExt::filter_command.

Dependency requirements