[−][src]Struct telebot::objects::InlineQueryResultCachedMpeg4Gif
Fields
kind: String
id: String
mpeg4_file_id: String
title: Option<String>
reply_markup: Option<InlineKeyboardMarkup>
input_message_content: Option<Box<dyn Serialize + Send>>
Methods
impl InlineQueryResultCachedMpeg4Gif
[src]
pub fn new(_mpeg4_file_id: String) -> InlineQueryResultCachedMpeg4Gif
[src]
pub fn title<S>(self, val: S) -> Self where
S: Into<String>,
[src]
S: Into<String>,
pub fn caption<S>(self, val: S) -> Self where
S: Into<String>,
[src]
S: Into<String>,
pub fn reply_markup<S>(self, val: S) -> Self where
S: Into<InlineKeyboardMarkup>,
[src]
S: Into<InlineKeyboardMarkup>,
pub fn input_message_content<S>(self, val: S) -> Self where
S: Into<Box<dyn Serialize + Send>>,
[src]
S: Into<Box<dyn Serialize + Send>>,
Trait Implementations
Auto Trait Implementations
impl Send for InlineQueryResultCachedMpeg4Gif
impl !Sync for InlineQueryResultCachedMpeg4Gif
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,