mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Add InlineQueryResult
This commit is contained in:
parent
0426a15017
commit
16b5473dae
1 changed files with 25 additions and 0 deletions
25
src/core/types/inline_query_result.rs
Normal file
25
src/core/types/inline_query_result.rs
Normal 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),
|
||||
}
|
Loading…
Reference in a new issue