conogram/entities/
story.rs

1use serde::{Deserialize, Serialize};
2
3use crate::entities::chat::Chat;
4
5/// This object represents a story.
6///
7/// API Reference: [link](https://core.telegram.org/bots/api/#story)
8#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
9pub struct Story {
10    /// Chat that posted the story
11    pub chat: Box<Chat>,
12
13    /// Unique identifier for the story in the chat
14    pub id: i64,
15}
16
17// Divider: all content below this line will be preserved after code regen