Struct telegram_typings::InlineQueryResultArticle
[−]
[src]
pub struct InlineQueryResultArticle { pub type_tl: String, pub id: String, pub title: String, pub input_message_content: Box<InputMessageContent>, pub reply_markup: Option<Box<InlineKeyboardMarkup>>, pub url: Option<String>, pub hide_url: Option<bool>, pub description: Option<String>, pub thumb_url: Option<String>, pub thumb_width: Option<i64>, pub thumb_height: Option<i64>, }
Represents a link to an article or web page.
Fields
type_tl: String
Type of the result, must be article
id: String
Unique identifier for this result, 1-64 Bytes
title: String
Title of the result
input_message_content: Box<InputMessageContent>
Content of the message to be sent
reply_markup: Option<Box<InlineKeyboardMarkup>>
Inline keyboard attached to the message See https://core.telegram.org/bots/api/bots#inline-keyboards-and-on-the-fly-updating
url: Option<String>
URL of the result
hide_url: Option<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<i64>
Thumbnail width
thumb_height: Option<i64>
Thumbnail height
Trait Implementations
impl Debug for InlineQueryResultArticle
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for InlineQueryResultArticle
[src]
fn clone(&self) -> InlineQueryResultArticle
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more