Skip to main content

MessageFilterExt

Trait MessageFilterExt 

Source
pub trait MessageFilterExt<Out>: Sealed {
Show 64 methods // Required methods fn filter_from() -> Handler<'static, Out, DpHandlerDescription>; fn filter_animation() -> Handler<'static, Out, DpHandlerDescription>; fn filter_audio() -> Handler<'static, Out, DpHandlerDescription>; fn filter_contact() -> Handler<'static, Out, DpHandlerDescription>; fn filter_document() -> Handler<'static, Out, DpHandlerDescription>; fn filter_paid_media() -> Handler<'static, Out, DpHandlerDescription>; fn filter_game() -> Handler<'static, Out, DpHandlerDescription>; fn filter_venue() -> Handler<'static, Out, DpHandlerDescription>; fn filter_location() -> Handler<'static, Out, DpHandlerDescription>; fn filter_photo() -> Handler<'static, Out, DpHandlerDescription>; fn filter_poll() -> Handler<'static, Out, DpHandlerDescription>; fn filter_checklist() -> Handler<'static, Out, DpHandlerDescription>; fn filter_sticker() -> Handler<'static, Out, DpHandlerDescription>; fn filter_story() -> Handler<'static, Out, DpHandlerDescription>; fn filter_text() -> Handler<'static, Out, DpHandlerDescription>; fn filter_video() -> Handler<'static, Out, DpHandlerDescription>; fn filter_video_note() -> Handler<'static, Out, DpHandlerDescription>; fn filter_voice() -> Handler<'static, Out, DpHandlerDescription>; fn filter_migration() -> Handler<'static, Out, DpHandlerDescription>; fn filter_migration_from() -> Handler<'static, Out, DpHandlerDescription>; fn filter_migration_to() -> Handler<'static, Out, DpHandlerDescription>; fn filter_reply_to_message() -> Handler<'static, Out, DpHandlerDescription>; fn filter_forward_origin() -> Handler<'static, Out, DpHandlerDescription>; fn filter_reply_to_story() -> Handler<'static, Out, DpHandlerDescription>; fn filter_new_chat_members() -> Handler<'static, Out, DpHandlerDescription>; fn filter_left_chat_member() -> Handler<'static, Out, DpHandlerDescription>; fn filter_new_chat_title() -> Handler<'static, Out, DpHandlerDescription>; fn filter_new_chat_photo() -> Handler<'static, Out, DpHandlerDescription>; fn filter_delete_chat_photo() -> Handler<'static, Out, DpHandlerDescription>; fn filter_group_chat_created( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_supergroup_chat_created( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_channel_chat_created( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_message_auto_delete_timer_changed( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_pinned() -> Handler<'static, Out, DpHandlerDescription>; fn filter_invoice() -> Handler<'static, Out, DpHandlerDescription>; fn filter_successful_payment( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_connected_website() -> Handler<'static, Out, DpHandlerDescription>; fn filter_write_access_allowed( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_passport_data() -> Handler<'static, Out, DpHandlerDescription>; fn filter_dice() -> Handler<'static, Out, DpHandlerDescription>; fn filter_proximity_alert_triggered( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_boost_added() -> Handler<'static, Out, DpHandlerDescription>; fn filter_chat_background_set( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_checklist_tasks_done( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_checklist_tasks_added( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_direct_message_price_changed( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_forum_topic_created( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_forum_topic_edited( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_forum_topic_closed( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_forum_topic_reopened( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_general_forum_topic_hidden( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_general_forum_topic_unhidden( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_giveaway() -> Handler<'static, Out, DpHandlerDescription>; fn filter_giveaway_completed( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_giveaway_created() -> Handler<'static, Out, DpHandlerDescription>; fn filter_giveaway_winners() -> Handler<'static, Out, DpHandlerDescription>; fn filter_paid_message_price_changed( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_gift_info() -> Handler<'static, Out, DpHandlerDescription>; fn filter_unique_gift_info() -> Handler<'static, Out, DpHandlerDescription>; fn filter_video_chat_scheduled( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_video_chat_started( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_video_chat_ended() -> Handler<'static, Out, DpHandlerDescription>; fn filter_video_chat_participants_invited( ) -> Handler<'static, Out, DpHandlerDescription>; fn filter_web_app_data() -> Handler<'static, Out, DpHandlerDescription>;
}
Expand description

Filter methods for Message.

Required Methods§

Source

fn filter_from() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::from filter.

Source

fn filter_animation() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::animation filter.

Source

fn filter_audio() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::audio filter.

Source

fn filter_contact() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::contact filter.

Source

fn filter_document() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::document filter.

Source

fn filter_paid_media() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::paid_media filter.

Source

fn filter_game() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::game filter.

Source

fn filter_venue() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::venue filter.

Source

fn filter_location() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::location filter.

Source

fn filter_photo() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::photo filter.

Source

fn filter_poll() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::poll filter.

Source

fn filter_checklist() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::checklist filter.

Source

fn filter_sticker() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::sticker filter.

Source

fn filter_story() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::story filter.

Source

fn filter_text() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::text filter.

Source

fn filter_video() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::video filter.

Source

fn filter_video_note() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::video_note filter.

Source

fn filter_voice() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::voice filter.

Source

fn filter_migration() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::chat_migration filter.

Source

fn filter_migration_from() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::migrate_from_chat_id filter.

Source

fn filter_migration_to() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::migrate_to_chat_id filter.

Source

fn filter_reply_to_message() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::reply_to_message filter.

Source

fn filter_forward_origin() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::forward_origin filter.

Source

fn filter_reply_to_story() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::reply_to_story filter.

Source

fn filter_new_chat_members() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::new_chat_members filter.

Source

fn filter_left_chat_member() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::left_chat_member filter.

Source

fn filter_new_chat_title() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::new_chat_title filter.

Source

fn filter_new_chat_photo() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::new_chat_photo filter.

Source

fn filter_delete_chat_photo() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::delete_chat_photo filter.

Source

fn filter_group_chat_created() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::group_chat_created filter.

Source

fn filter_supergroup_chat_created() -> Handler<'static, Out, DpHandlerDescription>

Source

fn filter_channel_chat_created() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::channel_chat_created filter.

Source

fn filter_message_auto_delete_timer_changed() -> Handler<'static, Out, DpHandlerDescription>

Source

fn filter_pinned() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::pinned_message filter.

Source

fn filter_invoice() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::invoice filter.

Source

fn filter_successful_payment() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::successful_payment filter.

Source

fn filter_connected_website() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::connected_website filter.

Source

fn filter_write_access_allowed() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::write_access_allowed filter.

Source

fn filter_passport_data() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::passport_data filter.

Source

fn filter_dice() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::dice filter.

Source

fn filter_proximity_alert_triggered() -> Handler<'static, Out, DpHandlerDescription>

Source

fn filter_boost_added() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::boost_added filter.

Source

fn filter_chat_background_set() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::chat_background_set filter.

Source

fn filter_checklist_tasks_done() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::checklist_tasks_done filter.

Source

fn filter_checklist_tasks_added() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::checklist_tasks_added filter.

Source

fn filter_direct_message_price_changed() -> Handler<'static, Out, DpHandlerDescription>

Source

fn filter_forum_topic_created() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::forum_topic_created filter.

Source

fn filter_forum_topic_edited() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::forum_topic_edited filter.

Source

fn filter_forum_topic_closed() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::forum_topic_closed filter.

Source

fn filter_forum_topic_reopened() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::forum_topic_reopened filter.

Source

fn filter_general_forum_topic_hidden() -> Handler<'static, Out, DpHandlerDescription>

Source

fn filter_general_forum_topic_unhidden() -> Handler<'static, Out, DpHandlerDescription>

Source

fn filter_giveaway() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::giveaway filter.

Source

fn filter_giveaway_completed() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::giveaway_completed filter.

Source

fn filter_giveaway_created() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::giveaway_created filter.

Source

fn filter_giveaway_winners() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::giveaway_winners filter.

Source

fn filter_paid_message_price_changed() -> Handler<'static, Out, DpHandlerDescription>

Source

fn filter_gift_info() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::gift_info filter.

Source

fn filter_unique_gift_info() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::unique_gift_info filter.

Source

fn filter_video_chat_scheduled() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::video_chat_scheduled filter.

Source

fn filter_video_chat_started() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::video_chat_started filter.

Source

fn filter_video_chat_ended() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::video_chat_ended filter.

Source

fn filter_video_chat_participants_invited() -> Handler<'static, Out, DpHandlerDescription>

Source

fn filter_web_app_data() -> Handler<'static, Out, DpHandlerDescription>

Applies the Message::web_app_data filter.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Out> MessageFilterExt<Out> for Message
where Out: Send + Sync + 'static,