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