mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-01-07 11:22:36 +00:00
19 lines
391 B
Rust
19 lines
391 B
Rust
|
//! # 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,
|
||
|
}
|