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