forked from jmug/stoatchat
Re-write notifications system.
This commit is contained in:
10
src/notifications/events/message.rs
Normal file
10
src/notifications/events/message.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
pub struct Create {
|
||||
pub id: String,
|
||||
pub nonce: Option<String>,
|
||||
pub channel: String,
|
||||
pub author: String,
|
||||
pub content: String,
|
||||
}
|
||||
Reference in New Issue
Block a user