Enum rust_tdlib::types::InputInlineQueryResult
source · [−]pub enum InputInlineQueryResult {
Animation(InputInlineQueryResultAnimation),
Article(InputInlineQueryResultArticle),
Audio(InputInlineQueryResultAudio),
Contact(InputInlineQueryResultContact),
Document(InputInlineQueryResultDocument),
Game(InputInlineQueryResultGame),
Location(InputInlineQueryResultLocation),
Photo(InputInlineQueryResultPhoto),
Sticker(InputInlineQueryResultSticker),
Venue(InputInlineQueryResultVenue),
Video(InputInlineQueryResultVideo),
VoiceNote(InputInlineQueryResultVoiceNote),
// some variants omitted
}Expand description
Represents a single result of an inline query; for bots only
Variants
Animation(InputInlineQueryResultAnimation)
Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video
Article(InputInlineQueryResultArticle)
Represents a link to an article or web page
Audio(InputInlineQueryResultAudio)
Represents a link to an MP3 audio file
Contact(InputInlineQueryResultContact)
Represents a user contact
Document(InputInlineQueryResultDocument)
Represents a link to a file
Game(InputInlineQueryResultGame)
Represents a game
Location(InputInlineQueryResultLocation)
Represents a point on the map
Photo(InputInlineQueryResultPhoto)
Represents link to a JPEG image
Sticker(InputInlineQueryResultSticker)
Represents a link to a WEBP or TGS sticker
Venue(InputInlineQueryResultVenue)
Represents information about a venue
Video(InputInlineQueryResultVideo)
Represents a link to a page containing an embedded video player or a video file
VoiceNote(InputInlineQueryResultVoiceNote)
Represents a link to an opus-encoded audio file within an OGG container, single channel audio
Implementations
Trait Implementations
sourceimpl AsRef<InputInlineQueryResult> for InputInlineQueryResult
impl AsRef<InputInlineQueryResult> for InputInlineQueryResult
sourcefn as_ref(&self) -> &InputInlineQueryResult
fn as_ref(&self) -> &InputInlineQueryResult
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InputInlineQueryResult
impl Clone for InputInlineQueryResult
sourcefn clone(&self) -> InputInlineQueryResult
fn clone(&self) -> InputInlineQueryResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for InputInlineQueryResult
impl Debug for InputInlineQueryResult
sourceimpl Default for InputInlineQueryResult
impl Default for InputInlineQueryResult
sourceimpl<'de> Deserialize<'de> for InputInlineQueryResult
impl<'de> Deserialize<'de> for InputInlineQueryResult
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for InputInlineQueryResult
impl Serialize for InputInlineQueryResult
Auto Trait Implementations
impl RefUnwindSafe for InputInlineQueryResult
impl Send for InputInlineQueryResult
impl Sync for InputInlineQueryResult
impl Unpin for InputInlineQueryResult
impl UnwindSafe for InputInlineQueryResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more