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

19 lines
391 B
Rust
Raw Normal View History

//! # Conversation information
//!
//! @author Pierre Hubert
use crate::data::user::UserID;
#[derive(Debug)]
pub struct Conversation {
pub id: u64,
pub owner_id: UserID,
pub name: Option<String>,
pub members: Vec<UserID>,
pub can_everyone_add_members: bool,
pub last_active: u64,
pub time_create: u64,
pub following: bool,
pub saw_last_message: bool,
}