pub struct InlineQueryResultCachedVideo {
pub id: String,
pub video_file_id: String,
pub title: String,
pub description: Option<String>,
pub caption: Option<String>,
pub parse_mode: Option<ParseMode>,
pub reply_markup: Option<InlineKeyboardMarkup>,
pub input_message_content: Option<InputMessageContent>,
}
Fields§
§id: String
Unique identifier for this result, 1-64 Bytes
video_file_id: String
A valid file identifier for the video
title: String
Title of the result
description: Option<String>
Short description of the result
Caption of the video to be sent, 0-1024 characters
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 InlineQueryResultCachedVideo
impl Debug for InlineQueryResultCachedVideo
source§impl From<InlineQueryResultCachedVideo> for InlineQueryResult
impl From<InlineQueryResultCachedVideo> for InlineQueryResult
source§fn from(video: InlineQueryResultCachedVideo) -> Self
fn from(video: InlineQueryResultCachedVideo) -> Self
Converts to this type from the input type.