From 765468224c05efae163d52196618ffeeeffa628d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D1=8B=D1=80=D1=86=D0=B5=D0=B2=20=D0=92=D0=B0=D0=B4?= =?UTF-8?q?=D0=B8=D0=BC=20=D0=98=D0=B3=D0=BE=D1=80=D0=B5=D0=B2=D0=B8=D1=87?= Date: Fri, 23 Aug 2024 15:32:28 +0300 Subject: [PATCH] Fix nitpicks --- crates/teloxide-core/src/types/message_reaction_updated.rs | 4 ++-- crates/teloxide-core/src/types/update.rs | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/teloxide-core/src/types/message_reaction_updated.rs b/crates/teloxide-core/src/types/message_reaction_updated.rs index ff15c850..5ec884c3 100644 --- a/crates/teloxide-core/src/types/message_reaction_updated.rs +++ b/crates/teloxide-core/src/types/message_reaction_updated.rs @@ -47,10 +47,10 @@ impl MessageReactionUpdated { #[derive(Deserialize)] struct ActorDe { /// The user that changed the reaction, if the user isn't anonymous - pub user: Option, + user: Option, /// The chat on behalf of which the reaction was changed, if the user is /// anonymous - pub actor_chat: Option, + actor_chat: Option, } fn deserialize_actor<'d, D: Deserializer<'d>>(d: D) -> Result { diff --git a/crates/teloxide-core/src/types/update.rs b/crates/teloxide-core/src/types/update.rs index 62b1b0f6..d806f1cf 100644 --- a/crates/teloxide-core/src/types/update.rs +++ b/crates/teloxide-core/src/types/update.rs @@ -954,6 +954,8 @@ mod test { location: None, join_to_send_messages: None, join_by_request: None, + custom_emoji_sticker_set_name: None, + unrestrict_boost_count: None, }), description: None, invite_link: None,