essences/notifications.rs
1use crate::prelude::*;
2
3#[derive(Serialize, Deserialize, Default, Debug, Clone)]
4pub struct Notification {
5 pub id: i64,
6 pub text: String,
7}
8
9pub struct NotificationCharacter {
10 pub notification_id: i64,
11 pub character_id: uuid::Uuid,
12 pub delivered: bool,
13 pub delivered_ts: Option<chrono::DateTime<chrono::Utc>>,
14 pub tg_message_id: Option<i64>,
15}