diff --git a/src/core/types/inline_query_result.rs b/src/core/types/inline_query_result.rs new file mode 100644 index 00000000..99be2d4b --- /dev/null +++ b/src/core/types/inline_query_result.rs @@ -0,0 +1,25 @@ +use super::inline_query_result_cached_audio::InlineQueryResultCachedAudio; + +#[derive(Debug, Deserialize, Serialize, Eq, Clone, PartialEq, Hash)] +pub enum InlineQueryResult { + CachedAudio(InlineQueryResultCachedAudio), + CachedDocument(InlineQueryResultCachedDocument), + CachedGif(InlineQueryResultCachedGif), + CachedMpeg4Gif(InlineQueryResultCachedMpeg4Gif), + CachedPhoto(InlineQueryResultCachedPhoto), + CachedSticker(InlineQueryResultCachedSticker), + CachedVideo(InlineQueryResultCachedVideo), + CachedVoice(InlineQueryResultCachedVoice), + Article(InlineQueryResultArticle), + Audio(InlineQueryResultAudio), + Contact(InlineQueryResultContact), + Game(InlineQueryResultGame), + Document(InlineQueryResultDocument), + Gif(InlineQueryResultGif), + Location(InlineQueryResultLocation), + Mpeg4Gif(InlineQueryResultMpeg4Gif), + Photo(InlineQueryResultPhoto), + Venue(InlineQueryResultVenue), + Video(InlineQueryResultVideo), + Voice(InlineQueryResultVoice), +}