[][src]Struct tg_botapi::types::InlineQueryResultArticle

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: Option<bool>,
    pub description: Option<String>,
    pub thumb_url: Option<String>,
    pub thumb_width: Option<i64>,
    pub thumb_height: Option<i64>,
}

Fields

id: Stringtitle: Stringinput_message_content: InputMessageContentreply_markup: Option<InlineKeyboardMarkup>url: Option<String>hide_url: Option<bool>description: Option<String>thumb_url: Option<String>thumb_width: Option<i64>thumb_height: Option<i64>

Methods

impl InlineQueryResultArticle[src]

pub fn new(
    id: impl Into<String>,
    title: impl Into<String>,
    content: impl Into<InputMessageContent>
) -> Self
[src]

Trait Implementations

impl From<InlineQueryResultArticle> for InlineQueryResult[src]

impl Clone for InlineQueryResultArticle[src]

impl Debug for InlineQueryResultArticle[src]

impl Serialize for InlineQueryResultArticle[src]

Auto Trait Implementations

Blanket Implementations

impl<'a, T> Captures<'a> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]