mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-21 00:45:18 +00:00
Can open new conversations
This commit is contained in:
15
src/data/conversation_message.rs
Normal file
15
src/data/conversation_message.rs
Normal file
@ -0,0 +1,15 @@
|
||||
//! # Conversation message
|
||||
//!
|
||||
//! Information about a single conversation message
|
||||
|
||||
use crate::data::user::UserID;
|
||||
|
||||
/// Information about a single conversation message
|
||||
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>,
|
||||
}
|
@ -8,4 +8,5 @@ pub mod user;
|
||||
pub mod user_token;
|
||||
pub mod custom_emoji;
|
||||
pub mod new_conversation;
|
||||
pub mod conversation;
|
||||
pub mod conversation;
|
||||
pub mod conversation_message;
|
Reference in New Issue
Block a user