From a7fa66754abb83b899f095d28bf7c2043321dbe1 Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Wed, 18 Sep 2019 23:41:48 +0600 Subject: [PATCH] Fix src/core/types/inline_query_result_article.rs --- src/core/types/inline_query_result_article.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/types/inline_query_result_article.rs b/src/core/types/inline_query_result_article.rs index 1fbdfc8b..fb31e06c 100644 --- a/src/core/types/inline_query_result_article.rs +++ b/src/core/types/inline_query_result_article.rs @@ -2,6 +2,10 @@ use crate::core::types::{InputMessageContent, InlineKeyboardMarkup}; #[derive(Debug, Serialize, Hash, PartialEq, Eq, Clone)] pub struct InlineQueryResultArticle { + // Type of the result, must be article + #[serde(rename = "type")] + pub query_type: String, + /// Unique identifier for this result, 1-64 Bytes pub id: String, /// Title of the result