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