pub struct InputInlineQueryResultArticle {
    pub id: String,
    pub url: String,
    pub hide_url: bool,
    pub title: String,
    pub description: String,
    pub thumbnail_url: String,
    pub thumbnail_width: i32,
    pub thumbnail_height: i32,
    pub reply_markup: Option<ReplyMarkup>,
    pub input_message_content: InputMessageContent,
}
Expand description

Represents a link to an article or web page

Fields

id: String

Unique identifier of the query result

url: String

URL of the result, if it exists

hide_url: bool

True, if the URL must be not shown

title: String

Title of the result

description: String

A short description of the result

thumbnail_url: String

URL of the result thumbnail, if it exists

thumbnail_width: i32

Thumbnail width, if known

thumbnail_height: i32

Thumbnail height, if known

reply_markup: Option<ReplyMarkup>

The message reply markup. Must be of type replyMarkupInlineKeyboard or null

input_message_content: InputMessageContent

The content of the message to be sent. Must be one of the following types: InputMessageText, InputMessageLocation, InputMessageVenue or InputMessageContact

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.