From 1762ebe2c004731992dfc6c7907f12a2b7f05bf4 Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Thu, 19 Sep 2019 00:11:47 +0600 Subject: [PATCH] Add InlineQueryResultMpeg4Gif --- .../types/inline_query_result_mpeg4_gif.rs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/core/types/inline_query_result_mpeg4_gif.rs diff --git a/src/core/types/inline_query_result_mpeg4_gif.rs b/src/core/types/inline_query_result_mpeg4_gif.rs new file mode 100644 index 00000000..ce72ee01 --- /dev/null +++ b/src/core/types/inline_query_result_mpeg4_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 InlineQueryResultMpeg4Gif { + #[serde(rename = "type")] + pub query_type: String, + pub id: String, + pub mpeg4_url: String, + pub mpeg4_width: Option, + pub mpeg4_height: Option, + pub mpeg4_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