diff --git a/src/core/types/chat.rs b/src/core/types/chat.rs index 07c7d425..cbde0063 100644 --- a/src/core/types/chat.rs +++ b/src/core/types/chat.rs @@ -52,7 +52,7 @@ pub enum ChatKind { NonPrivate { title: Option, #[serde(flatten)] - non_private_chat_kind: NonPrivateChatKind, + kind: NonPrivateChatKind, description: Option, invite_link: Option, pinned_message: Option>,