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