diff --git a/src/api_params.rs b/src/api_params.rs index 2f292c8..44a8524 100644 --- a/src/api_params.rs +++ b/src/api_params.rs @@ -54,31 +54,18 @@ impl From for FileUpload { #[derive(Clone, Debug, Serialize, Deserialize, PartialEq)] #[serde(tag = "type", rename_all = "snake_case")] pub enum InlineQueryResult { - #[serde(rename = "audio")] Audio(MaybeCached), - #[serde(rename = "document")] Document(MaybeCached), - #[serde(rename = "gif")] Gif(MaybeCached), - #[serde(rename = "mpeg4_gif")] Mpeg4Gif(MaybeCached), - #[serde(rename = "photo")] Photo(MaybeCached), - #[serde(rename = "sticker")] Sticker(InlineQueryResultCachedSticker), - #[serde(rename = "video")] Video(MaybeCached), - #[serde(rename = "voice")] Voice(MaybeCached), - #[serde(rename = "article")] Article(InlineQueryResultArticle), - #[serde(rename = "contract")] Contact(InlineQueryResultContact), - #[serde(rename = "game")] Game(InlineQueryResultGame), - #[serde(rename = "location")] Location(InlineQueryResultLocation), - #[serde(rename = "venue")] Venue(InlineQueryResultVenue), }