mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 16:35:17 +00:00
Can get the list of friends
This commit is contained in:
13
src/data/friend.rs
Normal file
13
src/data/friend.rs
Normal file
@ -0,0 +1,13 @@
|
||||
//! # Friend information
|
||||
//!
|
||||
//! @author Pierre Hubert
|
||||
|
||||
use crate::data::user::UserID;
|
||||
|
||||
pub struct Friend {
|
||||
pub friend_id: UserID,
|
||||
pub accepted: bool,
|
||||
pub following: bool,
|
||||
pub last_activity_time: u64,
|
||||
pub can_post_texts: bool,
|
||||
}
|
@ -16,4 +16,5 @@ pub mod group_id;
|
||||
pub mod group;
|
||||
pub mod new_group;
|
||||
pub mod group_member;
|
||||
pub mod global_search_result;
|
||||
pub mod global_search_result;
|
||||
pub mod friend;
|
Reference in New Issue
Block a user