[−][src]Struct telebot::objects::InlineQueryResultArticle
Fields
kind: String
id: String
title: String
input_message_content: Box<dyn Serialize + Send>
reply_markup: Option<InlineKeyboardMarkup>
url: Option<String>
hide_url: Option<Boolean>
description: Option<String>
thumb_url: Option<String>
thumb_width: Option<Integer>
thumb_height: Option<Integer>
Methods
impl InlineQueryResultArticle
[src]
pub fn new(
_title: String,
_input_message_content: Box<dyn Serialize + Send>
) -> InlineQueryResultArticle
[src]
_title: String,
_input_message_content: Box<dyn Serialize + Send>
) -> InlineQueryResultArticle
pub fn reply_markup<S>(self, val: S) -> Self where
S: Into<InlineKeyboardMarkup>,
[src]
S: Into<InlineKeyboardMarkup>,
pub fn url<S>(self, val: S) -> Self where
S: Into<String>,
[src]
S: Into<String>,
pub fn hide_url<S>(self, val: S) -> Self where
S: Into<Boolean>,
[src]
S: Into<Boolean>,
pub fn description<S>(self, val: S) -> Self where
S: Into<String>,
[src]
S: Into<String>,
pub fn thumb_url<S>(self, val: S) -> Self where
S: Into<String>,
[src]
S: Into<String>,
pub fn thumb_width<S>(self, val: S) -> Self where
S: Into<Integer>,
[src]
S: Into<Integer>,
pub fn thumb_height<S>(self, val: S) -> Self where
S: Into<Integer>,
[src]
S: Into<Integer>,
Trait Implementations
impl Serialize for InlineQueryResultArticle
[src]
Auto Trait Implementations
impl Send for InlineQueryResultArticle
impl !Sync for InlineQueryResultArticle
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,