use serde::{Deserialize, Serialize};
use crate::types::files::animation::Animation;
use crate::types::files::photo_size::PhotoSize;
use crate::types::message_entity::MessageEntity;
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[non_exhaustive]
pub struct Game {
pub title: String,
pub description: String,
pub photo: Vec<PhotoSize>,
#[serde(skip_serializing_if = "Option::is_none")]
pub text: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub text_entities: Option<Vec<MessageEntity>>,
#[serde(skip_serializing_if = "Option::is_none")]
pub animation: Option<Animation>,
}