tsk-26: Put MessageEventResponse statuses in their own file (#34)
Closes #26 Reviewed-on: phoenix/textsender-models#34 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package message
|
||||
package event
|
||||
|
||||
import (
|
||||
"time"
|
||||
@@ -18,8 +18,3 @@ type MessageEventResponse struct {
|
||||
Status string `json:"status"`
|
||||
Sent time.Time `json:"sent"`
|
||||
}
|
||||
|
||||
const (
|
||||
Message_Event_Response_Status_Instant = "INSTANT"
|
||||
Message_Event_Response_Status_Scheduled = "SCHEDULED"
|
||||
)
|
||||
@@ -0,0 +1,6 @@
|
||||
package event
|
||||
|
||||
const (
|
||||
Message_Event_Response_Status_Instant = "INSTANT"
|
||||
Message_Event_Response_Status_Scheduled = "SCHEDULED"
|
||||
)
|
||||
Reference in New Issue
Block a user