mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Add InlineQueryResultMpeg4Gif
This commit is contained in:
parent
2ef4c6a0e6
commit
1762ebe2c0
1 changed files with 19 additions and 0 deletions
19
src/core/types/inline_query_result_mpeg4_gif.rs
Normal file
19
src/core/types/inline_query_result_mpeg4_gif.rs
Normal file
|
@ -0,0 +1,19 @@
|
|||
use super::inline_keyboard_markup::InlineKeyboardMarkup;
|
||||
use super::input_message_content::InputMessageContent;
|
||||
|
||||
#[derive(Debug, Deserialize, Clone, PartialEq)]
|
||||
pub struct InlineQueryResultMpeg4Gif {
|
||||
#[serde(rename = "type")]
|
||||
pub query_type: String,
|
||||
pub id: String,
|
||||
pub mpeg4_url: String,
|
||||
pub mpeg4_width: Option<i32>,
|
||||
pub mpeg4_height: Option<i32>,
|
||||
pub mpeg4_duration: Option<i32>,
|
||||
pub thumb_url: String,
|
||||
pub title: Option<String>,
|
||||
pub caption: Option<String>,
|
||||
pub parse_mode: Option<String>,
|
||||
pub reply_markup: Option<InlineKeyboardMarkup>,
|
||||
pub input_message_content: Option<InputMessageContent>,
|
||||
}
|
Loading…
Reference in a new issue