From 7a871b748700868c2367e5608fa49d399fda0e8b Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Fri, 3 Feb 2023 16:15:45 +0400 Subject: [PATCH] Add missing `Update::filter_chat_join_request` --- crates/teloxide/src/dispatching/filter_ext.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/teloxide/src/dispatching/filter_ext.rs b/crates/teloxide/src/dispatching/filter_ext.rs index 029a5245..f6453184 100644 --- a/crates/teloxide/src/dispatching/filter_ext.rs +++ b/crates/teloxide/src/dispatching/filter_ext.rs @@ -103,7 +103,6 @@ macro_rules! define_update_ext { } } -// May be expanded in the future. define_update_ext! { (filter_message, UpdateKind::Message, Message), (filter_edited_message, UpdateKind::EditedMessage, EditedMessage), @@ -118,4 +117,5 @@ define_update_ext! { (filter_poll_answer, UpdateKind::PollAnswer, PollAnswer), (filter_my_chat_member, UpdateKind::MyChatMember, MyChatMember), (filter_chat_member, UpdateKind::ChatMember, ChatMember), + (filter_chat_join_request, UpdateKind::ChatJoinRequest, ChatJoinRequest), }