feat(attachments): add attachment metadata and message links

This commit is contained in:
kk10
2026-11-01 23:04:45 +03:00
parent 27af30c903
commit 0c772ebf40
8 changed files with 479 additions and 37 deletions
+6 -5
View File
@@ -7,9 +7,10 @@ import (
)
type Message struct {
ID uuid.UUID
ChatID uuid.UUID
SenderID uuid.UUID
Text string
CreatedAt time.Time
ID uuid.UUID
ChatID uuid.UUID
SenderID uuid.UUID
Text string
AttachmentIDs []uuid.UUID
CreatedAt time.Time
}