1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-01-05 18:38:51 +00:00
comunicapiv3/src/data/conversation_message.rs

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>,
}