From 7c9eb4e8032280bbfe5ac45065a0b7083ad20693 Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Wed, 18 Sep 2019 23:49:00 +0600 Subject: [PATCH] Add InlineQueryResultCachedSticker --- src/core/types/inline_query_result_cached_sticker.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/core/types/inline_query_result_cached_sticker.rs diff --git a/src/core/types/inline_query_result_cached_sticker.rs b/src/core/types/inline_query_result_cached_sticker.rs new file mode 100644 index 00000000..b53a7c31 --- /dev/null +++ b/src/core/types/inline_query_result_cached_sticker.rs @@ -0,0 +1,12 @@ +use super::inline_keyboard_markup::InlineKeyboardMarkup; +use super::input_message_content::InputMessageContent; + +#[derive(Debug, Deserialize, Clone, PartialEq)] +pub struct InlineQueryResultCachedSticker { + #[serde(rename = "type")] + pub query_type: String, + pub id: String, + pub sticker_file_id: String, + pub reply_markup: Option, + pub input_message_content: Option, +} \ No newline at end of file