Added type for handling json types

This commit is contained in:
phoenix
2025-11-30 17:39:53 -05:00
parent 64c610597a
commit d5dae37aef
2 changed files with 45 additions and 1 deletions
+3 -1
View File
@@ -4,12 +4,14 @@ import (
"time"
"github.com/google/uuid"
"git.kundeng.us/phoenix/textsender-models/tx0/types"
)
type MessageEventResponse struct {
Id uuid.UUID `json:"id,omitempty"`
ScheduledMessageEventId uuid.UUID `json:"scheduled_message_event_id,omitempty"`
Response []byte `json:"response"`
Response types.JSONB `json:"response"`
UserId uuid.UUID `json:"user_id,omitempty"`
Sent time.Time `json:"sent"`
}