1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-01-07 11:22:36 +00:00
comunicapiv3/src/data/conversation_message.rs

16 lines
376 B
Rust
Raw Normal View History

2020-06-18 12:15:17 +00:00
//! # Conversation message
//!
//! Information about a single conversation message
use crate::data::user::UserID;
/// Information about a single conversation message
#[derive(Debug)]
2020-06-18 12:15:17 +00:00
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>,
}