pub struct InlineQueryResultArticle {
    pub id: String,
    pub title: String,
    pub input_message_content: InputMessageContent,
    pub reply_markup: Option<InlineKeyboardMarkup>,
    pub url: Option<String>,
    pub hide_url: bool,
    pub description: Option<String>,
    pub thumb_url: Option<String>,
    pub thumb_width: Option<Integer>,
    pub thumb_height: Option<Integer>,
}

Fields§

§id: String

Unique identifier for this result, 1-64 Bytes

§title: String

Title of the result

§input_message_content: InputMessageContent

Content of the message to be sent

§reply_markup: Option<InlineKeyboardMarkup>

Inline keyboard attached to the message

§url: Option<String>

URL of the result

§hide_url: bool

Pass True, if you don’t want the URL to be shown in the message

§description: Option<String>

Short description of the result

§thumb_url: Option<String>

Url of the thumbnail for the result

§thumb_width: Option<Integer>

Thumbnail width

§thumb_height: Option<Integer>

Thumbnail height

Implementations§

Trait Implementations§

Formats the value using the given formatter. Read more
Converts to this type from the input type.
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 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.