fix(media): failed to store the media to /data/media and add image part

This commit is contained in:
Acbox
2026-04-13 12:58:08 +08:00
parent d46269de89
commit 26b01cc463
10 changed files with 507 additions and 7 deletions
+2
View File
@@ -45,6 +45,8 @@ type Attachment struct {
AltText string `json:"alt_text,omitempty"`
// FilePath is the workspace path where the attachment is stored.
FilePath string `json:"file_path,omitempty"`
// ContentHash is the media-store content hash for persisted attachments.
ContentHash string `json:"content_hash,omitempty"`
}
// ForwardInfo describes a forwarded message origin.