From 45ac70ecd9d1b7c1c56bf06b32d53e0d72224da6 Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Wed, 18 Sep 2019 23:51:10 +0600 Subject: [PATCH] Add InlineQueryResultCachedDocument --- .../types/inline_query_result_cached_document.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/core/types/inline_query_result_cached_document.rs diff --git a/src/core/types/inline_query_result_cached_document.rs b/src/core/types/inline_query_result_cached_document.rs new file mode 100644 index 00000000..b26f973d --- /dev/null +++ b/src/core/types/inline_query_result_cached_document.rs @@ -0,0 +1,16 @@ +use super::inline_keyboard_markup::InlineKeyboardMarkup; +use super::input_message_content::InputMessageContent; + +#[derive(Debug, Deserialize, Clone, PartialEq)] +pub struct InlineQueryResultCachedDocument { + #[serde(rename = "type")] + pub query_type: String, + pub id: String, + pub title: String, + pub document_file_id: String, + pub description: Option, + pub caption: Option, + pub parse_mode: Option, + pub reply_markup: Option, + pub input_message_content: Option, +} \ No newline at end of file