add media attach to message

This commit is contained in:
gitGnome
2026-04-12 22:36:00 +02:00
parent 1d9e9b7dab
commit 554b7c338a
+6 -5
View File
@@ -79,11 +79,12 @@ type ConnectionElevationData struct {
} }
type Message struct { type Message struct {
Id uuid.UUID `json:"id"` Id uuid.UUID `json:"id"`
Content string `json:"content"` AttachedMedia string `json:"attachedMedia"`
CreatedAt time.Time `json:"createdAt"` Content string `json:"content"`
Sender uuid.UUID `json:"sender"` CreatedAt time.Time `json:"createdAt"`
Receiver uuid.UUID `json:"receiver"` Sender uuid.UUID `json:"sender"`
Receiver uuid.UUID `json:"receiver"`
} }
type LoginReturn struct { type LoginReturn struct {