Files
History_Api/internal/dtos/response/chatbot.go
AzenKain 600246426b
All checks were successful
Build and Release / release (push) Successful in 1m30s
feat: implement chat and conversation history management with database schema and API endpoints
2026-05-08 21:03:26 +07:00

19 lines
427 B
Go

package response
import (
"time"
)
type ChatbotHistoryDto struct {
ID string `json:"id"`
UserID string `json:"user_id"`
Question string `json:"question"`
Answer string `json:"answer"`
CreatedAt *time.Time `json:"created_at,omitempty"`
}
type GetChatbotHistoryResponse struct {
Items []*ChatbotHistoryDto `json:"items"`
PreCursor string `json:"pre_cursor,omitempty"`
}