Add InlineQueryResultVideo

This commit is contained in:
Temirkhan Myrzamadi 2019-09-19 00:16:44 +06:00
parent 1762ebe2c0
commit 4cf17a4b68

View file

@ -0,0 +1,21 @@
use super::inline_keyboard_markup::InlineKeyboardMarkup;
use super::input_message_content::InputMessageContent;
#[derive(Debug, Deserialize, Clone, PartialEq)]
pub struct InlineQueryResultVideo {
#[serde(rename = "type")]
pub query_type: String,
pub id: String,
pub video_url: String,
pub mime_type: String,
pub thumb_url: String,
pub title: String,
pub caption: Option<String>,
pub parse_mode: Option<String>,
pub video_width: Option<i32>,
pub video_height: Option<i32>,
pub video_duration: Option<i32>,
pub description: Option<String>,
pub reply_markup: Option<InlineKeyboardMarkup>,
pub input_message_content: Option<InputMessageContent>,
}