pub struct InputInlineQueryResultAnimatedMpeg4 {
pub id: String,
pub title: String,
pub thumbnail_url: String,
pub mpeg4_url: String,
pub mpeg4_duration: i32,
pub mpeg4_width: i32,
pub mpeg4_height: i32,
pub reply_markup: Option<ReplyMarkup>,
pub input_message_content: InputMessageContent,
}Expand description
Represents a link to an animated (i.e. without sound) H.264/MPEG-4 AVC video
Fields§
§id: StringUnique identifier of the query result
title: StringTitle of the result
thumbnail_url: StringURL of the static result thumbnail (JPEG or GIF), if it exists
mpeg4_url: StringThe URL of the MPEG4-file (file size must not exceed 1MB)
mpeg4_duration: i32Duration of the video, in seconds
mpeg4_width: i32Width of the video
mpeg4_height: i32Height of the video
reply_markup: Option<ReplyMarkup>The message reply markup. Must be of type replyMarkupInlineKeyboard or null
input_message_content: InputMessageContentThe content of the message to be sent. Must be one of the following types: InputMessageText, InputMessageAnimation, InputMessageLocation, InputMessageVenue or InputMessageContact
Trait Implementations§
Source§impl Clone for InputInlineQueryResultAnimatedMpeg4
impl Clone for InputInlineQueryResultAnimatedMpeg4
Source§fn clone(&self) -> InputInlineQueryResultAnimatedMpeg4
fn clone(&self) -> InputInlineQueryResultAnimatedMpeg4
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for InputInlineQueryResultAnimatedMpeg4
impl<'de> Deserialize<'de> for InputInlineQueryResultAnimatedMpeg4
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InputInlineQueryResultAnimatedMpeg4
impl RefUnwindSafe for InputInlineQueryResultAnimatedMpeg4
impl Send for InputInlineQueryResultAnimatedMpeg4
impl Sync for InputInlineQueryResultAnimatedMpeg4
impl Unpin for InputInlineQueryResultAnimatedMpeg4
impl UnwindSafe for InputInlineQueryResultAnimatedMpeg4
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more