From 4cf17a4b680fbcd8656ff2d37f7378dc9268e839 Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Thu, 19 Sep 2019 00:16:44 +0600 Subject: [PATCH] Add InlineQueryResultVideo --- src/core/types/inline_query_result_video.rs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/core/types/inline_query_result_video.rs diff --git a/src/core/types/inline_query_result_video.rs b/src/core/types/inline_query_result_video.rs new file mode 100644 index 00000000..56b9f9ce --- /dev/null +++ b/src/core/types/inline_query_result_video.rs @@ -0,0 +1,21 @@ +use super::inline_keyboard_markup::InlineKeyboardMarkup; +use super::input_message_content::InputMessageContent; + +#[derive(Debug, Deserialize, Clone, PartialEq)] +pub struct InlineQueryResultVideo { + #[serde(rename = "type")] + pub query_type: String, + pub id: String, + pub video_url: String, + pub mime_type: String, + pub thumb_url: String, + pub title: String, + pub caption: Option, + pub parse_mode: Option, + pub video_width: Option, + pub video_height: Option, + pub video_duration: Option, + pub description: Option, + pub reply_markup: Option, + pub input_message_content: Option, +} \ No newline at end of file