Struct telegram_bot_ars::types::InlineQueryResultMpeg4Gif
source · pub struct InlineQueryResultMpeg4Gif {
pub id: String,
pub mpeg4_url: String,
pub mpeg4_width: Option<i64>,
pub mpeg4_height: Option<i64>,
pub mpeg4_duration: Option<i64>,
pub thumb_url: String,
pub title: Option<String>,
pub caption: Option<String>,
pub parse_mode: Option<ParseMode>,
pub reply_markup: Option<InlineKeyboardMarkup>,
pub input_message_content: Option<InputMessageContent>,
}Fields§
§id: StringUnique identifier for this result, 1-64 Bytes
mpeg4_url: StringA valid URL for the MP4 file. File size must not exceed 1MB
mpeg4_width: Option<i64>Video width
mpeg4_height: Option<i64>Video height
mpeg4_duration: Option<i64>Video duration
thumb_url: StringUrl of the thumbnail (jpeg or gif) for the result
title: Option<String>Title of the result
caption: Option<String>§parse_mode: Option<ParseMode>Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
reply_markup: Option<InlineKeyboardMarkup>Inline keyboard attached to the message
input_message_content: Option<InputMessageContent>Content of the message to be sent
Trait Implementations§
source§impl Debug for InlineQueryResultMpeg4Gif
impl Debug for InlineQueryResultMpeg4Gif
source§impl From<InlineQueryResultMpeg4Gif> for InlineQueryResult
impl From<InlineQueryResultMpeg4Gif> for InlineQueryResult
source§fn from(mpeg4_gif: InlineQueryResultMpeg4Gif) -> InlineQueryResult
fn from(mpeg4_gif: InlineQueryResultMpeg4Gif) -> InlineQueryResult
Converts to this type from the input type.
source§impl Serialize for InlineQueryResultMpeg4Gif
impl Serialize for InlineQueryResultMpeg4Gif
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more