[][src]Struct tg_botapi::types::InlineQueryResultPhoto

pub struct InlineQueryResultPhoto {
    pub id: String,
    pub photo_url: String,
    pub thumb_url: String,
    pub photo_width: Option<i64>,
    pub photo_height: Option<i64>,
    pub title: Option<String>,
    pub description: Option<String>,
    pub caption: Option<String>,
    pub parse_mode: ParseMode,
    pub reply_markup: Option<InlineKeyboardMarkup>,
    pub input_message_content: Option<InputMessageContent>,
}

Fields

id: Stringphoto_url: Stringthumb_url: Stringphoto_width: Option<i64>photo_height: Option<i64>title: Option<String>description: Option<String>caption: Option<String>parse_mode: ParseModereply_markup: Option<InlineKeyboardMarkup>input_message_content: Option<InputMessageContent>

Trait Implementations

impl From<InlineQueryResultPhoto> for InlineQueryResult[src]

impl Clone for InlineQueryResultPhoto[src]

impl Debug for InlineQueryResultPhoto[src]

impl Serialize for InlineQueryResultPhoto[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]