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 {