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