// WARNING: THIS CODE IS AUTOGENERATED.
// DO NOT EDIT!!!
use crate::types::InlineQueryResultCachedPhoto;
impl InlineQueryResultCachedPhoto {
/// This function creates an empty struct for the object InlineQueryResultCachedPhoto.
pub fn new() -> Self {
Self {
id: "".to_string(),
photo_file_id: "".to_string(),
title: None,
description: None,
caption: None,
parse_mode: None,
caption_entities: None,
reply_markup: None,
input_message_content: None,
}
}
}
impl Default for InlineQueryResultCachedPhoto {
fn default() -> Self {
Self::new()
}
}