23 lines
419 B
Rust
23 lines
419 B
Rust
pub mod reference;
|
|
pub use reference::*;
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub struct ChatAuthor {
|
|
pub reference: ChatReference,
|
|
pub display_name: String,
|
|
pub display_color: Option<[u8; 3]>,
|
|
}
|
|
|
|
mod content;
|
|
pub use content::*;
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub struct ChatMessage {
|
|
pub origin: ChatReference,
|
|
pub author: ChatAuthor,
|
|
pub content: ChatMessageContent,
|
|
// TODO: Attachments
|
|
}
|
|
|
|
pub mod event;
|