From cc86b2a73ded5271211634d8e0c135117f104333 Mon Sep 17 00:00:00 2001 From: Andrew Andersen Date: Sat, 7 Sep 2019 18:27:25 +0300 Subject: [PATCH] Update src/core/types/chat.rs Co-Authored-By: Waffle Lapkin --- src/core/types/chat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }