Closes #26 Reviewed-on: phoenix/textsender-models#34 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
21 lines
653 B
Go
21 lines
653 B
Go
package event
|
|
|
|
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 types.JSONB `json:"response"`
|
|
UserId uuid.UUID `json:"user_id,omitempty"`
|
|
ContactId *uuid.UUID `json:"contact_id,omitempty"`
|
|
MessageId *uuid.UUID `json:"message_id,omitempty"`
|
|
Status string `json:"status"`
|
|
Sent time.Time `json:"sent"`
|
|
}
|