Enum rtdlib::types::InlineQueryResult
source · [−]pub enum InlineQueryResult {
Animation(InlineQueryResultAnimation),
Article(InlineQueryResultArticle),
Audio(InlineQueryResultAudio),
Contact(InlineQueryResultContact),
Document(InlineQueryResultDocument),
Game(InlineQueryResultGame),
Location(InlineQueryResultLocation),
Photo(InlineQueryResultPhoto),
Sticker(InlineQueryResultSticker),
Venue(InlineQueryResultVenue),
Video(InlineQueryResultVideo),
VoiceNote(InlineQueryResultVoiceNote),
// some variants omitted
}
Expand description
Represents a single result of an inline query
Variants
Animation(InlineQueryResultAnimation)
Represents an animation file
Article(InlineQueryResultArticle)
Represents a link to an article or web page
Audio(InlineQueryResultAudio)
Represents an audio file
Contact(InlineQueryResultContact)
Represents a user contact
Document(InlineQueryResultDocument)
Represents a document
Game(InlineQueryResultGame)
Represents information about a game
Location(InlineQueryResultLocation)
Represents a point on the map
Photo(InlineQueryResultPhoto)
Represents a photo
Sticker(InlineQueryResultSticker)
Represents a sticker
Venue(InlineQueryResultVenue)
Represents information about a venue
Video(InlineQueryResultVideo)
Represents a video
VoiceNote(InlineQueryResultVoiceNote)
Represents a voice note
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<InlineQueryResult, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<InlineQueryResult, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InlineQueryResult
impl Send for InlineQueryResult
impl Sync for InlineQueryResult
impl Unpin for InlineQueryResult
impl UnwindSafe for InlineQueryResult
Blanket Implementations
Mutably borrows from an owned value. Read more