mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 08:25:16 +00:00
Get the list of unread conversations
This commit is contained in:
@ -10,4 +10,5 @@ pub mod custom_emoji;
|
||||
pub mod new_conversation;
|
||||
pub mod conversation;
|
||||
pub mod conversation_message;
|
||||
pub mod new_conversation_message;
|
||||
pub mod new_conversation_message;
|
||||
pub mod unread_conversation;
|
14
src/data/unread_conversation.rs
Normal file
14
src/data/unread_conversation.rs
Normal file
@ -0,0 +1,14 @@
|
||||
//! # Unread conversation
|
||||
//!
|
||||
//! @author Pierre Hubert
|
||||
|
||||
use crate::data::user::UserID;
|
||||
|
||||
/// Unread conversation information
|
||||
pub struct UnreadConversation {
|
||||
pub id: u64,
|
||||
pub name: Option<String>,
|
||||
pub last_active: u64,
|
||||
pub user_id: UserID,
|
||||
pub message: String,
|
||||
}
|
Reference in New Issue
Block a user