Skip to content

Commit

Permalink
remove renames
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 committed Nov 26, 2024
1 parent 6eb243b commit 48edd68
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/api_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,31 +54,18 @@ impl From<String> for FileUpload {
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
#[serde(tag = "type", rename_all = "snake_case")]
pub enum InlineQueryResult {
#[serde(rename = "audio")]
Audio(MaybeCached<InlineQueryResultCachedAudio, InlineQueryResultAudio>),
#[serde(rename = "document")]
Document(MaybeCached<InlineQueryResultCachedDocument, InlineQueryResultDocument>),
#[serde(rename = "gif")]
Gif(MaybeCached<InlineQueryResultCachedGif, InlineQueryResultGif>),
#[serde(rename = "mpeg4_gif")]
Mpeg4Gif(MaybeCached<InlineQueryResultCachedMpeg4Gif, InlineQueryResultMpeg4Gif>),
#[serde(rename = "photo")]
Photo(MaybeCached<InlineQueryResultCachedPhoto, InlineQueryResultPhoto>),
#[serde(rename = "sticker")]
Sticker(InlineQueryResultCachedSticker),
#[serde(rename = "video")]
Video(MaybeCached<InlineQueryResultCachedVideo, InlineQueryResultVideo>),
#[serde(rename = "voice")]
Voice(MaybeCached<InlineQueryResultCachedVoice, InlineQueryResultVoice>),
#[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),
}

Expand Down

0 comments on commit 48edd68

Please sign in to comment.