// WARNING: THIS CODE IS AUTOGENERATED.
// DO NOT EDIT!!!
#![allow(clippy::too_many_arguments, clippy::new_without_default)]
use crate::types::InlineQueryResultCachedVoice;
impl InlineQueryResultCachedVoice {
/// This function creates an empty struct for the object InlineQueryResultCachedVoice.
pub fn new(id: String, voice_file_id: String, title: String) -> Self {
Self {
id,
voice_file_id,
title,
caption: None,
parse_mode: None,
caption_entities: None,
reply_markup: None,
input_message_content: None,
}
}
}