feat: add call event (#873)

Signed-off-by: Zomatree <me@zomatree.live>
This commit is contained in:
Zomatree
2026-07-30 23:02:04 +01:00
committed by GitHub
parent d5ca4a0fd6
commit 457c7709c7
2 changed files with 86 additions and 17 deletions

View File

@@ -1,3 +1,4 @@
use iso8601_timestamp::Timestamp;
use revolt_result::Error;
use serde::{Deserialize, Serialize};
@@ -373,6 +374,12 @@ pub enum EventV1 {
UserSlowmodes {
slowmodes: Vec<ChannelSlowmode>,
},
VoiceCallUpdate {
initiator_id: String,
channel_id: String,
started_at: Option<Timestamp>,
ended: bool,
}
}
impl EventV1 {