1
2
3
4
5
6
7
8
/// message boardcast to all servers
/// hosting the room
pub struct BroadCastEvent {
    pub server_id: String,
    pub event_id: String,
    pub previous_event_id: Option<String>,
    pub event_body: serde_json::Value,
}