[−][src]Enum carapax::prelude::types::InlineQueryResult
Result of an inline query
Variants
Article(InlineQueryResultArticle)
Link to an article or web page
Audio(InlineQueryResultAudio)
Link to an mp3 audio file
CachedAudio(InlineQueryResultCachedAudio)
Link to an mp3 audio file stored on the Telegram servers
CachedDocument(InlineQueryResultCachedDocument)
Link to a file stored on the Telegram servers
CachedGif(InlineQueryResultCachedGif)
Link to an animated GIF file stored on the Telegram servers
CachedMpeg4Gif(InlineQueryResultCachedMpeg4Gif)
Link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers
CachedPhoto(InlineQueryResultCachedPhoto)
Link to a photo stored on the Telegram servers
CachedSticker(InlineQueryResultCachedSticker)
Link to a sticker stored on the Telegram servers
CachedVideo(InlineQueryResultCachedVideo)
Link to a video file stored on the Telegram servers
CachedVoice(InlineQueryResultCachedVoice)
Link to a voice message stored on the Telegram servers
Contact(InlineQueryResultContact)
Contact with a phone number
Document(InlineQueryResultDocument)
Link to a file
Game(InlineQueryResultGame)
Game
Gif(InlineQueryResultGif)
Link to an animated GIF file
Location(InlineQueryResultLocation)
Location on a map
Mpeg4Gif(InlineQueryResultMpeg4Gif)
Link to a video animation (H.264/MPEG-4 AVC video without sound)
Photo(InlineQueryResultPhoto)
Link to a photo
Venue(InlineQueryResultVenue)
Venue
Video(InlineQueryResultVideo)
Link to a page containing an embedded video player or a video file
Voice(InlineQueryResultVoice)
Link to a voice recording in an .ogg container encoded with OPUS
Trait Implementations
impl From<InlineQueryResultDocument> for InlineQueryResult
[src]
fn from(original: InlineQueryResultDocument) -> InlineQueryResult
[src]
impl From<InlineQueryResultMpeg4Gif> for InlineQueryResult
[src]
fn from(original: InlineQueryResultMpeg4Gif) -> InlineQueryResult
[src]
impl From<InlineQueryResultLocation> for InlineQueryResult
[src]
fn from(original: InlineQueryResultLocation) -> InlineQueryResult
[src]
impl From<InlineQueryResultGame> for InlineQueryResult
[src]
fn from(original: InlineQueryResultGame) -> InlineQueryResult
[src]
impl From<InlineQueryResultCachedAudio> for InlineQueryResult
[src]
fn from(original: InlineQueryResultCachedAudio) -> InlineQueryResult
[src]
impl From<InlineQueryResultArticle> for InlineQueryResult
[src]
fn from(original: InlineQueryResultArticle) -> InlineQueryResult
[src]
impl From<InlineQueryResultContact> for InlineQueryResult
[src]
fn from(original: InlineQueryResultContact) -> InlineQueryResult
[src]
impl From<InlineQueryResultVideo> for InlineQueryResult
[src]
fn from(original: InlineQueryResultVideo) -> InlineQueryResult
[src]
impl From<InlineQueryResultAudio> for InlineQueryResult
[src]
fn from(original: InlineQueryResultAudio) -> InlineQueryResult
[src]
impl From<InlineQueryResultCachedVideo> for InlineQueryResult
[src]
fn from(original: InlineQueryResultCachedVideo) -> InlineQueryResult
[src]
impl From<InlineQueryResultCachedVoice> for InlineQueryResult
[src]
fn from(original: InlineQueryResultCachedVoice) -> InlineQueryResult
[src]
impl From<InlineQueryResultPhoto> for InlineQueryResult
[src]
fn from(original: InlineQueryResultPhoto) -> InlineQueryResult
[src]
impl From<InlineQueryResultCachedSticker> for InlineQueryResult
[src]
fn from(original: InlineQueryResultCachedSticker) -> InlineQueryResult
[src]
impl From<InlineQueryResultVoice> for InlineQueryResult
[src]
fn from(original: InlineQueryResultVoice) -> InlineQueryResult
[src]
impl From<InlineQueryResultCachedMpeg4Gif> for InlineQueryResult
[src]
fn from(original: InlineQueryResultCachedMpeg4Gif) -> InlineQueryResult
[src]
impl From<InlineQueryResultCachedDocument> for InlineQueryResult
[src]
fn from(original: InlineQueryResultCachedDocument) -> InlineQueryResult
[src]
impl From<InlineQueryResultCachedGif> for InlineQueryResult
[src]
fn from(original: InlineQueryResultCachedGif) -> InlineQueryResult
[src]
impl From<InlineQueryResultGif> for InlineQueryResult
[src]
fn from(original: InlineQueryResultGif) -> InlineQueryResult
[src]
impl From<InlineQueryResultVenue> for InlineQueryResult
[src]
fn from(original: InlineQueryResultVenue) -> InlineQueryResult
[src]
impl From<InlineQueryResultCachedPhoto> for InlineQueryResult
[src]
fn from(original: InlineQueryResultCachedPhoto) -> InlineQueryResult
[src]
impl Serialize for InlineQueryResult
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl Debug for InlineQueryResult
[src]
impl Clone for InlineQueryResult
[src]
fn clone(&self) -> InlineQueryResult
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for InlineQueryResult
impl Sync for InlineQueryResult
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,