diff --git a/src/core/types/chat.rs b/src/core/types/chat.rs index d7226044..07c7d425 100644 --- a/src/core/types/chat.rs +++ b/src/core/types/chat.rs @@ -5,7 +5,7 @@ pub struct Chat { #[serde(rename = "chat_id")] pub id: i64, #[serde(flatten)] - pub chat_kind: ChatKind, + pub kind: ChatKind, #[serde(skip_serializing_if = "Option::is_none")] pub photo: Option, }