From 554b7c338ad99512f4d148d3d6a2fae949642bbc Mon Sep 17 00:00:00 2001 From: gitGnome Date: Sun, 12 Apr 2026 22:36:00 +0200 Subject: [PATCH] add media attach to message --- type.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/type.go b/type.go index e7b8c99..be48e17 100644 --- a/type.go +++ b/type.go @@ -79,11 +79,12 @@ type ConnectionElevationData struct { } type Message struct { - Id uuid.UUID `json:"id"` - Content string `json:"content"` - CreatedAt time.Time `json:"createdAt"` - Sender uuid.UUID `json:"sender"` - Receiver uuid.UUID `json:"receiver"` + Id uuid.UUID `json:"id"` + AttachedMedia string `json:"attachedMedia"` + Content string `json:"content"` + CreatedAt time.Time `json:"createdAt"` + Sender uuid.UUID `json:"sender"` + Receiver uuid.UUID `json:"receiver"` } type LoginReturn struct {