Skip to content

Commit

Permalink
code review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 committed Nov 22, 2024
1 parent c43fab7 commit c44be58
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/api_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,21 @@ impl From<String> for FileUpload {
#[serde(tag = "type")]
pub enum InlineQueryResult {
#[serde(rename = "audio")]
AudioOrCachedAudio(InlineQueryResultAudioOrCachedAudio),
Audio(InlineQueryResultAudioOrCachedAudio),
#[serde(rename = "document")]
DocumentOrCachedDocument(InlineQueryResultDocumentOrCachedDocument),
Document(InlineQueryResultDocumentOrCachedDocument),
#[serde(rename = "gif")]
GifOrCachedGif(InlineQueryResultGifOrCachedGif),
Gif(InlineQueryResultGifOrCachedGif),
#[serde(rename = "mpeg4_gif")]
Mpeg4GifOrCachedMpeg4Gif(InlineQueryResultMpeg4GifOrCachedMpeg4Gif),
Mpeg4Gif(InlineQueryResultMpeg4GifOrCachedMpeg4Gif),
#[serde(rename = "photo")]
PhotoOrCachedPhoto(InlineQueryResultPhotoOrCachedPhoto),
Photo(InlineQueryResultPhotoOrCachedPhoto),
#[serde(rename = "sticker")]
CachedSticker(InlineQueryResultCachedSticker),
#[serde(rename = "video")]
VideoOrCachedVideo(InlineQueryResultVideoOrCachedVideo),
Video(InlineQueryResultVideoOrCachedVideo),
#[serde(rename = "voice")]
VoiceOrCachedVoice(InlineQueryResultVoiceOrCachedVoice),
Voice(InlineQueryResultVoiceOrCachedVoice),
#[serde(rename = "article")]
Article(InlineQueryResultArticle),
#[serde(rename = "contract")]
Expand Down

0 comments on commit c44be58

Please sign in to comment.