Adding event module #13

Merged
phoenix merged 4 commits from event into v0.3.0-migrate 2026-05-30 15:56:13 -04:00
Showing only changes of commit d99aa2587a - Show all commits
+16
View File
@@ -0,0 +1,16 @@
use serde::{Deserialize, Serialize};
pub struct MessageEventResponse {
pub id: uuid::Uuid,
pub scheduledMessageEventId: uuid::Uuid,
// Json field
pub response: String,
pub userId: uuid::Uuid,
pub contact_id: uuid::Uuid,
pub message_id: uuid::Uuid,
pub status: string,
#[serde(with = "time::serde::rfc3339::option")]
pub sent: Option<time::OffsetDateTime>,
}