mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Add InlineQueryResultGif
This commit is contained in:
parent
da2ebc07c3
commit
2ef4c6a0e6
1 changed files with 19 additions and 0 deletions
19
src/core/types/inline_query_result_gif.rs
Normal file
19
src/core/types/inline_query_result_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 InlineQueryResultGif {
|
||||||
|
#[serde(rename = "type")]
|
||||||
|
pub query_type: String,
|
||||||
|
pub id: String,
|
||||||
|
pub gif_url: String,
|
||||||
|
pub gif_width: Option<i32>,
|
||||||
|
pub gif_height: Option<i32>,
|
||||||
|
pub gif_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