From 2ef4c6a0e664d5ba6ec43837793c4ac33b87d47e Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Thu, 19 Sep 2019 00:10:13 +0600 Subject: [PATCH] Add InlineQueryResultGif --- src/core/types/inline_query_result_gif.rs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/core/types/inline_query_result_gif.rs diff --git a/src/core/types/inline_query_result_gif.rs b/src/core/types/inline_query_result_gif.rs new file mode 100644 index 00000000..cf5ec79a --- /dev/null +++ b/src/core/types/inline_query_result_gif.rs @@ -0,0 +1,19 @@ +use super::inline_keyboard_markup::InlineKeyboardMarkup; +use super::input_message_content::InputMessageContent; + +#[derive(Debug, Deserialize, Clone, PartialEq)] +pub struct InlineQueryResultGif { + #[serde(rename = "type")] + pub query_type: String, + pub id: String, + pub gif_url: String, + pub gif_width: Option, + pub gif_height: Option, + pub gif_duration: Option, + pub thumb_url: String, + pub title: Option, + pub caption: Option, + pub parse_mode: Option, + pub reply_markup: Option, + pub input_message_content: Option, +} \ No newline at end of file