Enum rust_tdlib::types::InlineQueryResult [−][src]
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<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InlineQueryResultimpl Send for InlineQueryResultimpl Sync for InlineQueryResultimpl Unpin for InlineQueryResultimpl UnwindSafe for InlineQueryResultBlanket Implementations
Mutably borrows from an owned value. Read more