diff --git a/src/core/types/inline_query_result_gif.rs b/src/core/types/inline_query_result_gif.rs new file mode 100644 index 00000000..cf5ec79a --- /dev/null +++ b/src/core/types/inline_query_result_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 InlineQueryResultGif { + #[serde(rename = "type")] + pub query_type: String, + pub id: String, + pub gif_url: String, + pub gif_width: Option, + pub gif_height: Option, + pub gif_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