Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

feat(events): add ExactSendTime field to MessageAPISentPayload

Acho Arnold425098818220
diff --git a/api/pkg/events/message_api_sent_event.go b/api/pkg/events/message_api_sent_event.go
index 60a418b2..e86c911e 100644
--- a/api/pkg/events/message_api_sent_event.go
+++ b/api/pkg/events/message_api_sent_event.go
@@ -20,6 +20,7 @@ type MessageAPISentPayload struct {
MaxSendAttempts uint `json:"max_send_attempts"`
Contact string `json:"contact"`
ScheduledSendTime *time.Time `json:"scheduled_send_time"`
+ ExactSendTime bool `json:"exact_send_time"`
RequestReceivedAt time.Time `json:"request_received_at"`
Content string `json:"content"`
Attachments []string `json:"attachments"`