Trait teloxide::dispatching::MessageFilterExt
source · pub trait MessageFilterExt<Out>: Sealed {
Show 16 methods
fn filter_from(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_animation(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_audio(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_contact(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_document(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_location(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_photo(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_poll(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_sticker(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_text(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_reply_to_message(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_forward_from(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_new_chat_members(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_left_chat_member(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_pinned(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
fn filter_dice(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>;
}
Expand description
Filter methods for Message
.
Required Methods§
sourcefn filter_from() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_from() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::from
filter.
sourcefn filter_animation(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_animation(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::animation
filter.
sourcefn filter_audio() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_audio() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::audio
filter.
sourcefn filter_contact(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_contact(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::contact
filter.
sourcefn filter_document(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_document(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::document
filter.
sourcefn filter_location(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_location(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::location
filter.
sourcefn filter_photo() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_photo() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::photo
filter.
sourcefn filter_poll() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_poll() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::poll
filter.
sourcefn filter_sticker(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_sticker(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::sticker
filter.
sourcefn filter_text() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_text() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::text
filter.
sourcefn filter_reply_to_message(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_reply_to_message(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::reply_to_message
filter.
sourcefn filter_forward_from(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_forward_from(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::forward_from
filter.
sourcefn filter_new_chat_members(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_new_chat_members(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::new_chat_members
filter.
sourcefn filter_left_chat_member(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_left_chat_member(
) -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::left_chat_member
filter.
sourcefn filter_pinned() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_pinned() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::pinned_message
filter.
sourcefn filter_dice() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
fn filter_dice() -> Handler<'static, DependencyMap, Out, DpHandlerDescription>
Applies the Message::dice
filter.