+ if let Some(icon) = &self.icon {
+ let mut image = Image::new();
+ image.set_url(icon.to_owned());
+ group.set_icon(image.into_any_base()?);
+ }
+
+ if let Some(banner_url) = &self.banner {
+ let mut image = Image::new();
+ image.set_url(banner_url.to_owned());
+ group.set_image(image.into_any_base()?);
+ }
+