diff --git a/src/core/types/inline_query_result_contact.rs b/src/core/types/inline_query_result_contact.rs index fb4b2d28..4f9c704d 100644 --- a/src/core/types/inline_query_result_contact.rs +++ b/src/core/types/inline_query_result_contact.rs @@ -1,6 +1,4 @@ -use crate::core::types::{ - InlineKeyboardMarkup, InputMessageContent, ParseMode, -}; +use crate::core::types::{InlineKeyboardMarkup, InputMessageContent}; #[derive(Debug, Serialize, PartialEq, Clone)] pub struct InlineQueryResultContact { diff --git a/src/core/types/inline_query_result_game.rs b/src/core/types/inline_query_result_game.rs index f19aa16f..9a01d158 100644 --- a/src/core/types/inline_query_result_game.rs +++ b/src/core/types/inline_query_result_game.rs @@ -1,6 +1,4 @@ -use crate::core::types::{ - InlineKeyboardMarkup, InputMessageContent, ParseMode, -}; +use crate::core::types::InlineKeyboardMarkup; #[derive(Debug, Serialize, Hash, PartialEq, Eq, Clone)] pub struct InlineQueryResultGame { diff --git a/src/core/types/inline_query_result_location.rs b/src/core/types/inline_query_result_location.rs index a89ca988..846a3f04 100644 --- a/src/core/types/inline_query_result_location.rs +++ b/src/core/types/inline_query_result_location.rs @@ -1,6 +1,4 @@ -use crate::core::types::{ - InlineKeyboardMarkup, InputMessageContent, ParseMode, -}; +use crate::core::types::{InlineKeyboardMarkup, InputMessageContent}; #[derive(Debug, Serialize, PartialEq, Clone)] pub struct InlineQueryResultLocation { diff --git a/src/core/types/inline_query_result_photo.rs b/src/core/types/inline_query_result_photo.rs index d0626100..c752ae8a 100644 --- a/src/core/types/inline_query_result_photo.rs +++ b/src/core/types/inline_query_result_photo.rs @@ -2,6 +2,9 @@ use crate::core::types::{ InlineKeyboardMarkup, InputMessageContent, ParseMode, }; +/// Represents a link to a photo. By default, this photo will be sent by the +/// user with optional caption. Alternatively, you can use input_message_content +/// to send a message with the specified content instead of the photo. #[derive(Debug, Serialize, PartialEq, Clone)] pub struct InlineQueryResultPhoto { pub id: String, diff --git a/src/core/types/inline_query_result_venue.rs b/src/core/types/inline_query_result_venue.rs index 9237e001..e018a55c 100644 --- a/src/core/types/inline_query_result_venue.rs +++ b/src/core/types/inline_query_result_venue.rs @@ -1,6 +1,4 @@ -use crate::core::types::{ - InlineKeyboardMarkup, InputMessageContent, ParseMode, -}; +use crate::core::types::{InlineKeyboardMarkup, InputMessageContent}; #[derive(Debug, Serialize, PartialEq, Clone)] pub struct InlineQueryResultVenue {