diff --git a/src/api_data/advanced_group_api.rs b/src/api_data/advanced_group_api.rs index 96cfad9..ed43a18 100644 --- a/src/api_data/advanced_group_api.rs +++ b/src/api_data/advanced_group_api.rs @@ -15,6 +15,7 @@ pub struct AdvancedGroupApi { #[serde(flatten)] base_info: GroupApi, + is_members_list_public: bool, time_create: u64, description: String, url: String, @@ -27,6 +28,7 @@ impl AdvancedGroupApi { pub fn new(g: &Group, user_id: Option) -> ResultBoxError { Ok(AdvancedGroupApi { base_info: GroupApi::new(g, user_id.clone())?, + is_members_list_public: g.is_members_list_public, time_create: g.time_create, description: g.description.clone().unwrap_or("null".to_string()), url: g.url.clone().unwrap_or("null".to_string()),