Add InlineQueryResult

This commit is contained in:
Temirkhan Myrzamadi 2019-09-19 00:03:14 +06:00
parent 0426a15017
commit 16b5473dae

View file

@ -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),
}