ferrisgram/helpers/inline_query_result_cached_voice.rs
1// WARNING: THIS CODE IS AUTOGENERATED.
2// DO NOT EDIT!!!
3
4#![allow(clippy::too_many_arguments, clippy::new_without_default)]
5use crate::types::InlineQueryResultCachedVoice;
6
7impl InlineQueryResultCachedVoice {
8 /// This function creates an empty struct for the object InlineQueryResultCachedVoice.
9 pub fn new(id: String, voice_file_id: String, title: String) -> Self {
10 Self {
11 id,
12 voice_file_id,
13 title,
14 caption: None,
15 parse_mode: None,
16 caption_entities: None,
17 reply_markup: None,
18 input_message_content: None,
19 }
20 }
21}