returned lab1

This commit is contained in:
Khakimov Dmitrij
2026-10-06 19:51:28 +03:00
parent 65003b6119
commit 47a3cd582d
44 changed files with 1863 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
package dto
import "time"
type CreateMessageRequest struct {
ChatID string `json:"-"`
Text string `json:"text"`
}
type CreateMessageResponse struct {
ID string `json:"id"`
ChatID string `json:"chat_id"`
SenderID string `json:"sender_id"`
Text string `json:"text"`
CreatedAt time.Time `json:"created_at"`
}