diff options
Diffstat (limited to 'broadcast/src/msg.rs')
-rw-r--r-- | broadcast/src/msg.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/broadcast/src/msg.rs b/broadcast/src/msg.rs index c252394..bbe83a4 100644 --- a/broadcast/src/msg.rs +++ b/broadcast/src/msg.rs @@ -11,7 +11,12 @@ pub enum BroadcastBody { Broadcast { msg_id: Option<MessageID>, message: BroadcastTarget, - path: Option<Vec<String>>, + }, + + #[serde(rename = "broadcast_batch")] + BroadcastBatch { + msg_id: Option<MessageID>, + messages: Vec<BroadcastTarget>, }, #[serde(rename = "broadcast_ok")] |