1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-01-06 10:58:50 +00:00
comunicapiv3/src/data/conversation.rs

21 lines
433 B
Rust

//! # Conversation information
//!
//! @author Pierre Hubert
use crate::data::user::UserID;
pub type ConvID = u64;
#[derive(Debug, PartialEq, Eq)]
pub struct Conversation {
pub id: ConvID,
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,
}