Private
Public Access
1
0

attachments: Add a generated attachment conversation

This commit is contained in:
2024-04-07 21:06:03 -07:00
parent fa76c7eac1
commit a1349eff1b
7 changed files with 69 additions and 13 deletions

View File

@@ -1,8 +1,9 @@
package model
import (
"github.com/rs/zerolog"
"time"
"github.com/rs/zerolog"
)
type Message struct {
@@ -12,7 +13,8 @@ type Message struct {
Date Date `json:"date"`
// Map of attachment GUID to attachment metadata
Attachments *map[string]AttributionInfo `json:"attachmentMetadata,omitempty"` // Optional
AttachmentGUIDs []string `json:"fileTransferGUIDs,omitempty"`
AttachmentMetadata *map[string]AttributionInfo `json:"attachmentMetadata,omitempty"` // Optional
}
type AttributionInfo struct {