mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-22 06:45:37 +01:00
Add InlineQueryResultVideo
This commit is contained in:
parent
1762ebe2c0
commit
4cf17a4b68
1 changed files with 21 additions and 0 deletions
21
src/core/types/inline_query_result_video.rs
Normal file
21
src/core/types/inline_query_result_video.rs
Normal 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>,
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue