mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
fix(media): failed to store the media to /data/media and add image part
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user