fix(api): accept attachment_ids in message DTO and validate cursor uuid

This commit is contained in:
2026-10-10 11:36:53 +03:00
parent 02daa062f8
commit a21b6a8ff2
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ import (
)
type CreateMessageRequest struct {
Text string `json:"text" binding:"required,min=1,max=4000"`
Text string `json:"text" binding:"required,min=1,max=4000"`
AttachmentIDs []string `json:"attachment_ids"`
}
type MessageResponse struct {