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§
Sourcefn filter_from() -> Handler<'static, Out, DpHandlerDescription>
fn filter_from() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::from filter.
Sourcefn filter_animation() -> Handler<'static, Out, DpHandlerDescription>
fn filter_animation() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::animation filter.
Sourcefn filter_audio() -> Handler<'static, Out, DpHandlerDescription>
fn filter_audio() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::audio filter.
Sourcefn filter_contact() -> Handler<'static, Out, DpHandlerDescription>
fn filter_contact() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::contact filter.
Sourcefn filter_document() -> Handler<'static, Out, DpHandlerDescription>
fn filter_document() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::document filter.
Sourcefn filter_paid_media() -> Handler<'static, Out, DpHandlerDescription>
fn filter_paid_media() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::paid_media filter.
Sourcefn filter_game() -> Handler<'static, Out, DpHandlerDescription>
fn filter_game() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::game filter.
Sourcefn filter_venue() -> Handler<'static, Out, DpHandlerDescription>
fn filter_venue() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::venue filter.
Sourcefn filter_location() -> Handler<'static, Out, DpHandlerDescription>
fn filter_location() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::location filter.
Sourcefn filter_photo() -> Handler<'static, Out, DpHandlerDescription>
fn filter_photo() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::photo filter.
Sourcefn filter_poll() -> Handler<'static, Out, DpHandlerDescription>
fn filter_poll() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::poll filter.
Sourcefn filter_checklist() -> Handler<'static, Out, DpHandlerDescription>
fn filter_checklist() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::checklist filter.
Sourcefn filter_sticker() -> Handler<'static, Out, DpHandlerDescription>
fn filter_sticker() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::sticker filter.
Sourcefn filter_story() -> Handler<'static, Out, DpHandlerDescription>
fn filter_story() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::story filter.
Sourcefn filter_text() -> Handler<'static, Out, DpHandlerDescription>
fn filter_text() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::text filter.
Sourcefn filter_video() -> Handler<'static, Out, DpHandlerDescription>
fn filter_video() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::video filter.
Sourcefn filter_video_note() -> Handler<'static, Out, DpHandlerDescription>
fn filter_video_note() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::video_note filter.
Sourcefn filter_voice() -> Handler<'static, Out, DpHandlerDescription>
fn filter_voice() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::voice filter.
Sourcefn filter_migration() -> Handler<'static, Out, DpHandlerDescription>
fn filter_migration() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::chat_migration filter.
Sourcefn filter_migration_from() -> Handler<'static, Out, DpHandlerDescription>
fn filter_migration_from() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::migrate_from_chat_id filter.
Sourcefn filter_migration_to() -> Handler<'static, Out, DpHandlerDescription>
fn filter_migration_to() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::migrate_to_chat_id filter.
Sourcefn filter_reply_to_message() -> Handler<'static, Out, DpHandlerDescription>
fn filter_reply_to_message() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::reply_to_message filter.
Sourcefn filter_forward_origin() -> Handler<'static, Out, DpHandlerDescription>
fn filter_forward_origin() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::forward_origin filter.
Sourcefn filter_reply_to_story() -> Handler<'static, Out, DpHandlerDescription>
fn filter_reply_to_story() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::reply_to_story filter.
Sourcefn filter_new_chat_members() -> Handler<'static, Out, DpHandlerDescription>
fn filter_new_chat_members() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::new_chat_members filter.
Sourcefn filter_left_chat_member() -> Handler<'static, Out, DpHandlerDescription>
fn filter_left_chat_member() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::left_chat_member filter.
Sourcefn filter_new_chat_title() -> Handler<'static, Out, DpHandlerDescription>
fn filter_new_chat_title() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::new_chat_title filter.
Sourcefn filter_new_chat_photo() -> Handler<'static, Out, DpHandlerDescription>
fn filter_new_chat_photo() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::new_chat_photo filter.
Sourcefn filter_delete_chat_photo() -> Handler<'static, Out, DpHandlerDescription>
fn filter_delete_chat_photo() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::delete_chat_photo filter.
Sourcefn filter_group_chat_created() -> Handler<'static, Out, DpHandlerDescription>
fn filter_group_chat_created() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::group_chat_created filter.
Sourcefn filter_supergroup_chat_created() -> Handler<'static, Out, DpHandlerDescription>
fn filter_supergroup_chat_created() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::super_group_chat_created filter.
Sourcefn filter_channel_chat_created() -> Handler<'static, Out, DpHandlerDescription>
fn filter_channel_chat_created() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::channel_chat_created filter.
Sourcefn filter_message_auto_delete_timer_changed() -> Handler<'static, Out, DpHandlerDescription>
fn filter_message_auto_delete_timer_changed() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::message_auto_delete_timer_changed filter.
Sourcefn filter_pinned() -> Handler<'static, Out, DpHandlerDescription>
fn filter_pinned() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::pinned_message filter.
Sourcefn filter_invoice() -> Handler<'static, Out, DpHandlerDescription>
fn filter_invoice() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::invoice filter.
Sourcefn filter_successful_payment() -> Handler<'static, Out, DpHandlerDescription>
fn filter_successful_payment() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::successful_payment filter.
Sourcefn filter_connected_website() -> Handler<'static, Out, DpHandlerDescription>
fn filter_connected_website() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::connected_website filter.
Sourcefn filter_write_access_allowed() -> Handler<'static, Out, DpHandlerDescription>
fn filter_write_access_allowed() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::write_access_allowed filter.
Sourcefn filter_passport_data() -> Handler<'static, Out, DpHandlerDescription>
fn filter_passport_data() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::passport_data filter.
Sourcefn filter_dice() -> Handler<'static, Out, DpHandlerDescription>
fn filter_dice() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::dice filter.
Sourcefn filter_proximity_alert_triggered() -> Handler<'static, Out, DpHandlerDescription>
fn filter_proximity_alert_triggered() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::proximity_alert_triggered filter.
Sourcefn filter_boost_added() -> Handler<'static, Out, DpHandlerDescription>
fn filter_boost_added() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::boost_added filter.
Sourcefn filter_chat_background_set() -> Handler<'static, Out, DpHandlerDescription>
fn filter_chat_background_set() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::chat_background_set filter.
Sourcefn filter_checklist_tasks_done() -> Handler<'static, Out, DpHandlerDescription>
fn filter_checklist_tasks_done() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::checklist_tasks_done filter.
Sourcefn filter_checklist_tasks_added() -> Handler<'static, Out, DpHandlerDescription>
fn filter_checklist_tasks_added() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::checklist_tasks_added filter.
Sourcefn filter_direct_message_price_changed() -> Handler<'static, Out, DpHandlerDescription>
fn filter_direct_message_price_changed() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::direct_message_price_changed filter.
Sourcefn filter_forum_topic_created() -> Handler<'static, Out, DpHandlerDescription>
fn filter_forum_topic_created() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::forum_topic_created filter.
Sourcefn filter_forum_topic_edited() -> Handler<'static, Out, DpHandlerDescription>
fn filter_forum_topic_edited() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::forum_topic_edited filter.
Sourcefn filter_forum_topic_closed() -> Handler<'static, Out, DpHandlerDescription>
fn filter_forum_topic_closed() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::forum_topic_closed filter.
Sourcefn filter_forum_topic_reopened() -> Handler<'static, Out, DpHandlerDescription>
fn filter_forum_topic_reopened() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::forum_topic_reopened filter.
Applies the Message::general_forum_topic_hidden filter.
Applies the Message::general_forum_topic_unhidden filter.
Sourcefn filter_giveaway() -> Handler<'static, Out, DpHandlerDescription>
fn filter_giveaway() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::giveaway filter.
Sourcefn filter_giveaway_completed() -> Handler<'static, Out, DpHandlerDescription>
fn filter_giveaway_completed() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::giveaway_completed filter.
Sourcefn filter_giveaway_created() -> Handler<'static, Out, DpHandlerDescription>
fn filter_giveaway_created() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::giveaway_created filter.
Sourcefn filter_giveaway_winners() -> Handler<'static, Out, DpHandlerDescription>
fn filter_giveaway_winners() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::giveaway_winners filter.
Sourcefn filter_paid_message_price_changed() -> Handler<'static, Out, DpHandlerDescription>
fn filter_paid_message_price_changed() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::paid_message_price_changed filter.
Sourcefn filter_gift_info() -> Handler<'static, Out, DpHandlerDescription>
fn filter_gift_info() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::gift_info filter.
Sourcefn filter_unique_gift_info() -> Handler<'static, Out, DpHandlerDescription>
fn filter_unique_gift_info() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::unique_gift_info filter.
Sourcefn filter_video_chat_scheduled() -> Handler<'static, Out, DpHandlerDescription>
fn filter_video_chat_scheduled() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::video_chat_scheduled filter.
Sourcefn filter_video_chat_started() -> Handler<'static, Out, DpHandlerDescription>
fn filter_video_chat_started() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::video_chat_started filter.
Sourcefn filter_video_chat_ended() -> Handler<'static, Out, DpHandlerDescription>
fn filter_video_chat_ended() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::video_chat_ended filter.
Sourcefn filter_video_chat_participants_invited() -> Handler<'static, Out, DpHandlerDescription>
fn filter_video_chat_participants_invited() -> Handler<'static, Out, DpHandlerDescription>
Applies the Message::video_chat_participants_invited filter.
Sourcefn filter_web_app_data() -> Handler<'static, Out, DpHandlerDescription>
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", so this trait is not object safe.