summaryrefslogtreecommitdiffstats
path: root/src/entities/attachment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/attachment.rs')
-rw-r--r--src/entities/attachment.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/attachment.rs b/src/entities/attachment.rs
index 3a93440..2115b9f 100644
--- a/src/entities/attachment.rs
+++ b/src/entities/attachment.rs
@@ -11,7 +11,7 @@ pub struct Attachment {
#[serde(rename = "type")]
pub media_type: MediaType,
/// URL of the locally hosted version of the image.
- pub url: String,
+ pub url: Option<String>,
/// For remote images, the remote URL of the original image.
pub remote_url: Option<String>,
/// URL of the preview image.