mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Add InlineQueryResultCachedDocument
This commit is contained in:
parent
7c9eb4e803
commit
45ac70ecd9
1 changed files with 16 additions and 0 deletions
16
src/core/types/inline_query_result_cached_document.rs
Normal file
16
src/core/types/inline_query_result_cached_document.rs
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
use super::inline_keyboard_markup::InlineKeyboardMarkup;
|
||||||
|
use super::input_message_content::InputMessageContent;
|
||||||
|
|
||||||
|
#[derive(Debug, Deserialize, Clone, PartialEq)]
|
||||||
|
pub struct InlineQueryResultCachedDocument {
|
||||||
|
#[serde(rename = "type")]
|
||||||
|
pub query_type: String,
|
||||||
|
pub id: String,
|
||||||
|
pub title: String,
|
||||||
|
pub document_file_id: String,
|
||||||
|
pub description: 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