diff --git a/src/webxdc.rs b/src/webxdc.rs index de786ea99..12d9abd6b 100644 --- a/src/webxdc.rs +++ b/src/webxdc.rs @@ -670,8 +670,10 @@ impl Message { Ok(archive) } - /// Return file form inside an archive. + /// Return file from inside an archive. /// Currently, this works only if the message is an webxdc instance. + /// + /// `name` is the filename within the archive, e.g. `index.html`. pub async fn get_webxdc_blob(&self, context: &Context, name: &str) -> Result> { ensure!(self.viewtype == Viewtype::Webxdc, "No webxdc instance.");