[][src]Enum tg_bot_models::InlineQueryResult

pub enum InlineQueryResult {
    InlineQueryResultCachedAudio(InlineQueryResultCachedAudio),
    InlineQueryResultCachedDocument(InlineQueryResultCachedDocument),
    InlineQueryResultCachedGif(InlineQueryResultCachedGif),
    InlineQueryResultCachedMpeg4Gif(InlineQueryResultCachedMpeg4Gif),
    InlineQueryResultCachedPhoto(InlineQueryResultCachedPhoto),
    InlineQueryResultCachedSticker(InlineQueryResultCachedSticker),
    InlineQueryResultCachedVideo(InlineQueryResultCachedVideo),
    InlineQueryResultCachedVoice(InlineQueryResultCachedVoice),
    InlineQueryResultArticle(InlineQueryResultArticle),
    InlineQueryResultAudio(InlineQueryResultAudio),
    InlineQueryResultContact(InlineQueryResultContact),
    InlineQueryResultGame(InlineQueryResultGame),
    InlineQueryResultDocument(InlineQueryResultDocument),
    InlineQueryResultGif(InlineQueryResultGif),
    InlineQueryResultLocation(InlineQueryResultLocation),
    InlineQueryResultMpeg4Gif(InlineQueryResultMpeg4Gif),
    InlineQueryResultPhoto(InlineQueryResultPhoto),
    InlineQueryResultVenue(InlineQueryResultVenue),
    InlineQueryResultVideo(InlineQueryResultVideo),
    InlineQueryResultVoice(InlineQueryResultVoice),
}

This object represents one result of an inline query. Telegram clients currently support results of the following 20 types:

Variants

InlineQueryResultCachedAudio(InlineQueryResultCachedAudio)InlineQueryResultCachedDocument(InlineQueryResultCachedDocument)InlineQueryResultCachedGif(InlineQueryResultCachedGif)InlineQueryResultCachedMpeg4Gif(InlineQueryResultCachedMpeg4Gif)InlineQueryResultCachedPhoto(InlineQueryResultCachedPhoto)InlineQueryResultCachedSticker(InlineQueryResultCachedSticker)InlineQueryResultCachedVideo(InlineQueryResultCachedVideo)InlineQueryResultCachedVoice(InlineQueryResultCachedVoice)InlineQueryResultArticle(InlineQueryResultArticle)InlineQueryResultAudio(InlineQueryResultAudio)InlineQueryResultContact(InlineQueryResultContact)InlineQueryResultGame(InlineQueryResultGame)InlineQueryResultDocument(InlineQueryResultDocument)InlineQueryResultGif(InlineQueryResultGif)InlineQueryResultLocation(InlineQueryResultLocation)InlineQueryResultMpeg4Gif(InlineQueryResultMpeg4Gif)InlineQueryResultPhoto(InlineQueryResultPhoto)InlineQueryResultVenue(InlineQueryResultVenue)InlineQueryResultVideo(InlineQueryResultVideo)InlineQueryResultVoice(InlineQueryResultVoice)

Trait Implementations

impl Clone for InlineQueryResult[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialOrd<InlineQueryResult> for InlineQueryResult[src]

impl PartialEq<InlineQueryResult> for InlineQueryResult[src]

impl Debug for InlineQueryResult[src]

impl Serialize for InlineQueryResult[src]

impl<'de> Deserialize<'de> for InlineQueryResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]