mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-01-05 18:38:51 +00:00
16 lines
376 B
Rust
16 lines
376 B
Rust
//! # Conversation message
|
|
//!
|
|
//! Information about a single conversation message
|
|
|
|
use crate::data::user::UserID;
|
|
|
|
/// Information about a single conversation message
|
|
#[derive(Debug)]
|
|
pub struct ConversationMessage {
|
|
pub id: u64,
|
|
pub time_sent: u64,
|
|
pub conv_id: u64,
|
|
pub user_id: UserID,
|
|
pub message: Option<String>,
|
|
pub image_path: Option<String>,
|
|
} |