pub struct InlineQueryResultArticle {
pub id: String,
pub title: String,
pub input_message_content: InputMessageContent,
pub reply_markup: Option<InlineKeyboardMarkup>,
pub url: Option<String>,
pub description: Option<String>,
pub thumbnail_url: Option<String>,
pub thumbnail_width: Option<u32>,
pub thumbnail_height: Option<u32>,
}Expand description
A link to an article or web page.
Fields§
§id: StringUnique identifier for this result (1–64 bytes).
title: StringTitle of the result.
input_message_content: InputMessageContentContent of the message to be sent.
reply_markup: Option<InlineKeyboardMarkup>Inline keyboard attached to the message.
url: Option<String>URL of the result.
description: Option<String>Short description of the result.
thumbnail_url: Option<String>URL of the thumbnail for the result.
thumbnail_width: Option<u32>Thumbnail width in pixels.
thumbnail_height: Option<u32>Thumbnail height in pixels.
Trait Implementations§
Source§impl Clone for InlineQueryResultArticle
impl Clone for InlineQueryResultArticle
Source§fn clone(&self) -> InlineQueryResultArticle
fn clone(&self) -> InlineQueryResultArticle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InlineQueryResultArticle
impl Debug for InlineQueryResultArticle
Source§impl<'de> Deserialize<'de> for InlineQueryResultArticle
impl<'de> Deserialize<'de> for InlineQueryResultArticle
Source§fn 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
Auto Trait Implementations§
impl Freeze for InlineQueryResultArticle
impl RefUnwindSafe for InlineQueryResultArticle
impl Send for InlineQueryResultArticle
impl Sync for InlineQueryResultArticle
impl Unpin for InlineQueryResultArticle
impl UnsafeUnpin for InlineQueryResultArticle
impl UnwindSafe for InlineQueryResultArticle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more