Add missing Update::filter_chat_join_request

This commit is contained in:
Maybe Waffle 2023-02-03 16:15:45 +04:00
parent e97ac18060
commit 7a871b7487

View file

@ -103,7 +103,6 @@ macro_rules! define_update_ext {
} }
} }
// May be expanded in the future.
define_update_ext! { define_update_ext! {
(filter_message, UpdateKind::Message, Message), (filter_message, UpdateKind::Message, Message),
(filter_edited_message, UpdateKind::EditedMessage, EditedMessage), (filter_edited_message, UpdateKind::EditedMessage, EditedMessage),
@ -118,4 +117,5 @@ define_update_ext! {
(filter_poll_answer, UpdateKind::PollAnswer, PollAnswer), (filter_poll_answer, UpdateKind::PollAnswer, PollAnswer),
(filter_my_chat_member, UpdateKind::MyChatMember, MyChatMember), (filter_my_chat_member, UpdateKind::MyChatMember, MyChatMember),
(filter_chat_member, UpdateKind::ChatMember, ChatMember), (filter_chat_member, UpdateKind::ChatMember, ChatMember),
(filter_chat_join_request, UpdateKind::ChatJoinRequest, ChatJoinRequest),
} }