diff --git a/src/Fetch/Attachment.php b/src/Fetch/Attachment.php index 706250f..3e6c8c3 100644 --- a/src/Fetch/Attachment.php +++ b/src/Fetch/Attachment.php @@ -158,6 +158,16 @@ class Attachment return $this->size; } + /** + * This function returns the object that contains the structure of this attachment. + * + * @return \stdClass + */ + public function getStructure() + { + return $this->structure; + } + /** * This function saves the attachment to the passed directory, keeping the original name of the file. *