diff --git a/src/core/types/inline_query_result_photo.rs b/src/core/types/inline_query_result_photo.rs new file mode 100644 index 00000000..ed18a45f --- /dev/null +++ b/src/core/types/inline_query_result_photo.rs @@ -0,0 +1,19 @@ +use super::inline_keyboard_markup::InlineKeyboardMarkup; +use super::input_message_content::InputMessageContent; + +#[derive(Debug, Deserialize, Clone, PartialEq)] +pub struct InlineQueryResultCachedPhoto { + #[serde(rename = "type")] + pub query_type: String, + pub id: String, + pub photo_url: String, + pub thumb_url: String, + pub photo_width: Option, + pub photo_height: Option, + pub title: Option, + pub description: Option, + pub caption: Option, + pub parse_mode: Option, + pub reply_markup: Option, + pub input_message_content: Option, +} \ No newline at end of file