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