Выполнение lab4 на 4

This commit is contained in:
Daria0w0
2026-11-06 17:35:48 +03:00
parent 9197e151ba
commit 879463c947
89 changed files with 5551 additions and 108 deletions
+6 -5
View File
@@ -141,11 +141,12 @@ func (s *MemoryStore) CreateMessage(
}
message := model.Message{
ID: id,
ChatID: chatID,
SenderID: actorID,
Text: text,
CreatedAt: createdAt,
AttachmentIDs: []string{},
ID: id,
ChatID: chatID,
SenderID: actorID,
Text: text,
CreatedAt: createdAt,
}
s.messagesByChat[chatID] = append(history, message)