Made values of constant uppercase and changed type of field
This commit is contained in:
@@ -15,11 +15,11 @@ type MessageEventResponse struct {
|
||||
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"`
|
||||
Status string `json:"status"`
|
||||
Sent time.Time `json:"sent"`
|
||||
}
|
||||
|
||||
const (
|
||||
Message_Event_Response_Status_Instant = "Instant"
|
||||
Message_Event_Response_Status_Scheduled = "Scheduled"
|
||||
Message_Event_Response_Status_Instant = "INSTANT"
|
||||
Message_Event_Response_Status_Scheduled = "SCHEDULED"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user