1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-01-05 18:38:51 +00:00
comunicapiv3/src/data/conversation.rs

19 lines
406 B
Rust
Raw Normal View History

//! # Conversation information
//!
//! @author Pierre Hubert
use crate::data::user::UserID;
2020-07-13 09:44:37 +00:00
#[derive(Debug, PartialEq, Eq)]
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,
}