use crate::types::{InlineKeyboardMarkup, InputMessageContent, ParseMode};
/// Represents a link to a video file stored on the Telegram servers. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the video.
#[derive(Debug, Serialize, Setters, New)]
#[new(vis = "pub")]
#[set(vis = "pub")]
pub struct InlineQueryResultCachedVideo {
/// Type of the result, must be video
#[serde(rename = "type")]
pub(crate) type_: String,
/// Unique identifier for this result, 1-64 bytes
pub(crate) id: String,
/// A valid file identifier for the video file
pub(crate) video_file_id: String,
/// Title for the result
pub(crate) title: String,
/// Short description of the result
#[serde(skip_serializing_if = "Option::is_none")]
pub(crate) description: Option<String>,
/// Caption of the video to be sent, 0-200 characters
#[serde(skip_serializing_if = "Option::is_none")]
pub(crate) caption: Option<String>,
/// Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
#[serde(skip_serializing_if = "Option::is_none")]
pub(crate) parse_mode: Option<ParseMode>,
/// Inline keyboard attached to the message
#[serde(skip_serializing_if = "Option::is_none")]
pub(crate) reply_markup: Option<InlineKeyboardMarkup>,
/// Content of the message to be sent instead of the video
#[serde(skip_serializing_if = "Option::is_none")]
pub(crate) input_message_content: Option<InputMessageContent>,
}