Struct tdlib_types::types::InputInlineQueryResultArticle
source · 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
sourceimpl Clone for InputInlineQueryResultArticle
impl Clone for InputInlineQueryResultArticle
sourcefn clone(&self) -> InputInlineQueryResultArticle
fn clone(&self) -> InputInlineQueryResultArticle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InputInlineQueryResultArticle
impl Debug for InputInlineQueryResultArticle
sourceimpl<'de> Deserialize<'de> for InputInlineQueryResultArticle
impl<'de> Deserialize<'de> for InputInlineQueryResultArticle
sourcefn 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 RefUnwindSafe for InputInlineQueryResultArticle
impl Send for InputInlineQueryResultArticle
impl Sync for InputInlineQueryResultArticle
impl Unpin for InputInlineQueryResultArticle
impl UnwindSafe for InputInlineQueryResultArticle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more