mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 09:49:07 +01:00
Add InlineQueryResultCachedAudio
This commit is contained in:
parent
9a22f025dd
commit
0426a15017
1 changed files with 14 additions and 0 deletions
14
src/core/types/inline_query_result_cached_audio.rs
Normal file
14
src/core/types/inline_query_result_cached_audio.rs
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
use super::inline_keyboard_markup::InlineKeyboardMarkup;
|
||||||
|
use super::input_message_content::InputMessageContent;
|
||||||
|
|
||||||
|
#[derive(Debug, Deserialize, Clone, PartialEq)]
|
||||||
|
pub struct InlineQueryResultCachedAudio {
|
||||||
|
#[serde(rename = "type")]
|
||||||
|
pub query_type: String,
|
||||||
|
pub id: String,
|
||||||
|
pub audio_file_id: 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