Added type for handling json types
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user